.blog-listing {
    padding: 8rem 1rem 6rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #64748b 100%);
    min-height: 100vh;
    background-attachment: fixed;
}

.blog-listing h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2rem, 5vw, 3rem);
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-weight: 800;
    position: relative;
}

.blog-listing h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
    border-radius: 2px;
}

.blog-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 768px) {
    .blog-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .blog-intro {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    justify-items: center;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .blog-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 3rem;
    }
    
    .blog-card {
        flex: 0 0 calc(33.333% - 2rem);
    }
}

.blog-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: #1e293b;
    position: relative;
    overflow: hidden;
    height: fit-content;
    width: 100%;
    max-width: 400px;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--card-accent, linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%));
    border-radius: 24px 24px 0 0;
    z-index: 2;
}

.blog-card::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 20%);
    pointer-events: none;
    z-index: 1;
}

.blog-card.card-blue {
    --card-accent: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --card-bg: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
}

.blog-card.card-green {
    --card-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --card-bg: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
}

.blog-card.card-purple {
    --card-accent: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --card-bg: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 100%);
}

.blog-card.card-orange {
    --card-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --card-bg: linear-gradient(145deg, #fffbeb 0%, #fef3c7 100%);
}

.blog-card:hover {
    transform: translateY(-20px) scale(1.03) rotateX(5deg);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.2),
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 3px var(--card-accent, #3b82f6),
        inset 0 2px 0 rgba(255, 255, 255, 1);
    background: var(--card-bg, linear-gradient(145deg, #ffffff 0%, #f8fafc 100%));
    filter: brightness(1.05) saturate(1.1);
}

.blog-card:hover::before {
    height: 8px;
    box-shadow: 0 0 20px var(--card-accent, #3b82f6);
}

.blog-card:hover .card-header h3 {
    transform: translateY(-2px);
    color: #0f172a;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-card:hover .card-content p {
    color: #334155;
    transform: translateY(-1px);
}

.card-header {
    padding: 2rem 2rem 0;
    position: relative;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    margin-bottom: 1rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.025em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-content {
    padding: 0 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card p {
    margin-bottom: 0;
    color: #475569;
    line-height: 1.7;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-footer {
    padding: 1.5rem 2rem 2rem;
    position: relative;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .card-footer {
    transform: translateY(-2px);
}

.blog-card .btn {
    background: var(--card-accent, linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%));
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.blog-card .btn::after {
    content: '→';
    transition: transform 0.3s ease;
}

.blog-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.blog-card .btn:hover::before {
    left: 100%;
}

.blog-card .btn:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
    filter: brightness(1.15) saturate(1.2) contrast(1.1);
}

.blog-card:hover .btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}

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

body:has(.blog-post) {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 25%, #ffeaa7 50%, #fab1a0 75%, #fd79a8 100%);
}

.blog-post {
    padding: 10rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    color: #1a1a2e;
    font-weight: 600;
    line-height: 1.8;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .blog-listing {
        padding: 6rem 0.5rem 4rem;
        background-attachment: scroll;
    }
    
    .blog-listing h1 {
        margin-bottom: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    
    .blog-card {
        border-radius: 20px;
    }
    
    .card-header {
        padding: 1.5rem 1.5rem 0;
    }
    
    .card-content {
        padding: 0 1.5rem;
    }
    
    .card-footer {
        padding: 1.25rem 1.5rem 1.5rem;
    }
    
    .blog-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }
    
    .blog-card p {
        font-size: 0.9rem;
    }
    
    .blog-card .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }
    
    .blog-content {
        padding: 0 0.5rem;
    }

    .comparison-table {
        display: block;
        width: 100%;
        font-size: 0.85rem;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table tbody, .comparison-table tr, .comparison-table td {
        display: block;
        width: 100%;
    }

    .comparison-table tr {
        margin-bottom: 1rem;
        border: 1px solid #e8ecf3;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .comparison-table td {
        padding: 0.8rem;
        border: none;
        border-bottom: 1px solid #e8ecf3;
        position: relative;
        padding-left: 45%;
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    .comparison-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0.8rem;
        width: 40%;
        padding-right: 8px;
        white-space: nowrap;
        font-weight: 600;
        color: var(--color-text-dark);
        font-size: 0.8rem;
    }
    
    .comparison-table td:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .blog-post {
        padding: 8rem 1rem 3rem;
        margin: 1rem 0.5rem;
        border-radius: 20px;
    }
    
    .blog-post h1 {
        font-size: clamp(1.4rem, 5vw, 2rem);
        padding: 0.5rem 0;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-listing {
        padding: 5rem 0.25rem 3rem;
    }
    
    .blog-listing h1 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .blog-grid {
        gap: 1rem;
    }
    
    .blog-card {
        border-radius: 16px;
    }
    
    .card-header {
        padding: 1.25rem 1.25rem 0;
    }
    
    .card-content {
        padding: 0 1.25rem;
    }
    
    .card-footer {
        padding: 1rem 1.25rem 1.25rem;
    }
    
    .blog-card h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .blog-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .blog-card .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.75rem;
    }
    
    .blog-post {
        padding: 7rem 0.75rem 2rem;
        margin: 0.5rem 0.25rem;
        border-radius: 15px;
    }
    
    .blog-post h1 {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
        line-height: 1.3;
        margin-bottom: 1rem;
        padding: 0.25rem 0;
    }
    
    .blog-post h2 {
        font-size: 1.1rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .blog-post p, .blog-post li {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .key-takeaways {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .key-takeaways h2 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .key-takeaways li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .comparison-table td {
        padding: 0.6rem;
        padding-left: 42%;
    }
    
    .comparison-table td:before {
        left: 0.6rem;
        width: 38%;
        font-size: 0.75rem;
    }
}

.image-container {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 50%;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.blog-post img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    display: block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .image-container {
        max-width: 90%;
        padding: 1.5rem;
        margin: 2rem auto;
    }
}

@media (max-width: 480px) {
    .image-container {
        max-width: 100%;
        padding: 1rem;
        margin: 1.5rem auto;
    }
    
    .math-course-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        display: block;
        text-align: center;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}



.course-link {
    margin: 0;
}

.math-course-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00b894 0%, #6c5ce7 100%);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.3);
    transition: all 0.3s ease;
}

.math-course-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 184, 148, 0.4);
    background: linear-gradient(135deg, #00a085 0%, #5f4fcf 100%);
}

.final-cta {
    text-align: center;
    margin: 3rem 0 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.final-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #fd79a8 0%, #d63031 100%);
    color: #ffffff;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(253, 121, 168, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.final-cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(253, 121, 168, 0.6);
    background: linear-gradient(135deg, #e84393 0%, #b71c1c 100%);
}

@media (max-width: 768px) {
    .final-cta-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
        display: block;
        text-align: center;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .final-cta {
        padding: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .final-cta {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .final-cta-btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.85rem;
        letter-spacing: 0.3px;
    }
}

.blog-post h1 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #2d3436 0%, #0984e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-align: center;
    padding: 1rem 0;
    line-height: 1.2;
    position: relative;
    z-index: 10;
}

.blog-post h2 {
    background: linear-gradient(135deg, #00b894 0%, #6c5ce7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin: 3rem 0 1.5rem 0;
    padding: 1rem 0;
    border-bottom: 3px solid rgba(108, 92, 231, 0.2);
}

.blog-post p, .blog-post li {
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 1.5rem;
}

.blog-post ul {
    background: rgba(255, 255, 255, 0.4);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid #00b894;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .blog-post ul {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .blog-post ul {
        padding: 1rem;
        margin: 1rem 0;
        border-left-width: 3px;
    }
    
    .blog-post ul li {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
}

.blog-post p:first-of-type {
    font-size: 1.2rem;
    font-style: italic;
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #fd79a8;
    margin: 2rem 0;
}

.blog-post .post-meta {
    color: var(--color-text-light, #636e72);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* FAQ Section Styles V2 */
.faq-section {
    margin: 4rem 0;
    counter-reset: faq-counter;
}

.faq-item {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e8ecf3;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-dark);
    min-height: 60px;
    touch-action: manipulation;
}

.faq-question::before {
    content: counter(faq-counter);
    counter-increment: faq-counter;
    font-weight: 700;
    color: var(--color-accent);
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-question .question-text {
    flex-grow: 1;
    margin-right: 1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #f8f9fa;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: var(--color-text-light);
    font-weight: 400;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    transition: max-height 0.5s ease-in;
}

/* Mobile FAQ improvements */
@media (max-width: 768px) {
    .faq-section {
        margin: 3rem 0;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
        min-height: 50px;
    }
    
    .faq-question::before {
        font-size: 1rem;
        margin-right: 0.8rem;
    }
    
    .faq-answer p {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 0.8rem;
        font-size: 0.9rem;
        min-height: 45px;
    }
    
    .faq-question::before {
        font-size: 0.9rem;
        margin-right: 0.6rem;
    }
    
    .faq-answer p {
        padding: 0.8rem;
        font-size: 0.85rem;
        line-height: 1.6;
    }
}


/* New styles for the blog post */
.blog-content {
    padding: 0 2rem;
}

.intro-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #636e72;
    margin-bottom: 2rem;
}

.key-takeaways {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 5px solid var(--color-accent);
}

.key-takeaways h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--color-text-dark);
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-takeaways li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.key-takeaways i {
    color: var(--color-accent);
}

.comparison-table-container {
    margin: 3rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.comparison-table th, .comparison-table td {
    padding: 1.5rem;
    text-align: left;
}

.comparison-table thead {
    background: var(--primary-gradient);
    color: white;
}

.comparison-table th {
    font-weight: 600;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.comparison-table i {
    margin-right: 0.5rem;
}

.fa-ielts {
    color: #ffc107;
}

.fa-ets {
    color: #007bff;
}

/* Loading Animation for Blog Cards */
.blog-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }
.blog-card:nth-child(7) { animation-delay: 0.7s; }
.blog-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Focus States for Accessibility */
.blog-card:focus-within {
    outline: 2px solid #3b82f6;
    outline-offset: 4px;
}

.blog-card .btn:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Improved Typography */
.blog-listing h1 {
    letter-spacing: -0.02em;
}

.blog-card h3 {
    letter-spacing: -0.01em;
}

/* Enhanced Hover Effects */
@media (hover: hover) {
    .blog-card:hover h3 {
        color: #3b82f6;
        transition: color 0.3s ease;
    }
    
    .blog-card:hover::before {
        height: 6px;
        transition: height 0.3s ease;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .blog-listing {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    }
    
    .blog-card {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(148, 163, 184, 0.2);
        color: #e2e8f0;
    }
    
    .blog-card h3 {
        color: #f1f5f9;
    }
    
    .blog-card p {
        color: #cbd5e1;
    }
}

/* Print Styles */
@media print {
    .blog-listing {
        background: white !important;
        padding: 2rem 1rem;
    }
    
    .blog-card {
        background: white !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: none !important;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .blog-card .btn {
        display: none;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .blog-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .blog-card,
    .blog-card .btn,
    .blog-card::before {
        transition: none;
    }
    
    .blog-card:hover {
        transform: none;
    }
}
/* Fix mobile scroll white flash */
body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #64748b 100%);
    background-attachment: fixed;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}