/*
 * *************************************************
 * Copyright (C) 2026 DimSagara.                   *
 * Codeigniter 4 Template Modification             *
 * Please contact our email for more information : *
 * dim.sagara@horastasis.com                       *
 * *************************************************
 */
.btnWrapper {
    position: relative;
    max-width: 250px;
    min-width: 120px;
    overflow: hidden;
    top: 0;
    left: 0;
    display:block;
    margin: 0px auto;
}
.btnWrapper, .btnContent, .btnRipple {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.btnContent {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
}
.btnIcon,
.btnTitle {
    text-shadow: -1px 1px 2px #888888;
}
.btnTitle {
    width: 100%;
    text-align: center;
}
.btnRipple {
    position: absolute;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 0;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%); /* transform: [{translateX: -50,translateY: -50}], */
    -moz-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    display:flex;
    justify-content:center;
    align-items:center;
}
/* onclick transitions */
.btnWrapper:hover > .btnRipple,
.btnWrapper.disabled > .btnRipple {
    width: 300px;
    height: 300px;
    opacity: 1;
}
.btnWrapper.disabled,
.btnWrapper.disabled > .btnRipple {
    pointer-events: none;
}
.blog-section {
    position: relative;
    background-color: var(--light-gray);
}
.blog-background,
.blog-image::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}
.blog-background {
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: -1;
}
.blog-slider-container {
    position: relative;
    z-index: 1;
    margin: 2rem 0;
}
.blog-date,
.contact-form label {
    margin-bottom: 0.5rem;
}
.blog-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
}
.blog-slider::-webkit-scrollbar {
    display: none;
}
.blog-slide {
    flex: 0 0 calc(33.333% - 1.35rem);
    min-width: 300px;
}
.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.blog-image img {
    width:100%;
}
.blog-image::after {
    content: "";
    background: linear-gradient(
        135deg,
        rgba(179, 229, 252, 0.3) 0,
        rgba(0, 255, 0, 0.2) 100%
        );
}
.blog-date {
    font-size: 0.8rem;
    color: var(--neon-green);
    font-weight: 600;
}
.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-gray);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
}
.blog-link,
.blog-next,
.blog-prev {
    color: var(--neon-green);
    transition: var(--transition);
}
.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}
.blog-link:hover {
    gap: 0.75rem;
}
.blog-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.blog-next,
.blog-prev {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--neon-green);
    background: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-next:hover,
.blog-prev:hover {
    background: var(--neon-green);
    color: var(--white);
    transform: scale(1.1);
}
.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

.blog-slider {
    gap: 1.35rem;
    padding: 0.6rem 0 1rem;
}

.blog-slide {
    min-width: 320px;
}

.blog-card {
    border-radius: 28px;
}

.blog-image {
    height: 220px;
}

.blog-image::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(18, 58, 99, 0.18) 100%);
}

.blog-content {
    padding: 1.55rem;
}

.blog-date {
    color: var(--dark-blue);
    opacity: 0.72;
}

.blog-title {
    color: #132538;
}

.blog-excerpt {
    margin-bottom: 1.1rem;
    line-height: 1.8;
}

.blog-link {
    color: var(--dark-blue);
}

.blog-link:hover {
    text-decoration: none;
}

.blog-nav {
    gap: 0.8rem;
}

.blog-prev,
.blog-next {
    border-color: rgba(18, 58, 99, 0.12);
    color: var(--dark-blue);
    box-shadow: 0 10px 24px rgba(18, 58, 99, 0.08);
}

.blog-prev:hover,
.blog-next:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
}

.blog-card-horizontal {
    margin-bottom: 1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-card-horizontal .blog-image {
    width: 220px;
    min-width: 220px;
    object-fit: cover;
}

.blog-card-horizontal .blog-content {
    justify-content: center;
}

.blog-section .container {
    position:relative;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #132538;
}

.page-header span {
    display: block;
    width: 100%;
}
.pages-content {
    display: block;
    padding-top: 130px;
    padding-bottom: 2.5rem;
}
.page-info {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

.page-image {
    margin-bottom: 1.5rem;
}

.page-image img,
.page-description img {
    border-radius: 24px;
    border: 1px solid rgba(18, 58, 99, 0.08);
    box-shadow: var(--shadow-light);
    width:100%;
}

.page-head-description {
    margin-bottom: 1.35rem;
    color: var(--dark-blue);
    font-size: 1.12rem;
    font-weight: 600;
}

.page-description {
    color: var(--text-light);
    line-height: 1.95;
    background-color: var(--white);
    padding: 15px;
    border-radius:15px;
}

.page-description p {
    margin-bottom: 1.1rem;
}
@media (max-width: 767.98px) {
    .blog-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .blog-card-horizontal {
        flex-direction: column;
        height: auto;
    }

    .blog-card-horizontal .blog-image {
        width: 100%;
        min-width: 100%;
        height: 220px;
    }
}