/* ===== BLOG CAROUSEL - Premium Modern Design ===== */
.blog-carousel-section {
    padding: 70px 20px 60px;
    background: linear-gradient(180deg, #f8fcfc 0%, #f0f7f7 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 10%, rgba(0, 206, 207, 0.25) 50%, transparent 90%);
}

.blog-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 20px 60px 30px;
}

.blog-carousel-viewport {
    overflow: hidden;
    border-radius: 20px;
}

.blog-carousel-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 24px;
}

/* === CARD DESIGN === */
.blog-carousel-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 206, 207, 0.08);
}

.blog-carousel-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 206, 207, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 206, 207, 0.2);
}

/* === IMAGE SECTION === */
.blog-carousel-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.blog-carousel-slide:hover img {
    transform: scale(1.08);
}

/* Image container overlay */
.blog-carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.04) 100%);
    z-index: 1;
    pointer-events: none;
    border-radius: 20px 20px 0 0;
}

/* === CONTENT SECTION === */
.blog-carousel-slide-content {
    padding: 24px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

/* Accent line on top of content */
.blog-carousel-slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 22px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #00cecf, #00a8a9);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.blog-carousel-slide:hover .blog-carousel-slide-content::before {
    width: 60px;
}

.blog-carousel-slide-content h3 {
    font-size: 1.1rem;
    color: #2d3748;
    margin: 8px 0 12px 0;
    font-family: 'League Spartan', 'Verdana', sans-serif;
    font-weight: 700;
    line-height: 1.35;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.blog-carousel-slide:hover .blog-carousel-slide-content h3 {
    color: #00b3b4;
}

.blog-carousel-slide-content p {
    color: #718096;
    font-size: 0.88rem;
    margin-bottom: 18px;
    line-height: 1.6;
    font-family: 'Open Sans', Verdana, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    text-align: left;
}

/* === BUTTON === */
.blog-carousel-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #00cecf 0%, #00b3b4 100%);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: 'League Spartan', Verdana, sans-serif;
    transition: all 0.35s ease;
    box-shadow: 0 3px 12px rgba(0, 206, 207, 0.25);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.blog-carousel-btn::after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.blog-carousel-btn:hover {
    background: linear-gradient(135deg, #00b3b4 0%, #009a9b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 206, 207, 0.35);
    color: white;
}

.blog-carousel-btn:hover::after {
    transform: translateX(4px);
}

/* === NAVIGATION ARROWS === */
.blog-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(0, 206, 207, 0.3);
    background: rgba(255, 255, 255, 0.95);
    color: #00cecf;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.blog-carousel-arrow:hover {
    background: #00cecf;
    color: white;
    border-color: #00cecf;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 206, 207, 0.4);
}

.blog-carousel-arrow.left {
    left: 4px;
}

.blog-carousel-arrow.right {
    right: 4px;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
    .blog-carousel-container {
        padding: 10px 50px;
    }
}

@media (max-width: 992px) {
    .blog-carousel-slide {
        flex: 0 0 calc((100% - 24px) / 2);
    }
    .blog-carousel-container {
        padding: 10px 50px;
    }
}

@media (max-width: 768px) {
    .blog-carousel-section {
        padding: 50px 15px 40px;
    }
    .blog-carousel-slide {
        flex: 0 0 100%;
    }
    .blog-carousel-container {
        padding: 10px 40px;
    }
    .blog-carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .blog-carousel-arrow.left {
        left: 0;
    }
    .blog-carousel-arrow.right {
        right: 0;
    }
    .blog-carousel-slide img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .blog-carousel-container {
        padding: 10px 35px;
    }
    .blog-carousel-slide-content {
        padding: 20px 16px 16px;
    }
    .blog-carousel-slide-content h3 {
        font-size: 1rem;
    }
}
