/* ============================================
   BLOG PAGE — NO HOVER EFFECTS
   ============================================ */

/* ----- Blog Section ----- */
#blog.about {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 40%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

#blog.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(58, 54, 224, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 107, 0.04) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

/* ----- Blog Header ----- */
#blog.about .blog-header {
    text-align: center;
    margin-bottom: 52px;
    position: relative;
    z-index: 1;
}

#blog.about h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    margin: 0 0 10px 0;
    background: linear-gradient(90deg, #121212, #3a36e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

#blog.about h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #3a36e0, #ff6b6b);
    border-radius: 5px;
}

#blog.about .blog-subtitle {
    text-align: center;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    color: #6b7280;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ----- Blog Grid ----- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ----- Blog Card (NO HOVER) ----- */
.blog-card {
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(58, 54, 224, 0.05);
    opacity: 0;
    animation: blogFadeUp 0.6s ease-out forwards;
}

/* Staggered animation delays */
.blog-card:nth-child(1) { animation-delay: 0.08s; }
.blog-card:nth-child(2) { animation-delay: 0.16s; }
.blog-card:nth-child(3) { animation-delay: 0.24s; }
.blog-card:nth-child(4) { animation-delay: 0.32s; }
.blog-card:nth-child(5) { animation-delay: 0.40s; }
.blog-card:nth-child(6) { animation-delay: 0.48s; }

/* ----- Card Top Border Accent ----- */
.blog-card .card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3a36e0, #ff6b6b, #4ecdc4);
    z-index: 2;
}

/* ----- Card Image (NO HOVER) ----- */
.blog-card-img {
    height: 210px;
    overflow: hidden;
    position: relative;
    background: #f3f4f6;
}

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

/* Static overlay (NO HOVER) */
.blog-card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.10));
    pointer-events: none;
}

/* ----- Card Content ----- */
.blog-card-content {
    padding: 24px 26px 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* ----- Blog Meta (Date + Category) ----- */
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 0.85rem;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-weight: 500;
}

.blog-date i {
    font-size: 0.8rem;
    color: #3a36e0;
}

.blog-category {
    background: linear-gradient(90deg, #3a36e0, #2622c2);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ----- Card Title (NO HOVER) ----- */
.blog-card-content h3 {
    font-size: clamp(1.05rem, 1.3vw, 1.3rem);
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.4;
    color: #121212;
    flex-grow: 1;
}

/* ----- Read More Button (NO HOVER) ----- */
.read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3a36e0;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    padding: 8px 0;
    width: fit-content;
    border: none;
    background: transparent;
    cursor: default;
    font-size: 0.95rem;
}

.read-btn i {
    font-size: 0.85rem;
}

/* Static arrow — no hover movement */
.read-btn .arrow-icon {
    display: inline-block;
    margin-left: 4px;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

@keyframes blogFadeUp {
    0% {
        opacity: 0;
        transform: translateY(35px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BLOG CTA SECTION (NO HOVER)
   ============================================ */

.cta {
    text-align: center;
    padding: 72px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1a1a4e 100%);
    position: relative;
    overflow: hidden;
}

.cta .cta-bg-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta .cta-bg-glow-2 {
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.cta h2 span {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta p {
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ----- CTA Button (NO HOVER) ----- */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    border: none;
    cursor: default;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

/* ----- CTA Stats (NO HOVER) ----- */
.cta-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 48px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #3b82f6;
    display: block;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

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

/* Tablets & small laptops (≤992px) */
@media (max-width: 992px) {
    #blog.about {
        padding: 60px 18px;
    }
    #blog.about .blog-header {
        margin-bottom: 40px;
    }
    .blog-grid {
        gap: 26px;
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-card-img {
        height: 180px;
    }
    .blog-card-content {
        padding: 20px 22px 22px;
    }
    .cta {
        padding: 56px 18px;
    }
    .cta-stats {
        gap: 36px;
        margin-top: 36px;
    }
}

/* Mobile devices (≤768px) — 2 columns */
@media (max-width: 768px) {
    #blog.about {
        padding: 48px 16px;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        max-width: 600px;
    }
    .blog-card-img {
        height: 150px;
    }
    .blog-card-content {
        padding: 16px 16px 18px;
    }
    .blog-meta {
        font-size: 0.75rem;
        margin-bottom: 10px;
        flex-wrap: wrap;
        gap: 6px;
    }
    .blog-category {
        font-size: 0.6rem;
        padding: 3px 10px;
    }
    .blog-card-content h3 {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    .read-btn {
        font-size: 0.85rem;
    }
    #blog.about h2 {
        font-size: 1.8rem;
    }
    #blog.about h2::after {
        width: 50px;
        height: 3px;
        bottom: -8px;
    }
    #blog.about .blog-subtitle {
        font-size: 0.95rem;
        margin-top: 14px;
    }

    .cta {
        padding: 44px 16px;
    }
    .cta h2 {
        font-size: 1.6rem;
    }
    .cta p {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }
    .cta-button {
        padding: 12px 32px;
        font-size: 0.9rem;
    }
    .cta-stats {
        gap: 24px;
        margin-top: 28px;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: 0.65rem;
    }
}

/* Small mobile devices (≤480px) — 2 columns */
@media (max-width: 480px) {
    #blog.about {
        padding: 36px 12px;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
    }
    .blog-card-img {
        height: 110px;
    }
    .blog-card-content {
        padding: 12px 12px 14px;
    }
    .blog-meta {
        font-size: 0.6rem;
        margin-bottom: 6px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .blog-date {
        font-size: 0.6rem;
        gap: 4px;
    }
    .blog-date i {
        font-size: 0.6rem;
    }
    .blog-category {
        font-size: 0.5rem;
        padding: 2px 8px;
        letter-spacing: 0.3px;
    }
    .blog-card-content h3 {
        font-size: 0.75rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    .read-btn {
        font-size: 0.7rem;
        gap: 4px;
        padding: 4px 0;
    }
    .read-btn i {
        font-size: 0.6rem;
    }
    .blog-card .card-accent {
        height: 3px;
    }
    #blog.about h2 {
        font-size: 1.4rem;
    }
    #blog.about h2::after {
        width: 40px;
        height: 2px;
        bottom: -6px;
    }
    #blog.about .blog-subtitle {
        font-size: 0.8rem;
        margin-top: 10px;
    }
    #blog.about .blog-header {
        margin-bottom: 24px;
    }

    .cta {
        padding: 32px 12px;
    }
    .cta h2 {
        font-size: 1.3rem;
    }
    .cta p {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    .cta-button {
        padding: 10px 24px;
        font-size: 0.8rem;
        border-radius: 5px;
    }
    .cta-stats {
        gap: 16px;
        margin-top: 20px;
    }
    .stat-number {
        font-size: 1.3rem;
    }
    .stat-label {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
}

/* Very small phones (≤380px) */
@media (max-width: 380px) {
    .blog-grid {
        gap: 10px;
    }
    .blog-card-img {
        height: 90px;
    }
    .blog-card-content {
        padding: 10px 10px 12px;
    }
    .blog-card-content h3 {
        font-size: 0.65rem;
        margin-bottom: 6px;
    }
    .read-btn {
        font-size: 0.6rem;
    }
    #blog.about h2 {
        font-size: 1.2rem;
    }
    .cta h2 {
        font-size: 1.1rem;
    }
    .cta-stats {
        gap: 12px;
    }
    .stat-number {
        font-size: 1.1rem;
    }
}

/* ============================================
   ACCESSIBILITY: Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .blog-card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .cta .cta-bg-glow,
    .cta .cta-bg-glow-2 {
        display: none;
    }
}