/* =======================
   Blog Page Section Start
======================= */
.blog-page-section {
    position: relative;
    padding: 100px 0 60px;
    background:
        radial-gradient(circle at 50% 0%, rgba(38, 167, 255, 0.28) 0%, rgba(12, 104, 194, 0.18) 16%, rgba(5, 42, 96, 0.08) 28%, transparent 46%),
        linear-gradient(180deg, #010816 0%, #010917 100%);
    overflow: hidden;
}

.blog-page-top-glow {
    position: absolute;
    left: 50%;
    top: -180px;
    transform: translateX(-50%);
    width: 920px;
    height: 420px;
    background: radial-gradient(circle, rgba(47, 191, 255, 0.28) 0%, rgba(16, 108, 189, 0.16) 34%, transparent 68%);
    filter: blur(36px);
    pointer-events: none;
}

.blog-page-heading {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto 52px;
    text-align: center;
}

.blog-page-badge {
    width: fit-content;
    min-height: 38px;
    margin: 0 auto 24px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 500;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.blog-page-heading h1 {
    color: #fcfdff;
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 600;
    margin-bottom: 20px;
}

.blog-page-heading p {
    max-width: 760px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 18px;
    line-height: 1.72;
}

.blog-page-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    transition: transform 0.35s ease;
}

.blog-page-search.is-focused {
    transform: translateY(-1px);
}

.blog-page-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: rgba(20, 28, 40, 0.74);
    transition: color 0.3s ease;
    pointer-events: none;
}

.blog-page-search input {
    width: 100%;
    height: 58px;
    border: 1px solid transparent;
    outline: none;
    border-radius: 14px;
    background: #f4f4f5;
    color: #1a1f27;
    font-size: 16px;
    font-weight: 500;
    padding: 0 54px 0 50px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.blog-page-search input::placeholder {
    color: rgba(34, 40, 52, 0.32);
    transition: opacity 0.3s ease;
}

.blog-page-search.is-focused .blog-page-search-icon {
    color: #0b84f3;
}

.blog-page-search.is-focused input {
    border-color: rgba(11, 132, 243, 0.24);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.14),
        0 0 0 4px rgba(24, 160, 255, 0.08);
    background: #ffffff;
}

.blog-page-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) scale(0.86);
    width: 34px;
    height: 34px;
    border: none;
    outline: none;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 24, 40, 0.06);
    color: rgba(16, 24, 40, 0.68);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        background 0.28s ease,
        color 0.28s ease;
}

.blog-page-search-clear ion-icon {
    font-size: 18px;
}

.blog-page-search.has-value .blog-page-search-clear {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.blog-page-search-clear:hover {
    background: rgba(16, 24, 40, 0.1);
    color: #111827;
}

.blog-page-search-meta {
    margin-top: 14px;
    text-align: center;
    min-height: 22px;
}

.blog-page-search-meta span {
    color: rgba(255, 255, 255, 0.54);
    font-size: 14px;
    line-height: 1.5;
    transition: opacity 0.3s ease;
}

.blog-page-card.is-search-match {
    animation: blogCardPulse 0.45s ease;
}

@keyframes blogCardPulse {
    0% {
        transform: translateY(0) scale(0.985);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 767px) {
    .blog-page-search input {
        height: 50px;
        border-radius: 12px;
        font-size: 14px;
        padding: 0 48px 0 44px;
    }

    .blog-page-search-icon {
        left: 14px;
        font-size: 20px;
    }

    .blog-page-search-clear {
        right: 10px;
        width: 30px;
        height: 30px;
    }

    .blog-page-search-meta {
        margin-top: 12px;
    }

    .blog-page-search-meta span {
        font-size: 13px;
    }
}

.blog-page-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.blog-page-card {
    display: flex;
    flex-direction: column;
    min-height: 458px;
    padding: 16px 16px 20px;
    border-radius: 20px;
    border: 1px solid rgba(95, 133, 180, 0.24);
    background: linear-gradient(180deg, rgba(2, 15, 38, 0.88) 0%, rgba(1, 10, 25, 0.96) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 44px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.3s ease;
}

.blog-page-card:hover {
    transform: translateY(-6px);
    border-color: rgba(118, 180, 255, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 26px 56px rgba(0, 0, 0, 0.18);
}

.blog-page-card.is-hidden {
    display: none;
}

.blog-page-card-image-wrap {
    width: 100%;
    height: 248px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.blog-page-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.blog-page-card:hover .blog-page-card-image {
    transform: scale(1.05);
}

.blog-page-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blog-page-card-read {
    display: inline-block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
}

.blog-page-card-content h3 {
    color: #fdfefe;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.04em;
    font-weight: 500;
    margin-bottom: 12px;
}

.blog-page-card-content p {
    color: rgba(255, 255, 255, 0.42);
    font-size: 16px;
    line-height: 1.7;
}

.blog-page-empty {
    display: none;
    text-align: center;
    padding: 40px 0 0;
}

.blog-page-empty.active {
    display: block;
}

.blog-page-empty p {
    color: rgba(255, 255, 255, 0.56);
    font-size: 16px;
    line-height: 1.7;
}

.blog-page-action {
    position: relative;
    z-index: 2;
    margin-top: 42px;
    display: flex;
    justify-content: center;
}

.blog-page-load-btn {
    min-width: 128px;
    height: 46px;
    padding: 0 24px;
    border-radius: 10px;
    background: linear-gradient(180deg, #18a0ff 0%, #0782f2 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(8, 128, 244, 0.22);
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.3s ease;
}

.blog-page-load-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(8, 128, 244, 0.28);
}

.blog-page-load-btn.is-hidden {
    display: none;
}

@media (max-width: 1150px) {
    .blog-page-heading h1 {
        font-size: 58px;
    }

    .blog-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .blog-page-section {
        padding: 60px 0 70px;
    }

    .blog-page-heading {
        margin-bottom: 40px;
    }

    .blog-page-heading h1 {
        font-size: 46px;
    }

    .blog-page-heading p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .blog-page-search {
        max-width: 560px;
    }

    .blog-page-search input {
        height: 54px;
    }

    .blog-page-card {
        min-height: 430px;
    }

    .blog-page-card-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .blog-page-section {
        padding: 50px 0 60px;
    }

    .blog-page-badge {
        min-height: 34px;
        padding: 0 14px;
        margin-bottom: 18px;
        font-size: 12px;
    }

    .blog-page-heading {
        margin-bottom: 30px;
    }

    .blog-page-heading h1 {
        font-size: 34px;
        line-height: 1.12;
        margin-bottom: 14px;
    }

    .blog-page-heading p {
        font-size: 14px;
        line-height: 1.72;
        margin-bottom: 22px;
    }

    .blog-page-search {
        max-width: 100%;
    }

    .blog-page-search ion-icon {
        left: 14px;
        font-size: 20px;
    }

    .blog-page-search input {
        height: 50px;
        border-radius: 12px;
        font-size: 14px;
        padding-left: 44px;
    }

    .blog-page-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-page-card {
        min-height: auto;
        padding: 14px 14px 18px;
        border-radius: 18px;
    }

    .blog-page-card-image-wrap {
        height: 220px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .blog-page-card-read {
        margin-bottom: 10px;
        font-size: 13px;
    }

    .blog-page-card-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .blog-page-card-content p {
        font-size: 14px;
        line-height: 1.72;
    }

    .blog-page-action {
        margin-top: 30px;
    }

    .blog-page-load-btn {
        min-width: 118px;
        height: 42px;
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .blog-page-heading h1 {
        font-size: 29px;
    }

    .blog-page-card-image-wrap {
        height: 190px;
    }

    .blog-page-card-content h3 {
        font-size: 18px;
    }

    .blog-page-card-content p {
        font-size: 13px;
    }
}

/* =======================
   Blog Page Section End
======================= */



/* =======================
   Blog Details Section Start
======================= */
.blog-details-section {
    position: relative;
    padding: 100px 0 60px;
    background:
        radial-gradient(circle at 50% 0%, rgba(38, 167, 255, 0.24) 0%, rgba(12, 104, 194, 0.14) 16%, rgba(5, 42, 96, 0.08) 28%, transparent 46%),
        linear-gradient(180deg, #010816 0%, #010917 100%);
    overflow: hidden;
}

.blog-details-top-glow {
    position: absolute;
    left: 50%;
    top: -160px;
    transform: translateX(-50%);
    width: 860px;
    height: 360px;
    background: radial-gradient(circle, rgba(47, 191, 255, 0.24) 0%, rgba(16, 108, 189, 0.12) 34%, transparent 70%);
    filter: blur(34px);
    pointer-events: none;
}

.blog-details-wrap {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.blog-details-head {
    margin-bottom: 28px;
}

.blog-details-head h1 {
    color: #fcfdff;
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 600;
    margin-bottom: 20px;
    max-width: 650px;
}

.blog-details-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.blog-details-meta span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

.blog-details-meta-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.18);
}

.blog-details-image-wrap {
    width: 100%;
    height: 470px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 34px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.blog-details-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-details-content {
    color: rgba(255, 255, 255, 0.46);
    font-size: 18px;
    line-height: 1.85;
}

.blog-details-content h2 {
    color: #fcfdff;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 18px;
}

.blog-details-content h3 {
    color: #fcfdff;
    font-size: 25px;
    line-height: 1.22;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin: 34px 0 16px;
}

.blog-details-content p {
    margin-bottom: 18px;
}

.blog-details-content ul {
    padding-left: 22px;
    margin: 0 0 20px;
    list-style: disc;
}

.blog-details-content li {
    margin-bottom: 8px;
}

.blog-details-content blockquote {
    margin: 26px 0;
    padding: 0 0 0 18px;
    border-left: 3px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 19px;
    line-height: 1.7;
    font-style: italic;
    font-weight: 600;
}

.blog-details-content hr {
    margin: 56px 0 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =======================
   Related Posts Section Start
======================= */
.related-posts-section {
    position: relative;
    padding: 60px 0 120px;
    background:
        radial-gradient(circle at center bottom, rgba(24, 143, 255, 0.08) 0%, rgba(12, 68, 146, 0.04) 18%, transparent 42%),
        linear-gradient(180deg, #010917 0%, #010816 100%);
    overflow: hidden;
}

.related-posts-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.related-posts-badge {
    width: fit-content;
    min-height: 38px;
    margin: 0 auto 22px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 500;
}

.related-posts-heading h2 {
    color: #fcfdff;
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 600;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.related-post-card {
    display: flex;
    flex-direction: column;
    min-height: 380px;
    padding: 14px 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(95, 133, 180, 0.24);
    background: linear-gradient(180deg, rgba(2, 15, 38, 0.88) 0%, rgba(1, 10, 25, 0.96) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 44px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(118, 180, 255, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 26px 56px rgba(0, 0, 0, 0.18);
}

.related-post-image-wrap {
    width: 100%;
    height: 168px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
}

.related-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.related-post-card:hover .related-post-image {
    transform: scale(1.05);
}

.related-post-read {
    display: inline-block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 500;
}

.related-post-card h3 {
    color: #fdfefe;
    font-size: 22px;
    line-height: 1.32;
    letter-spacing: -0.04em;
    font-weight: 500;
    margin-bottom: 10px;
}

.related-post-card p {
    color: rgba(255, 255, 255, 0.42);
    font-size: 16px;
    line-height: 1.68;
}

/* =======================
   Scroll Reveal Animation
======================= */
.reveal-up {
    opacity: 0;
    transform: translateY(42px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

.reveal-delay-4 {
    transition-delay: 0.32s;
}

/* =======================
   Blog Details Load Animation
======================= */
.blog-load-animate {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
    will-change: opacity, transform;
}

.blog-load-animate.blog-load-active {
    opacity: 1;
    transform: translateY(0);
}

.blog-load-delay-1 {
    transition-delay: 0.08s;
}

.blog-load-delay-2 {
    transition-delay: 0.18s;
}

.blog-load-delay-3 {
    transition-delay: 0.28s;
}

/* =======================
   Responsive
======================= */
@media (max-width: 1150px) {
    .blog-details-head h1 {
        font-size: 54px;
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .blog-details-section {
        padding: 60px 0 56px;
    }

    .blog-details-head h1 {
        font-size: 44px;
        max-width: 100%;
    }

    .blog-details-meta span {
        font-size: 15px;
    }

    .blog-details-image-wrap {
        height: 390px;
    }

    .blog-details-content {
        font-size: 16px;
    }

    .blog-details-content h2 {
        font-size: 30px;
    }

    .blog-details-content h3 {
        font-size: 23px;
    }

    .related-posts-section {
        padding: 56px 0 70px;
    }

    .related-posts-heading h2 {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    .blog-details-section {
        padding: 50px 0 44px;
    }

    .blog-details-head {
        margin-bottom: 20px;
    }

    .blog-details-head h1 {
        font-size: 34px;
        line-height: 1.1;
        margin-bottom: 14px;
    }

    .blog-details-meta {
        gap: 10px;
    }

    .blog-details-meta span {
        font-size: 13px;
    }

    .blog-details-meta-divider {
        height: 14px;
    }

    .blog-details-image-wrap {
        height: 240px;
        border-radius: 14px;
        margin-bottom: 24px;
    }

    .blog-details-content {
        font-size: 14px;
        line-height: 1.78;
    }

    .blog-details-content h2 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .blog-details-content h3 {
        font-size: 20px;
        margin: 28px 0 12px;
    }

    .blog-details-content blockquote {
        font-size: 16px;
        padding-left: 14px;
    }

    .related-posts-section {
        padding: 48px 0 56px;
    }

    .related-posts-badge {
        min-height: 34px;
        padding: 0 14px;
        margin-bottom: 18px;
        font-size: 12px;
    }

    .related-posts-heading {
        margin-bottom: 26px;
    }

    .related-posts-heading h2 {
        font-size: 32px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .related-post-card {
        min-height: auto;
    }

    .related-post-image-wrap {
        height: 190px;
    }

    .related-post-card h3 {
        font-size: 20px;
    }

    .related-post-card p {
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .blog-details-head h1 {
        font-size: 29px;
    }

    .blog-details-image-wrap {
        height: 200px;
    }

    .blog-details-content h2 {
        font-size: 22px;
    }

    .blog-details-content h3 {
        font-size: 18px;
    }

    .related-posts-heading h2 {
        font-size: 28px;
    }

    .related-post-image-wrap {
        height: 170px;
    }

    .related-post-card h3 {
        font-size: 18px;
    }

    .related-post-card p {
        font-size: 13px;
    }
}

/* =======================
   Blog Details + Related Posts End
======================= */