/* Blog Section Styles */
.blog-section {
    background-color: #ffffff;
}

.blog-card {
    height: 340px;
    max-width: 395px;
    margin: 0 auto;
    background-color: #f8f9fe;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid transparent;
}

.blog-card-img {
    background-size: cover;
    background-position: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.9) 100%);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.blog-badge:hover {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.blog-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.4s ease;
}

.blog-title {
    color: #ffffff;
    line-height: 1.4;
    transition: all 0.4s ease;
}

.blog-arrow-wrapper {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50px;
    border: 1px solid #a78bfa;
    color: #8b5cf6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
}

.blog-arrow::before {
    content: 'Read More';
    width: 0;
    opacity: 0;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.blog-arrow:hover {
    width: 130px;
}

.blog-arrow:hover::before {
    width: 80px;
    opacity: 1;
    margin-right: 0.3rem;
}

/* Hover Effects */
.blog-card:hover {
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.12);
    transform: translateY(-5px);
    background-color: #ffffff;
    border-color: #cbd5e1;
}

.blog-card:hover .blog-card-img {
    opacity: 0;
}

.blog-card:hover .blog-card-overlay {
    opacity: 0;
}

.blog-card:hover .blog-date {
    color: #94a3b8;
}

.blog-card:hover .blog-title {
    color: #1e293b;
}

.blog-card:hover .blog-title:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.blog-card:hover .blog-arrow-wrapper {
    height: 60px;
    /* Adjust to fit the arrow and margin */
    opacity: 1;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-card {
        height: 320px;
    }
}

/* blog_element.css style */
/* Banner Styles */
.article-banner {
    height: 75vh;
    min-height: 500px;
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
}

.article-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.article-banner-content {
    position: relative;
    z-index: 2;
}

.article-badge {
    background-color: #8b5cf6;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 50rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.article-badge:hover {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    cursor: pointer;
}

.article-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.article-meta span.dot {
    margin: 0 0.5rem;
    color: #8b5cf6;
}

/* Main Content Styles */
.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h3 {
    color: #1e293b;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.article-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.article-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.article-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: #8982EE;
    font-size: 0.9rem;
}




/* Dropcap */
.dropcap::first-letter {
    font-size: 3.5rem;
    font-weight: 700;
    color: #8b5cf6;
    float: left;
    line-height: 1;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}