/* =========================================================
   MAIN BLOGS PAGE
========================================================= */


/* =========================================================
   BLOG HERO — DARK GREEN THEME
========================================================= */

.blogs-page-hero {

    position: relative;

    padding: 90px 0 100px;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(32, 189, 103, 0.15),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(69, 245, 143, 0.06),
            transparent 28%
        ),
        #07130e;

    overflow: hidden;

}


/* FUTURISTIC GRID */

.blogs-page-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 95%
        );

    pointer-events: none;

}


/* AMBIENT GREEN GLOW */

.blogs-page-hero::after {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    border-radius: 50%;

    background: rgba(32, 189, 103, 0.10);

    filter: blur(90px);

    top: -180px;

    right: -130px;

    pointer-events: none;

}


.blogs-page-hero .container {

    position: relative;

    z-index: 2;

}


/* =========================================================
   HERO LABEL
========================================================= */

.blogs-hero-label {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 14px;

    border: 1px solid rgba(69,245,143,0.15);

    border-radius: 50px;

    background: rgba(69,245,143,0.06);

    color: #45f58f;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 22px;

}


.blogs-hero-label i {

    color: #45f58f;

    filter:
        drop-shadow(
            0 0 7px rgba(69,245,143,0.7)
        );

}


/* =========================================================
   HERO HEADING
========================================================= */

.blogs-page-hero h1 {

    max-width: 700px;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.05;

    font-weight: 750;

    letter-spacing: -2.5px;

    color: #ffffff;

    margin-bottom: 25px;

}


.blogs-page-hero h1 span {

    display: inline-block;

    background:
        linear-gradient(
            90deg,
            #45f58f,
            #20bd67
        );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.blogs-hero-description {

    max-width: 620px;

    color: #8c9d94;

    font-size: 16px;

    line-height: 1.85;

    margin-bottom: 35px;

}


/* =========================================================
   HERO STATS
========================================================= */

.blogs-hero-stats {

    display: flex;

    align-items: center;

    gap: 28px;

}


.hero-stat {

    display: flex;

    align-items: center;

    gap: 12px;

}


.hero-stat strong {

    font-size: 28px;

    font-weight: 800;

    color: #45f58f;

    line-height: 1;

}


.hero-stat span {

    font-size: 10px;

    line-height: 1.45;

    font-weight: 600;

    color: #82928a;

    text-transform: uppercase;

    letter-spacing: .5px;

}


.hero-stat-divider {

    width: 1px;

    height: 42px;

    background: rgba(255,255,255,0.12);

}


/* =========================================================
   HERO VISUAL
========================================================= */

.blogs-hero-visual {

    min-height: 440px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* =========================================================
   BATTERY CIRCLE
========================================================= */

.hero-battery-circle {

    width: 270px;

    height: 270px;

    border-radius: 50%;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle,
            rgba(69,245,143,0.10),
            rgba(7,19,14,0.96) 68%
        );

    border: 1px solid rgba(69,245,143,0.22);

    box-shadow:
        0 0 80px rgba(32,189,103,0.12),
        inset 0 0 50px rgba(69,245,143,0.04);

}


/* INNER ORBIT */

.hero-battery-circle::before {

    content: "";

    position: absolute;

    inset: 20px;

    border: 1px dashed rgba(69,245,143,0.28);

    border-radius: 50%;

    animation:
        blogOrbit 18s linear infinite;

}


/* OUTER RING */

.hero-battery-circle::after {

    content: "";

    position: absolute;

    inset: -25px;

    border: 1px solid rgba(69,245,143,0.07);

    border-radius: 50%;

}


@keyframes blogOrbit {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


.hero-battery-circle i {

    position: relative;

    z-index: 2;

    font-size: 95px;

    color: #45f58f;

    filter:
        drop-shadow(
            0 0 20px rgba(69,245,143,0.45)
        );

}


/* =========================================================
   FLOATING CARDS
========================================================= */

.floating-blog-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 16px;

    min-width: 170px;

    background:
        rgba(10,28,20,0.88);

    border: 1px solid rgba(69,245,143,0.14);

    border-radius: 12px;

    box-shadow:
        0 20px 45px rgba(0,0,0,0.35);

    backdrop-filter: blur(12px);

    transition: .3s ease;

}


.floating-blog-card:hover {

    border-color: rgba(69,245,143,0.35);

    transform: translateY(-5px);

}


.floating-blog-card i {

    width: 38px;

    height: 38px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background:
        rgba(69,245,143,0.08);

    color: #45f58f;

}


.floating-blog-card strong {

    display: block;

    color: #ffffff;

    font-size: 12px;

}


.floating-blog-card small {

    display: block;

    color: #73867c;

    font-size: 9px;

    margin-top: 3px;

}


/* =========================================================
   FLOATING ANIMATION
========================================================= */

.floating-card-one {

    top: 45px;

    left: 0;

    animation:
        blogFloatOne 4s ease-in-out infinite;

}


.floating-card-two {

    right: -5px;

    top: 135px;

    animation:
        blogFloatTwo 4.5s ease-in-out infinite;

}


.floating-card-three {

    bottom: 35px;

    left: 20px;

    animation:
        blogFloatThree 5s ease-in-out infinite;

}


@keyframes blogFloatOne {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


@keyframes blogFloatTwo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }

}


@keyframes blogFloatThree {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .blogs-page-hero {

        padding: 70px 0 80px;

    }

    .blogs-page-hero h1 {

        text-align: center;

        margin-left: auto;
        margin-right: auto;

    }

    .blogs-hero-label {

        display: flex;

        width: fit-content;

        margin-left: auto;
        margin-right: auto;

    }

    .blogs-hero-description {

        margin-left: auto;
        margin-right: auto;

        text-align: center;

    }

    .blogs-hero-stats {

        justify-content: center;

    }

    .blogs-hero-visual {

        min-height: 430px;

        margin-top: 10px;

    }

}


@media (max-width: 576px) {

    .blogs-page-hero {

        padding: 55px 0 60px;

    }

    .blogs-page-hero h1 {

        font-size: 42px;

        letter-spacing: -1.5px;

    }

    .blogs-hero-description {

        font-size: 14px;

    }

    .blogs-hero-stats {

        gap: 15px;

    }

    .hero-stat {

        gap: 7px;

    }

    .hero-stat strong {

        font-size: 21px;

    }

    .hero-stat span {

        font-size: 8px;

    }

    .hero-stat-divider {

        height: 32px;

    }

    .blogs-hero-visual {

        min-height: 370px;

    }

    .hero-battery-circle {

        width: 220px;

        height: 220px;

    }

    .hero-battery-circle i {

        font-size: 75px;

    }

    .floating-blog-card {

        min-width: 145px;

        padding: 9px 11px;

    }

    .floating-blog-card i {

        width: 32px;

        height: 32px;

        font-size: 13px;

    }

    .floating-blog-card strong {

        font-size: 10px;

    }

    .floating-blog-card small {

        font-size: 8px;

    }

    .floating-card-one {

        top: 25px;

        left: -5px;

    }

    .floating-card-two {

        right: -5px;

        top: 110px;

    }

    .floating-card-three {

        bottom: 15px;

        left: 0;

    }

}



/* =========================================================
   INTRO
========================================================= */

.blogs-intro-section {
    padding: 32px 0 60px;
    background: #fff;
}


.section-mini-label {
    display: inline-block;
    color: var(--color-brand-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}


.blogs-intro-section h2,
.blogs-explore-section h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin-bottom: 22px;
}


.blogs-intro-section h2 strong,
.blogs-explore-section h2 strong {
    color: var(--color-brand-light);
}


.blogs-intro-section p {
    color: #6b6b6b;
    line-height: 1.85;
    font-size: 16px;
    margin-bottom: 12px;
}



/* =========================================================
   CATEGORY NAVIGATION
========================================================= */

.blogs-category-section {
    padding: 0 0 60px 0;
}


.blogs-category-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background: #f7f9fa;
    border: 1px solid #eee;
    border-radius: 15px;
}


.blog-category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 9px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}


.blog-category-link:hover,
.blog-category-link.active {
    background: var(--color-brand-light);
    color: #fff;
}



/* =========================================================
   BLOG LIST
========================================================= */

.blogs-list-section {
    padding: 20px 0 80px;
}


.detailed-blog-item {
    position: relative;
    padding: 90px 0;
    border-bottom: 1px solid #e9e9e9;
}


.detailed-blog-item:first-child {
    padding-top: 45px;
}


.detailed-blog-content {
    position: relative;
    padding: 15px 20px;
}


.blog-number {
    position: absolute;
    top: -35px;
    left: 0;
    font-size: 80px;
    line-height: 1;
    font-weight: 900;
    color: rgba(0, 174, 239, 0.06);
    pointer-events: none;
}


.detailed-blog-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-brand-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}


.detailed-blog-content h2 {
    position: relative;
    z-index: 1;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.18;
    font-weight: 750;
    color: #111;
    margin-bottom: 22px;
}


.detailed-blog-description {
    font-size: 17px !important;
    color: #555 !important;
    font-weight: 500;
}


.detailed-blog-content p {
    font-size: 15px;
    line-height: 1.85;
    color: #777;
}


.detailed-blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin: 25px 0;
}


.detailed-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #777;
    font-size: 12px;
    font-weight: 600;
}


.detailed-blog-meta i {
    color: var(--color-brand-light);
}



/* =========================================================
   READ MORE
========================================================= */

.detailed-read-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #111;
    font-size: 14px;
    font-weight: 750;
    margin-top: 5px;
    transition: all 0.3s ease;
}


.detailed-read-more span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-brand-light);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}


.detailed-read-more:hover {
    color: var(--color-brand-light);
}


.detailed-read-more:hover span {
    transform: translateX(5px);
}



/* =========================================================
   BLOG IMAGE
========================================================= */

.detailed-blog-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 16 / 10;
    background: #eef8fc;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.09);
}


.detailed-blog-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.3),
        transparent 45%
    );
    pointer-events: none;
}


.detailed-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}


.detailed-blog-item:hover .detailed-blog-image img {
    transform: scale(1.05);
}


.image-blog-badge {
    position: absolute;
    z-index: 2;
    left: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    color: #222;
    letter-spacing: 1px;
}



/* =========================================================
   EXPLORE
========================================================= */

.blogs-explore-section {
    padding: 100px 0;
    background: #f7fbfd;
}


.blogs-explore-section p {
    color: #707070;
    line-height: 1.8;
    font-size: 16px;
}



/* =========================================================
   CTA
========================================================= */

.blogs-page-cta {
    padding: 70px 0;
    background: #fff;
}


.blogs-cta-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 45px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        #071c24,
        #0c333f
    );
    overflow: hidden;
}


.blogs-cta-box::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    right: -120px;
    top: -180px;
}


.blogs-cta-icon {
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    color: var(--color-brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}


.blogs-cta-content {
    flex: 1;
    position: relative;
    z-index: 2;
}


.blogs-cta-content > span {
    color: var(--color-brand-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


.blogs-cta-content h2 {
    color: #fff;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 750;
    margin: 8px 0 10px;
}


.blogs-cta-content p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.7;
    max-width: 650px;
}


.blogs-cta-action {
    position: relative;
    z-index: 2;
}


.blogs-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 23px;
    background: var(--color-brand-light);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
}


.blogs-cta-btn:hover {
    background: #fff;
    color: var(--color-brand-light);
    transform: translateY(-2px);
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .blogs-page-hero {
        padding: 75px 0;
    }


    .blogs-hero-description {
        font-size: 16px;
    }


    .blogs-hero-visual {
        min-height: 350px;
        margin-top: 20px;
    }


    .hero-battery-circle {
        width: 220px;
        height: 220px;
    }


    .hero-battery-circle i {
        font-size: 80px;
    }


    .floating-card-one {
        left: 10%;
    }


    .floating-card-two {
        right: 8%;
    }


    .detailed-blog-item {
        padding: 70px 0;
    }


    .detailed-blog-content {
        padding: 10px 0;
    }


    .detailed-blog-image {
        margin-top: 10px;
    }


    .blogs-cta-box {
        flex-wrap: wrap;
    }

}


@media (max-width: 767.98px) {

    .blogs-page-hero {
        padding: 60px 0;
    }


    .blogs-page-hero h1 {
        font-size: 40px;
    }


    .blogs-hero-stats {
        gap: 15px;
    }


    .hero-stat strong {
        font-size: 22px;
    }


    .hero-stat span {
        font-size: 9px;
    }


    .hero-stat-divider {
        height: 32px;
    }


    .blogs-hero-visual {
        min-height: 300px;
    }


    .hero-battery-circle {
        width: 190px;
        height: 190px;
    }


    .hero-battery-circle i {
        font-size: 65px;
    }


    .floating-blog-card {
        padding: 9px 12px;
        gap: 8px;
    }


    .floating-blog-card i {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }


    .floating-blog-card strong {
        font-size: 10px;
    }


    .floating-blog-card small {
        font-size: 8px;
    }


    .floating-card-one {
        top: 20px;
        left: 0;
    }


    .floating-card-two {
        right: 0;
        top: 100px;
    }


    .floating-card-three {
        bottom: 15px;
        left: 5px;
    }


    .blogs-intro-section {
        padding: 65px 0 40px;
    }


    .blogs-category-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 8px;
        scrollbar-width: none;
    }


    .blogs-category-wrapper::-webkit-scrollbar {
        display: none;
    }


    .blog-category-link {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 10px 14px;
    }


    .blogs-list-section {
        padding: 10px 0 50px;
    }


    .detailed-blog-item,
    .detailed-blog-item:first-child {
        padding: 55px 0;
    }


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


    .blog-number {
        font-size: 65px;
        top: -25px;
    }


    .detailed-blog-description {
        font-size: 16px !important;
    }


    .detailed-blog-meta {
        gap: 12px;
        margin: 20px 0;
    }


    .detailed-blog-image {
        border-radius: 14px;
    }


    .image-blog-badge {
        left: 12px;
        bottom: 12px;
    }


    .blogs-explore-section {
        padding: 70px 0;
    }


    .blogs-page-cta {
        padding: 50px 0;
    }


    .blogs-cta-box {
        padding: 30px 25px;
        align-items: flex-start;
    }


    .blogs-cta-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        font-size: 20px;
    }


    .blogs-cta-content h2 {
        font-size: 27px;
    }


    .blogs-cta-action {
        width: 100%;
    }


    .blogs-cta-btn {
        width: 100%;
        justify-content: center;
    }

}


@media (max-width: 480px) {

    .blogs-page-hero h1 {
        font-size: 34px;
    }


    .blogs-hero-description {
        font-size: 15px;
    }


    .blogs-hero-stats {
        justify-content: space-between;
        width: 100%;
    }


    .hero-stat {
        gap: 6px;
    }


    .hero-stat strong {
        font-size: 19px;
    }


    .hero-stat-divider {
        display: none;
    }


    .blogs-hero-visual {
        min-height: 270px;
    }


    .hero-battery-circle {
        width: 165px;
        height: 165px;
    }


    .hero-battery-circle i {
        font-size: 55px;
    }


    .floating-card-two {
        right: -5px;
    }


    .detailed-blog-content h2 {
        font-size: 27px;
    }


    .detailed-blog-item {
        padding: 45px 0;
    }

}