﻿.Dynamic {
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
    font-family: 'DM Sans', sans-serif;
}

.hero-section {
    height: 420px;
    width: 100%;
    background: radial-gradient(circle at right, rgba(0,140,255,0.25), transparent 45%), linear-gradient(120deg, #020024, #040b3c, #000000);
    display: flex;
    align-items: center;
    padding: 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    /* futuristic dots effect */
    .hero-section::after {
        content: "";
        position: absolute;
        right: -120px;
        top: 50%;
        width: 420px;
        height: 420px;
        background: radial-gradient(circle, #00aaff 2px, transparent 2px);
        background-size: 12px 12px;
        transform: translateY(-50%);
        opacity: 0.45;
    }

.hero-content {
    max-width: 800px;
    z-index: 2;
}

    .hero-content h1 {
        font-size: 48px;
        font-weight: 500;
        line-height: 1.2;
        margin-bottom: 20px;
    }

.meta {
    display: flex;
    gap: 22px;
    font-size: 14px;
    color: #cfd8ff;
}

    .meta span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

body {
    background: #ffffff;
}

/* Layout */
.blog-wrapper {
    max-width: 1360px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
}

/* Left Content */
.blog-img {
    width: 97%;
    border-radius: 16px;
    margin-bottom: 25px;
}

.blog-left p {
    font-size: 16px;
    font-family: roboto, sans-serif;
    line-height: 1.85;
    color: #000;
    margin-top: 15px;
}

/* Sidebar */
.blog-sidebar .sidebar-box {
    padding: 40px 30px 40px;
    border-radius: 14px;
    margin-bottom: 30px;
    margin-left: 18px;
    background: #fff;
    border-radius: 14px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    /* width: 72%; */
}

/* Search */
.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
}

    .search-box input {
        border: none;
        outline: none;
        width: 100%;
        font-size: 15px;
        font-weight: 500;
    }

.search-icons {
    font-size: 18px;
    color: #1e3cff;
}

/* Categories */
.sidebar-box h3 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #0a1b4d;
}

.category-list {
    list-style: none;
}

    .category-list li {
        padding: 14px 0;
        border-bottom: 1px solid #eaeaea;
        font-size: 16px;
        font-weight: 500;
        color: #3d4257;
    }

/* Responsive */
@media (max-width: 900px) {
    .blog-wrapper {
        grid-template-columns: 1fr;
    }
}
/* Wrapper */
.testimonial-wrapper {
    max-width: 1300px;
    margin: 80px auto;
    padding: 0 0px;
}

/* Card */
.testimonial-card {
    /* display: grid;*/
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    /*padding: 50px;*/
    /*    border: 1.5px solid #b8c6ff;
    border-radius: 30px;
    align-items: center;*/
    /*width:80%;*/
}

/* Left Content */
.testimonial-content {
    position: relative;
}

.quote-icon {
    font-size: 48px;
    color: #1f3cff;
    margin-bottom: 20px;
    line-height: 0;
}

.testimonial-text {
    font-size: 22px;
    font-weight: 400;
    /* font-style: oblique;*/
    line-height: 34px;
    margin-bottom: -45px;
}

/* Author */
.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .author img {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        object-fit: cover;
    }

    .author h4 {
        font-size: 18px;
        font-weight: 700;
        color: #0a1b4d;
    }

    .author span {
        font-size: 15px;
        color: #6b7280;
    }

/* Right Image */
.testimonial-image img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 22px;
}

/* Responsive */
@media (max-width: 900px) {
    .testimonial-card {
        grid-template-columns: 1fr;
    }

    .testimonial-text {
        font-size: 18px;
    }
}
/* Layout */
.blog-container {
    max-width: 1300px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 50px;
}

/* Text */
.blog-text {
    font-size: 17px;
    line-height: 1.9;
    color: #5a5f73;
    margin-bottom: -55px;
}

/* Images */
.blog-images {
    /*display: grid;*/
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 45px;
}

    .blog-images img {
        width: 100%;
        border-radius: 16px;
        object-fit: cover;
    }

/* Heading */
.blog-heading {
    font-size: 36px;
    font-weight: 700;
    color: #0a1b4d;
    margin-bottom: 25px;
}

/* Sidebar */


/* Tags */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .tag-list span {
        padding: 10px 18px;
        background: #ffffff;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 500;
        color: #2c2f45;
        border: 1px solid #e6e6e6;
    }

/* Share */
.sidebar-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0a1b4d;
    margin-bottom: 20px;
}

.share-icons {
    display: flex;
    gap: 14px;
    justify-content: center;
}

    .share-icons span {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid #e1e5ff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        color: #1f3cff;
        cursor: pointer;
    }

/* Responsive */
@media (max-width: 900px) {
    .blog-container {
        grid-template-columns: 1fr;
    }

    .blog-heading {
        font-size: 30px;
    }
}
/* Wrapper */
.feature-wrapper {
    max-width: 1200px;
    /*    margin: 80px auto;
    padding: 0 20px;*/
}

/* Top Layout */
.feature-top {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

/* Image */
.feature-image img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
}

/* Checklist */
.feature-list {
    list-style: none;
}

    .feature-list li {
        position: relative;
        padding-left: 34px;
        margin-bottom: 15px;
        font-size: inherit;
        font-weight: 500;
        color: #3e445d;
    }

        /* Blue Check Icon */
        .feature-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 2px;
            width: 24px;
            height: 24px;
            background: #1f3cff;
            color: #fff;
            border-radius: 50%;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

/* Paragraph */
.feature-text {
    font-size: 17px;
    line-height: 1.9;
    color: #5a5f73;
    max-width: 1000px;
    margin-bottom: 65px;
}

/* Responsive */
@media (max-width: 900px) {
    .feature-top {
        grid-template-columns: 1fr;
    }

    .feature-list li {
        font-size: 16px;
    }
}

/* Wrapper */
.popular-wrapper {
    background: #f7f7f7;
    /*    padding: 30px;*/
    border-radius: 16px;
    /*width: 307px;*/
}

/* Title */
.popular-title {
    font-size: 24px;
    font-weight: 700;
    color: #0a1b4d;
    margin-bottom: 25px;
}

/* Post Item */
.post-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

    .post-item:last-child {
        margin-bottom: 0;
    }

    /* Image */
    .post-item img {
        width: 70px;
        height: 70px;
        border-radius: 10px;
        object-fit: cover;
    }

/* Content */
.post-content h4 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: #0a1b4d;
    margin-bottom: 6px;
}

.post-content p {
    font-size: 16px;
    color: black;
}

.post-content span {
    color: #1f3cff;
    font-weight: 500;
}

.blog-left img {
    width: 100%;
}

.author img {
    width: 15%;
}

@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .sidebar-box h3 {
        padding-left: 20px;
        padding-top: 10px;
    }

    .post-content h4 {
        font-size: 15px;
    }

    .popular-wrapper {
        padding-left: 5px;
    }

    .blog-sidebar .sidebar-box {
        padding: 0px 0px 0px;
    }

    .share-icons {
        margin-left: 15px;
    }
}

@media (min-width: 321px) and (max-width: 480px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .sidebar-box h3 {
        padding-left: 20px;
        padding-top: 10px;
    }

    .share-icons {
        margin-left: 15px;
    }

    .blog-sidebar .sidebar-box {
        padding: 0px 0px 0px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .sidebar-box h3 {
        padding-left: 20px;
        padding-top: 10px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .blog-sidebar .sidebar-box {
        padding: 0px 0px 0px;
    }

    .share-icons {
        margin-left: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar-box h3 {
        padding-left: 20px;
        padding-top: 10px;
    }

    .blog-sidebar .sidebar-box {
        padding: 0px 0px 0px;
    }

    .share-icons {
        margin-left: 15px;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .Blog {
        padding: 41px 0px;
    }

    .blog-card {
        max-width: 480px;
    }

    .blog-title {
        font-size: 24px;
    }
}


.blog-meta {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-badge {
    background: #000249;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.blog-date {
    margin-bottom: -15px;
    color: #fff;
    padding: -1px 13px;
}

.sidebar-boxes {
    background: #ffffff;
    /*    padding: 40px 30px 40px;*/
    border-radius: 14px;
    margin-bottom: 30px;
    margin-left: 18px;
    /* width: 72%; */
}

    .sidebar-boxes h3 {
        font-size: 22px;
        font-weight: 700;
        color: #0a1b4d;
        text-align: center;
        margin-bottom: 20px;
    }

.blog-wrapper-new {
    max-width: 1360px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    /*grid-template-columns: 2.2fr 1fr;
    gap: 40px;*/
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.2rem 1.5rem;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
}

.blog-left {
    background: #fff;
    border-radius: 14px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.para-g {
    padding: 1.75rem 1.5rem 2rem;
}

.sidebar-card {
    background: #fff;
    border-radius: 14px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
}

.author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #185FA5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E6F1FB;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.author-name {
    font-size: 17px;
    font-weight: 600;
    color: #111;
}

.author-role {
    font-size: 16px;
    color: #888;
}

.author-bio {
    font-size: 17px;
    color: black;
    line-height: 1.6;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cat-badge {
    display: inline-block;
    background: #f1efeb;
    color: #444;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 99px;
    text-decoration: none;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    transition: background 0.15s;
}

.blog-hashtags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    padding: 10px 20px;
}

    .blog-hashtags h4 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 15px;
        color: #1c2b5a;
    }

.blog-tag {
    display: inline-block;
    margin: 5px 8px 5px 0;
    padding: 8px 16px;
    background: #f3f6fb;
    color: #185FA5;
    border: 1px solid #d9e6f7;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
}

    .blog-tag:hover {
        background: #185FA5;
        color: #fff;
    }
/* ===== Hashtags Section ===== */

.hashtags-box {
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

    .hashtags-box h3 {
        margin-bottom: 15px;
        font-size: 22px;
        font-weight: 600;
        color: #0d2b6b;
    }

.hashtags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 25px;
    background: #f2f6ff;
    color: #1d4ed8;
    border: 1px solid #dbe7ff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .3s ease;
}

    .blog-tag:hover {
        background: #1d4ed8;
        color: #fff;
    }


/* =====================================================================
   RESPONSIVE ARTICLE LAYOUT — article | sidebar on desktop, stacked on
   tablets and phones (replaces the fixed 70/30 table)
   ===================================================================== */
.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
    gap: 32px;
    align-items: start
}

.blog-main,
.blog-aside {
    min-width: 0
}

    .blog-aside .blog-sidebar .sidebar-box {
        margin-left: 0
    }

.blog-left img {
    height: auto;
    max-height: 520px;
    object-fit: cover
}

.para-g {
    overflow-wrap: anywhere
}

    .para-g img,
    .para-g iframe,
    .para-g table {
        max-width: 100%;
        height: auto
    }

.sidebar-boxes {
    max-width: 1360px;
    margin: 0 auto 40px;
    padding: 0 20px
}

.share-icons {
    display: flex;
    justify-content: center;
    gap: 14px
}

.blog-missing {
    max-width: 640px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center
}

    .blog-missing a {
        color: #C34A25;
        font-weight: 700
    }

@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px
    }

    .blog-wrapper-new {
        margin: 32px auto
    }
}

@media (max-width: 600px) {
    .hero-section {
        height: auto;
        min-height: 260px;
        padding: 48px 16px
    }

        .hero-section::after {
            width: 240px;
            height: 240px;
            right: -110px
        }

    .hero-content h1 {
        font-size: 28px;
        overflow-wrap: anywhere
    }

    .meta {
        flex-wrap: wrap;
        gap: 8px 16px
    }

    .blog-wrapper-new {
        padding: 0 16px
    }

    .para-g {
        padding: 20px 16px 24px
    }

    .blog-sidebar .sidebar-box {
        padding: 18px 16px !important
    }

    .sidebar-box h3 {
        padding: 0 !important
    }
}

html body .blog-missing p:not(#_) {
    text-align: center !important
}
