/* =========================================================
   BLOGS HERO SECTION
========================================================= */

.blogs-hero-section {
    position: relative;
    overflow: hidden;

    min-height: 590px;
    padding: 30px 0;

    display: flex;
    align-items: center;

   background: radial-gradient(
            circle at 80% 50%,
            rgba(87, 87, 209, .14),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f8f9ff 0%,
            #ffffff 50%,
            #f3f6ff 100%
        );

    color: #ffffff;
}


/* =========================================================
   GRID BACKGROUND
========================================================= */

.blogs-hero-grid {
    position: absolute;
    inset: 0;

    opacity: 0.12;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.08) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent
    );
}


/* =========================================================
   GLOW ORBS
========================================================= */

.blogs-hero-orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    pointer-events: none;
}

.blogs-orb-1 {
    width: 220px;
    height: 220px;

    top: -80px;
    right: 15%;

    background: rgba(247, 71, 128, 0.12);

    animation: blogsOrbFloat 7s ease-in-out infinite;
}

.blogs-orb-2 {
    width: 150px;
    height: 150px;

    bottom: -50px;
    left: 8%;

    background: rgba(199, 45, 73, 0.15);

    animation: blogsOrbFloat 9s ease-in-out infinite reverse;
}

.blogs-orb-3 {
    width: 90px;
    height: 90px;

    top: 45%;
    right: 45%;

    background: rgba(255, 255, 255, 0.07);

    animation: blogsOrbFloat 6s ease-in-out infinite;
}


@keyframes blogsOrbFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-25px) translateX(15px);
    }
}


/* =========================================================
   HERO CONTENT
========================================================= */

.blogs-hero-content {
    position: relative;
    z-index: 5;
margin-top: 65px;
    max-width: 680px;
}


/* =========================================================
   BADGE
========================================================= */

.blogs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 9px 17px;

    margin-bottom: 22px;

    /* border: 1px solid rgba(255,255,255,0.15); */

    border-radius: 50px;

  background:
       radial-gradient(circle at 85% 25%, rgba(108, 44, 255, .16), transparent 30%),
        radial-gradient(circle at 10% 80%, rgba(233, 30, 99, .12), transparent 30%),
        #ffffff;

    color: #c72d49;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.4px;

    backdrop-filter: blur(10px);
}


.badge-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #c72d49;

    box-shadow:
        0 0 0 5px rgb(96 221 165 / 10%);

    animation: badgePulse 1.8s infinite;
}


@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}


/* =========================================================
   HEADING
========================================================= */

.blogs-hero-content h1 {
    margin: 0 0 22px;

    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -2px;

    color: #1f1343;
}


.blogs-hero-content h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
           #c72d49
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.blogs-hero-content > p {
    max-width: 620px;

    margin: 0 0 30px;

    color: #6d7180;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   BUTTONS
========================================================= */

.blogs-hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;

    flex-wrap: wrap;

    margin-bottom: 35px;
}


.blogs-primary-btn,
.blogs-secondary-btn {
    min-height: 52px;

    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    transition: all 0.3s ease;
}


.blogs-primary-btn {
    color: #ffffff;

    border: 1px solid #c72d49;

    background: linear-gradient(
        135deg,
        #f74780
    );

    box-shadow:
        0 12px 30px rgba(247,71,128,0.22);
}


.blogs-primary-btn:hover {
    color: #ffffff !important;

    transform: translateY(-3px);

    box-shadow:
        0 18px 38px rgba(247,71,128,0.32);
}


.blogs-primary-btn i {
    transition: transform 0.3s ease;
}


.blogs-primary-btn:hover i {
    transform: translateX(5px);
}


.blogs-secondary-btn {
    color: #ffffff;

    border: 1px solid rgba(255,255,255,0.2);

    background: rgba(255,255,255,0.06);

    backdrop-filter: blur(10px);
}


.blogs-secondary-btn:hover {
    color: #1f1343 !important;

    border-color: #c72d49;

    background: #fff;

    transform: translateY(-3px);
}


/* =========================================================
   TRUST ITEMS
========================================================= */

.blogs-hero-trust {
    display: flex;
    align-items: center;

    gap: 28px;

    flex-wrap: wrap;
}


.blogs-trust-item {
    display: flex;
    align-items: center;

    gap: 11px;
}


.blogs-trust-item > i {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #c72d49;

    background: rgba(36, 22, 27, 0.1);

    border: 1px solid rgba(247,71,128,0.18);
}


.blogs-trust-item div {
    display: flex;
    flex-direction: column;
}


.blogs-trust-item strong {
    color: #1f1343;

    font-size: 13px;
}


.blogs-trust-item span {
    margin-top: 2px;

    color: #6d7180;

    font-size: 11px;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.blogs-hero-visual {
    position: relative;

    width: 100%;
    min-height: 470px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   MAIN BLOG CARD
========================================================= */

.blogs-main-card {
    position: relative;
    z-index: 5;

    width: 330px;
margin-top: 58px;
    overflow: hidden;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.30);

    transform: rotate(3deg);

    animation:
        blogsCardFloat 5s ease-in-out infinite;
}


@keyframes blogsCardFloat {

    0%,
    100% {
        transform: translateY(0) rotate(3deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}


/* =========================================================
   CARD TOP
========================================================= */

.blogs-card-top {
    height: 55px;

    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #1f1343;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;

    background: #ffffff;
}


.blogs-card-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #f74780,
            #c72d49
        );
}


/* =========================================================
   CARD IMAGE
========================================================= */

.blogs-card-image {
    position: relative;

    height: 170px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #1f1343,
            #52216a,
            #c72d49
        );
}


.blogs-card-image::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 25% 30%,
            rgba(255,255,255,0.25),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            transparent 30%,
            rgba(247,71,128,0.25)
        );
}


.blogs-image-overlay {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    color: #ffffff;

    font-size: 25px;

    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.25);

    backdrop-filter: blur(10px);

    animation: blogIconPulse 2.5s infinite;
}


@keyframes blogIconPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(247,71,128,0.25);
    }

    50% {
        box-shadow:
            0 0 0 15px rgba(247,71,128,0.03);
    }
}


/* =========================================================
   CARD BODY
========================================================= */

.blogs-card-body {
    padding: 20px 20px 18px;
}


.blogs-category {
    display: inline-block;

    margin-bottom: 8px;

    padding: 5px 10px;

    border-radius: 20px;

    color: #c72d49;

    background: rgba(199,45,73,0.08);

    font-size: 10px;
    font-weight: 700;
}


.blogs-card-body h3 {
    margin: 0 0 9px;

    color: #1f1343;

    font-size: 20px;

    line-height: 1.35;

    font-weight: 800;
}


.blogs-card-body p {
    margin: 0 0 15px;

    color: #777;

    font-size: 12px;

    line-height: 1.6;
}


.blogs-card-footer {
    padding-top: 13px;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid #eeeeee;

    color: #888;

    font-size: 10px;
}


.blogs-card-footer i {
    margin-right: 4px;

    color: #f74780;
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.blogs-floating-card {
    position: absolute;
    z-index: 10;

    min-width: 175px;

    padding: 13px 15px;

    display: flex;
    align-items: center;

    gap: 11px;

    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 13px;

    background: rgba(255,255,255,0.10);

    backdrop-filter: blur(15px);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.18);

    animation:
        floatingBlogCard 4s ease-in-out infinite;
}


.blogs-floating-one {
    top: 70px;
    left: -5px;
}


.blogs-floating-two {
    right: -10px;
    bottom: 75px;

    animation-delay: -1.5s;
}


.floating-icon {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #f74780,
            #c72d49
        );
}


.blogs-floating-card div:last-child {
    display: flex;
    flex-direction: column;
}


.blogs-floating-card strong {
    color: #1f1343;

    font-size: 11px;
}


.blogs-floating-card span {
    margin-top: 2px;

    color: #6d7180;

    font-size: 9px;
}


@keyframes floatingBlogCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* =========================================================
   DECORATIVE RINGS
========================================================= */

.blogs-ring {
    position: absolute;

    border: 1px solid rgba(247,71,128,0.20);

    border-radius: 50%;

    animation: ringRotate 12s linear infinite;
}


.blogs-ring-one {
    width: 380px;
    height: 380px;
}


.blogs-ring-two {
    width: 460px;
    height: 460px;

    border-color: rgba(255,255,255,0.07);

    animation-direction: reverse;
}


@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .blogs-hero-section {
        min-height: auto;

        padding: 75px 0;
    }

    .blogs-hero-content {
        max-width: 100%;

        padding-right: 20px;
    }

    .blogs-hero-content h1 {
        font-size: 52px;
    }

    .blogs-hero-visual {
        min-height: 450px;

        margin-top: 25px;
    }

    .blogs-main-card {
        width: 310px;
    }

    .blogs-floating-one {
        left: 0;
    }

    .blogs-floating-two {
        right: 0;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .blogs-hero-section {
        padding: 60px 0 50px;
    }

    .blogs-hero-content {
        text-align: center;

        padding-right: 0;
    }

    .blogs-hero-badge {
        margin-bottom: 18px;
    }

    .blogs-hero-content h1 {
        font-size: 42px;

        line-height: 1.12;

        letter-spacing: -1.2px;
    }

    .blogs-hero-content > p {
        font-size: 15px;

        line-height: 1.7;
    }

    .blogs-hero-buttons {
        justify-content: center;
    }

    .blogs-primary-btn,
    .blogs-secondary-btn {
        min-height: 48px;

        padding: 0 19px;
    }

    .blogs-hero-trust {
        justify-content: center;

        gap: 15px;
    }

    .blogs-trust-item {
        text-align: left;
    }

    .blogs-hero-visual {
        min-height: 430px;

        margin-top: 15px;
    }

    .blogs-main-card {
        width: 290px;
    }

    .blogs-floating-card {
        min-width: 150px;

        padding: 10px;
    }

    .blogs-floating-one {
        top: 50px;
        left: -5px;
    }

    .blogs-floating-two {
        right: -5px;
        bottom: 55px;
    }

    .blogs-ring-one {
        width: 330px;
        height: 330px;
    }

    .blogs-ring-two {
        width: 390px;
        height: 390px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .blogs-hero-section {
        padding: 50px 0 35px;
    }

    .blogs-hero-content h1 {
        font-size: 36px;
    }

    .blogs-hero-content > p {
        font-size: 14px;
    }

    .blogs-hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .blogs-primary-btn,
    .blogs-secondary-btn {
        width: 100%;
    }

    .blogs-hero-trust {
        flex-direction: column;

        align-items: flex-start;

        margin: 0 auto;

        width: fit-content;
    }

    .blogs-hero-visual {
        min-height: 410px;
    }

    .blogs-main-card {
        width: 270px;
    }

    .blogs-card-image {
        height: 145px;
    }

    .blogs-card-body h3 {
        font-size: 18px;
    }

    .blogs-floating-card {
        min-width: auto;

        padding: 8px;
    }

    .blogs-floating-card strong {
        font-size: 9px;
    }

    .blogs-floating-card span {
        font-size: 8px;
    }

    .floating-icon {
        width: 30px;
        height: 30px;

        font-size: 11px;
    }

    .blogs-floating-one {
        left: -8px;
        top: 45px;
    }

    .blogs-floating-two {
        right: -8px;
        bottom: 45px;
    }

    .blogs-ring-one {
        width: 300px;
        height: 300px;
    }

    .blogs-ring-two {
        width: 350px;
        height: 350px;
    }
}


/* =========================================================
   LATEST BLOGS SECTION
========================================================= */

.latest-blogs-section {
    position: relative;
    overflow: hidden;

    padding: 100px 0;

    background: #ffffff;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.blogs-section-heading {
    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}


.blogs-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 15px;

    padding: 8px 15px;

    border-radius: 50px;

    color: #1f1343;

    background: rgba(199, 45, 73, 0.07);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.2px;
}


.blogs-section-badge i {
    color: #f74780;
}


.blogs-section-heading h2 {
    margin: 0 0 15px;

    color: #1f1343;

    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    font-weight: 800;
}


.blogs-section-heading h2 span {
    background:
        linear-gradient(
            90deg,
            #f74780,
            #c72d49
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.blogs-section-heading p {
    max-width: 650px;

    margin: 0 auto;

    color: #777;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   BLOG CARD
========================================================= */

.latest-blog-card {
    height: 100%;

    overflow: hidden;

    border: 1px solid #eeeeee;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 30px rgba(31, 19, 67, 0.06);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


.latest-blog-card:hover {
    transform: translateY(-10px);

    border-color: rgba(247, 71, 128, 0.25);

    box-shadow:
        0 22px 50px rgba(31, 19, 67, 0.13);
}


/* =========================================================
   BLOG IMAGE
========================================================= */

.latest-blog-image {
    position: relative;

    height: 220px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #1f1343,
            #c72d49
        );
}


.latest-blog-image::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.08);

    top: -100px;
    right: -60px;

    transition: transform 0.5s ease;
}


.latest-blog-image::after {
    content: "";

    position: absolute;

    width: 140px;
    height: 140px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.15);

    bottom: -70px;
    left: -30px;

    transition: transform 0.5s ease;
}


.latest-blog-card:hover .latest-blog-image::before {
    transform: scale(1.25) rotate(20deg);
}


.latest-blog-card:hover .latest-blog-image::after {
    transform: scale(1.2);
}


/* IMAGE VARIATIONS */

.blog-image-purple {
    background:
        linear-gradient(
            135deg,
            #1f1343,
            #6535a8
        );
}


.blog-image-red {
    background:
        linear-gradient(
            135deg,
            #6e1f3c,
            #c72d49
        );
}


.blog-image-blue {
    background:
        linear-gradient(
            135deg,
            #1f1343,
            #3157a5
        );
}


.blog-image-green {
    background:
        linear-gradient(
            135deg,
            #174e4b,
            #268d83
        );
}


.blog-image-orange {
    background:
        linear-gradient(
            135deg,
            #51251d,
            #c75d2d
        );
}


/* =========================================================
   IMAGE ICON
========================================================= */

.blog-image-content {
    position: relative;
    z-index: 2;

    width: 85px;
    height: 85px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    color: #ffffff;

    font-size: 34px;

    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.2);

    backdrop-filter: blur(12px);

    box-shadow:
        0 15px 40px rgba(0,0,0,0.15);

    transition:
        transform 0.4s ease,
        background 0.4s ease;
}


.latest-blog-card:hover .blog-image-content {
    transform: scale(1.08) rotate(-5deg);

    background: rgba(255,255,255,0.18);
}


/* =========================================================
   CATEGORY
========================================================= */

.latest-blog-category {
    position: absolute;

    z-index: 3;

    top: 16px;
    left: 16px;

    padding: 7px 12px;

    border-radius: 50px;

    color: #ffffff;

    background: rgba(31,19,67,0.55);

    border: 1px solid rgba(255,255,255,0.15);

    backdrop-filter: blur(10px);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .4px;
}


/* =========================================================
   BLOG CONTENT
========================================================= */

.latest-blog-content {
    padding: 24px 24px 26px;
}


.latest-blog-meta {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 12px;

    color: #999;

    font-size: 11px;
}


.latest-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}


.latest-blog-meta i {
    color: #f74780;
}


.latest-blog-content h3 {
    margin: 0 0 12px;

    color: #1f1343;

    font-size: 20px;

    line-height: 1.45;

    font-weight: 750;

    transition: color 0.3s ease;
}


.latest-blog-card:hover .latest-blog-content h3 {
    color: #c72d49;
}


.latest-blog-content p {
    margin: 0 0 20px;

    color: #777;

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   READ ARTICLE
========================================================= */

.latest-blog-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #1f1343;

    font-size: 13px;

    font-weight: 750;

    text-decoration: none;

    transition: all 0.3s ease;
}


.latest-blog-link i {
    color: #f74780;

    transition: transform 0.3s ease;
}


.latest-blog-link:hover {
    color: #c72d49;
}


.latest-blog-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   VIEW ALL
========================================================= */

.latest-blogs-view-all {
    margin-top: 55px;

    text-align: center;
}


.blogs-view-all-btn {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 13px 24px;

    border: 1px solid #1f1343;

    border-radius: 8px;

    color: #1f1343;

    background: #ffffff;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}


.blogs-view-all-btn:hover {
    color: #ffffff;

    background: #1f1343;

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(31,19,67,0.15);
}


.blogs-view-all-btn i {
    color: #f74780;

    transition: transform 0.3s ease;
}


.blogs-view-all-btn:hover i {
    transform: translateX(5px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .latest-blogs-section {
        padding: 80px 0;
    }

    .latest-blog-image {
        height: 200px;
    }

    .latest-blog-content {
        padding: 21px;
    }

    .latest-blog-content h3 {
        font-size: 18px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .latest-blogs-section {
        padding: 65px 0;
    }

    .blogs-section-heading {
        margin-bottom: 35px;
    }

    .blogs-section-heading h2 {
        font-size: 34px;
    }

    .blogs-section-heading p {
        font-size: 14px;
    }

    .latest-blog-image {
        height: 210px;
    }

    .latest-blog-content {
        padding: 22px;
    }

    .latest-blog-content h3 {
        font-size: 19px;
    }

    .latest-blog-content p {
        font-size: 13px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .latest-blogs-section {
        padding: 55px 0;
    }

    .blogs-section-heading h2 {
        font-size: 30px;
    }

    .latest-blog-image {
        height: 190px;
    }

    .blog-image-content {
        width: 70px;
        height: 70px;

        font-size: 27px;
    }

    .latest-blog-content {
        padding: 20px;
    }

    .latest-blog-meta {
        gap: 12px;

        font-size: 10px;
    }

    .latest-blog-content h3 {
        font-size: 18px;
    }
}

