
.blog-section {
    padding: 45px 20px;
    background: #f5f8fc;
    font-family: 'Manrope', sans-serif;
    overflow: hidden;
}

.blog-container {
    max-width: 1150px;
    margin: auto;
}

.blog-heading {
    text-align: center;
    margin-bottom: 25px;
}

.blog-subtitle {
    display: inline-block;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 7px;
}

.blog-heading h2 {
    color: #102b50;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    margin: 0 0 8px;
}

.blog-heading h2 span {
    color: #2563eb;
}

.blog-heading p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}

/* Carousel container */
.blog-carousel {
    position: relative;
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(16, 43, 80, 0.06);
}

/* Single slide */
.blog-slide {
    display: none;
    grid-template-columns: 260px 1fr;
    align-items: center;
    gap: 28px;
    padding: 18px 55px;
    min-height: 215px;
}

.blog-slide.active {
    display: grid;
    animation: blogSlideIn 0.65s ease both;
}

@keyframes blogSlideIn {
    from {
        opacity: 0;
        transform: translateX(22px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Single compact image */
.blog-image {
    width: 100%;
    height: 175px;
    overflow: hidden;
    border-radius: 10px;
    background: #e2e8f0;
}

.blog-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-slide.active .blog-image img {
    animation: blogImageZoom 5s ease both;
}

@keyframes blogImageZoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

/* Blog text */
.blog-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blog-category {
    display: inline-block;
    background: #eaf1ff;
    color: #2563eb;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 8px;
}

.blog-date {
    color: #94a3b8;
    font-size: 11px;
    margin-bottom: 8px;
}

.blog-content h3 {
    color: #102b50;
    font-size: clamp(19px, 2.2vw, 25px);
    line-height: 1.4;
    font-weight: 800;
    margin: 0 0 8px;
}

.blog-content p {
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.blog-read-more span {
    transition: transform 0.3s ease;
}

.blog-read-more:hover span {
    transform: translate(3px, -3px);
}

/* Navigation arrows */
.blog-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 34px;
    height: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: #ffffff;
    color: #102b50;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-arrow:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.blog-prev {
    left: 10px;
}

.blog-next {
    right: 10px;
}

/* Footer */
.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
}

.blog-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.blog-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 20px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-dot.active {
    width: 23px;
    background: #2563eb;
}

.blog-view-all {
    color: #102b50;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.blog-view-all:hover {
    color: #2563eb;
}

/* Tablet */
@media (max-width: 850px) {
    .blog-slide {
        grid-template-columns: 220px 1fr;
        gap: 20px;
        padding: 18px 48px;
    }

    .blog-image {
        height: 150px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .blog-section {
        padding: 35px 14px;
    }

    .blog-heading {
        margin-bottom: 20px;
    }

    .blog-heading h2 {
        font-size: 24px;
    }

    .blog-heading p {
        font-size: 12px;
    }

    .blog-slide {
        grid-template-columns: 105px 1fr;
        gap: 12px;
        padding: 14px 34px;
        min-height: 145px;
    }

    .blog-image {
        height: 100px;
        border-radius: 7px;
    }

    .blog-category {
        font-size: 9px;
        padding: 4px 7px;
        margin-bottom: 5px;
    }

    .blog-date {
        font-size: 9px;
        margin-bottom: 5px;
    }

    .blog-content h3 {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 5px;
    }

    .blog-content p {
        font-size: 10px;
        line-height: 1.45;
        margin-bottom: 6px;
    }

    .blog-read-more {
        font-size: 10px;
    }

    .blog-arrow {
        width: 25px;
        height: 25px;
        font-size: 13px;
    }

    .blog-prev {
        left: 4px;
    }

    .blog-next {
        right: 4px;
    }

    .blog-footer {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-slide.active,
    .blog-slide.active .blog-image img {
        animation: none;
    }

    .blog-image img,
    .blog-arrow,
    .blog-dot {
        transition: none;
    }
}