/* Blog Page Specific Styles */
body {
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), 
                url('https://www.fahimai.com/wp-content/uploads/2024/03/building-data-driven-culture-5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}

.header {
    background: transparent !important;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 100;
}

main {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Blog Hero Section */
.blog-hero {
    padding: 0 0 50px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background: transparent;
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

.scroll-arrow:hover {
    color: #ff6b35;
    transform: translateX(-50%) translateY(-3px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.blog-hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.blog-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    padding: 10px 20px;
    margin-bottom: 30px;
}

.blog-hero__badge i {
    color: #ff6b35;
    font-size: 1.2rem;
}

.blog-hero__badge-text {
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-hero__heading {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #ffffff;
}

.blog-hero__subtitle {
    font-size: 2rem;
    color: #cccccc;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.blog-hero__search {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.blog-hero__search input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    color: #ffffff;
    font-size: 1.6rem;
    backdrop-filter: blur(10px);
}

.blog-hero__search input::placeholder {
    color: #cccccc;
}

.blog-hero__search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff6b35;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blog Content */
.blog-content {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: rgba(12, 12, 12, 0.8);
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.blog-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.blog-card:hover .blog-card__image {
    transform: scale(1.05);
}

.blog-card__content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__category {
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-card__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #ffffff;
}

.blog-card__excerpt {
    color: #cccccc;
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: auto;
    flex-grow: 1;
}

.blog-card__footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    color: #999999;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.blog-card__author {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ff6b35;
}

.blog-card__date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card__read-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card__read-more {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.blog-card__read-more:hover {
    color: #e55a2b;
}

@media (max-width: 768px) {
    .blog-hero__heading {
        font-size: 3rem;
    }
    
    .blog-hero__subtitle {
        font-size: 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Scroll Arrow Mobile */
    .scroll-arrow {
        bottom: 20px !important;
        font-size: 1.6rem !important;
    }
}
