/* ===================================
   CASE STUDIES PAGE COMPLETE STYLES
   =================================== */

/* Case Studies Hero Section */
.case-studies-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 4rem;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), 
                url('circuit-background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

li {
    color: black;
}

.case-studies-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
}


.case-studies-hero .hero-text p {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.case-studies-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Case Studies Overview Section */
.case-studies-overview {
    padding: 8rem 0;
    background: var(--bg-light-gradient);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

/* Case Study Card Styles */
.case-study-card {
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-card-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    /* Enhanced neon border effects */
    border: 2px solid rgba(0, 212, 255, 0.25);
    --default-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(0, 212, 255, 0.05),
        0 0 0 1px rgba(0, 212, 255, 0.08);
    --glow-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(0, 212, 255, 0.2),
        0 0 50px rgba(0, 212, 255, 0.1),
        0 0 0 2px rgba(0, 212, 255, 0.15);
    --intense-glow-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 212, 255, 0.4),
        0 0 60px rgba(0, 212, 255, 0.2),
        0 0 90px rgba(79, 172, 254, 0.1),
        0 0 0 3px rgba(0, 212, 255, 0.3);
    box-shadow: var(--default-shadow);
    animation: subtlePulse 4s ease-in-out infinite;
}

.case-study-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: var(--glow-shadow);
    animation: intenseBorderGlow 2s ease-in-out infinite;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--success-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.case-study-card:hover::before {
    transform: scaleX(1);
}

/* Case Study Header */
.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem; /* Increased spacing */
    gap: 1.5rem;
}

.company-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-card-text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.company-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.industry-tag,
.company-size,
.company-location {
    background: rgba(102, 126, 234, 0.1);
    color: var(--neon-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.case-study-result {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    min-width: 120px;
}

.result-metric {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 0.3rem;
}

.result-label {
    font-size: 0.8rem;
    color: var(--dark-card-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Case Study Content Sections - Improved Spacing */
.case-study-challenge,
.case-study-solution,
.case-study-roles {
    margin-bottom: 2.5rem; /* Increased spacing between sections */
}

.case-study-challenge h4,
.case-study-solution h4,
.case-study-roles h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-card-text-primary);
    margin-bottom: 1rem; /* Increased spacing */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-challenge p,
.case-study-solution p {
    color: var(--dark-card-text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem; /* Added bottom margin */
}

.case-study-roles p {
    color: var(--dark-card-text-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem; /* Increased spacing */
}

.timeline-badge {
    background: var(--accent-gradient);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Case Study Results Grid - Improved Spacing */
.case-study-results {
    margin-bottom: 3rem; /* Increased spacing before button */
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem; /* Increased top margin */
}

.result-item {
    text-align: center;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.result-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 0.3rem;
}

.result-text {
    font-size: 0.8rem;
    color: var(--dark-card-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Case Study Footer - Improved Spacing */
.case-study-footer {
    display: flex;
    justify-content: center;
    padding-top: 2rem; /* Increased top padding */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem; /* Added top margin for extra space */
}

/* Elegant Glassmorphism Button - Updated Implementation */
.case-study-btn {
    background: rgba(30, 41, 59, 0.08);
    color: var(--dark-card-text-primary);
    border: 1px solid rgba(30, 41, 59, 0.2);
    padding: 1.2rem 2.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 8px 32px rgba(30, 41, 59, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-top: 0.5rem; /* Added top margin for extra spacing */
}

.case-study-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(168, 85, 247, 0.15));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    z-index: 1;
}

.case-study-btn:hover::before {
    opacity: 1;
}

.case-study-btn:hover {
    transform: translateY(-3px);
    color: white;
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 
        0 12px 40px rgba(30, 41, 59, 0.15),
        0 0 20px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.case-study-btn span {
    position: relative;
    z-index: 2;
}

.case-study-btn .btn-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.case-study-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* For dark background sections */
.dark-section .case-study-btn {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-section .case-study-btn::before {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(168, 85, 247, 0.2));
}

.dark-section .case-study-btn:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Case Study Modal */
.case-study-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.case-study-modal.show {
    opacity: 1;
    visibility: visible;
}

.case-study-modal-content {
    background: var(--darker-bg);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 24px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 212, 255, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.case-study-modal.show .case-study-modal-content {
    transform: scale(1);
}

.case-study-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study-modal-header h2 {
    color: var(--text-primary);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, #00ffff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.case-study-modal-body {
    padding: 2rem 2.5rem;
}

.modal-case-section {
    margin-bottom: 2.5rem;
}

.modal-case-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.modal-case-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Case Studies CTA Section */
.case-studies-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    padding: 8rem 0;
    background: var(--white-bg);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-card-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.1);
}

/* Keyframe Animations */
@keyframes subtlePulse {
    0%, 100% { 
        box-shadow: var(--default-shadow);
        border-color: inherit;
    }
    50% { 
        box-shadow: var(--glow-shadow);
    }
}

@keyframes intenseBorderGlow {
    0%, 100% { 
        box-shadow: var(--glow-shadow);
    }
    50% { 
        box-shadow: var(--intense-glow-shadow);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .case-studies-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
    
    .case-study-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .case-study-result {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .case-studies-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-study-card {
        padding: 2rem 1.5rem;
    }
    
    .result-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .case-study-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        gap: 0.6rem;
        border-radius: 20px;
        width: 100%;
        justify-content: center;
    }
    
    .case-study-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .case-study-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .case-study-modal-body {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .case-study-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }
}
/* ===================================
   BLOG PAGE SPECIFIC STYLES
   Integrates with existing design system
   =================================== */

/* Blog Hero Section */
.blog-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 4rem;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), 
                url('circuit-background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.blog-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

.blog-hero-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, 
        #1a1a1a, 
        #1e40af, 
        #7c3aed, 
        #374151,
        #4f46e5
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(30, 64, 175, 0.4))
           drop-shadow(0 0 35px rgba(124, 58, 237, 0.3));
}

.blog-hero-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem;
    color: #666666;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.blog-hero-text p {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.blog-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-hero-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(180, 120, 240, 0.1));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.blog-hero-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.15);
}

.blog-hero-icon svg {
    width: 100px;
    height: 100px;
    color: var(--neon-blue);
}

/* Blog Filters Section */
.blog-filters-section {
    padding: 4rem 0;
    background: var(--bg-light-gradient);
}

.blog-filters-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: end;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--white-text-primary);
    font-size: 0.95rem;
}

.filter-select,
.filter-input {
    padding: 1rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    background: white;
    color: var(--white-text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.search-btn,
.clear-btn {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.search-btn {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6, #00d4ff, #0369a1);
    color: white;
    border: 2px solid #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.clear-btn {
    background: linear-gradient(135deg, #2d1b69, #8b5cf6, #a855f7, #6b21a8);
    color: white;
    border: 2px solid #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

/* Blog Grid Section */
.blog-grid-section {
    padding: 6rem 0;
    background: white;
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-header .section-title {
    color: var(--white-text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-count {
    color: var(--white-text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Blog Cards */
.blog-card {
    background: var(--dark-card-bg);
    border: 2px solid var(--dark-card-border);
    border-radius: 24px;
    padding: 0; /* Remove padding to allow image to extend to edges */
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    
    /* Keep your existing neon border effects */
    --default-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 0 15px rgba(255, 0, 110, 0.05),
        0 0 0 1px rgba(255, 0, 110, 0.08);
    --glow-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.15),
        0 0 25px rgba(255, 0, 110, 0.2),
        0 0 50px rgba(0, 212, 255, 0.1),
        0 0 0 2px rgba(255, 0, 110, 0.15);
        
    box-shadow: var(--default-shadow);
    animation: subtlePulse 4s ease-in-out infinite;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 110, 0.5);
    animation: intenseBorderGlow 2s ease-in-out infinite;
}

.blog-card-overlay .blog-category {
    background: var(--success-gradient);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.blog-card-overlay .blog-read-time {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Blog Card Image Container */
.blog-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.blog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.blog-category {
    background: var(--success-gradient);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-read-time {
    color: var(--dark-card-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Blog Card Content Area */
.blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: black !important;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
  
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    color: var(--dark-card-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
    display: -webkit-box;
   
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.blog-tag {
    background: rgba(102, 126, 234, 0.1);
    color: var(--neon-blue);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Blog Card Footer */
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding: 0 2rem 2rem 2rem;
}

.blog-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.blog-author-name {
    color: var(--dark-card-text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.blog-author-role {
    color: var(--dark-card-text-secondary);
    font-size: 0.8rem;
}

.blog-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.blog-publish-date {
    color: var(--dark-card-text-secondary);
    font-size: 0.8rem;
}

.blog-read-more {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-read-more:hover {
    color: var(--neon-purple);
    transform: translateX(3px);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination-btn {
    padding: 0.8rem 1.2rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    background: white;
    color: var(--white-text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--neon-blue);
    color: white;
    border-color: var(--neon-blue);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--neon-blue);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 0.8rem 0.5rem;
    color: var(--white-text-secondary);
    font-weight: 600;
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 24px;
    border: 2px dashed rgba(102, 126, 234, 0.3);
}

.no-results-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: var(--neon-blue);
    opacity: 0.7;
}

.no-results h3 {
    color: var(--white-text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--white-text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
    background: var(--primary-gradient);
    color: white;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-text p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input-group input::placeholder {
    color: white;
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 1rem 1.5rem;
    background: var(--success-gradient);
    color: white;
    border: 2px solid var(--neon-blue);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.newsletter-privacy {
    margin-top: 1rem;
}

.newsletter-privacy small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.newsletter-privacy a {
    color: var(--neon-blue);
    text-decoration: none;
}

.newsletter-privacy a:hover {
    text-decoration: underline;
}

/* Loading Spinner */
.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
}

/* Newsletter Error Message */
.newsletter-error {
    background: rgba(109, 97, 97, 0.1);
    border: 2px solid #ff4444;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    color: #ff4444;
    text-align: center;
    font-weight: 600;
}

/* Active Navigation Link */
.nav-links a.active {
    color: var(--neon-blue);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

/* ===================================
   ENHANCED MOBILE RESPONSIVE DESIGN
   Completely redesigned mobile layout
   =================================== */

/* Mobile-First Approach for Enhanced Blog Grid */
@media (max-width: 768px) {
    /* Hero Section Mobile Optimization */
    .blog-hero {
        min-height: 60vh;
        padding: 100px 0 4rem;
        text-align: center;
    }
    
    .blog-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .blog-hero-text h2 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .blog-hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .blog-hero-icon {
        width: 140px;
        height: 140px;
        border-radius: 20px;
    }
    
    .blog-hero-icon svg {
        width: 70px;
        height: 70px;
    }
    
    /* Mobile Filters - Stack Layout */
    .blog-filters-section {
        padding: 2.5rem 0;
    }
    
    .blog-filters-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .filter-actions {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-btn,
    .clear-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Blog Grid Mobile Transformation */
    .blog-grid-section {
        padding: 3rem 0;
    }
    
    .blog-grid {
        display: block; /* Switch from grid to block for better mobile control */
        padding: 0 1rem;
    }
    
    /* Mobile-Optimized Blog Cards */
    .blog-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 2rem auto; /* Center cards with bottom margin */
        border-radius: 16px;
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.08),
            0 0 10px rgba(255, 0, 110, 0.03);
    }
    
    .blog-card:hover {
        transform: translateY(-4px); /* Reduce hover effect for mobile */
    }
    
    /* Mobile Image Optimization */
    .blog-card-image {
        height: 160px; /* Reduced height for mobile */
        border-radius: 12px 12px 0 0;
    }
    
    /* Mobile Card Overlay - Better Positioning */
    .blog-card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.3) 0%, 
            transparent 40%, 
            transparent 60%, 
            rgba(0, 0, 0, 0.4) 100%
        );
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 1rem;
        border-radius: 12px 12px 0 0;
    }
    
    .blog-card-overlay .blog-category {
        align-self: flex-start;
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        border-radius: 12px;
    }
    
    .blog-card-overlay .blog-read-time {
        align-self: flex-end;
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        border-radius: 15px;
    }
    
    /* Mobile Featured Badge */
    .blog-featured-badge {
        top: 0.8rem;
        right: 0.8rem;
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
        border-radius: 12px;
    }
    
    /* Mobile Content Optimization */
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-card-title {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
        -webkit-line-clamp: 2; /* Limit to 2 lines on mobile */
    }
    
    .blog-card-excerpt {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        -webkit-line-clamp: 3; /* Limit to 3 lines on mobile */
    }
    
    /* Mobile Tags - Horizontal Scroll */
    .blog-card-tags {
        display: flex;
        gap: 0.4rem;
        margin-bottom: 1.2rem;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
    }
    
    .blog-card-tags::-webkit-scrollbar {
        display: none; /* WebKit */
    }
    
    .blog-tag {
        white-space: nowrap;
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    /* Mobile Footer - Vertical Stack */
    .blog-card-footer {
        padding: 0 1.5rem 1.5rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .blog-author-info {
        text-align: left;
    }
    
    .blog-author-name {
        font-size: 0.9rem;
    }
    
    .blog-author-role {
        font-size: 0.75rem;
    }
    
    .blog-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .blog-publish-date {
        font-size: 0.75rem;
        order: 1;
    }
    
    .blog-read-more {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        background: rgba(0, 212, 255, 0.1);
        border: 1px solid rgba(0, 212, 255, 0.3);
        border-radius: 20px;
        text-decoration: none;
        order: 2;
        flex-shrink: 0;
    }
    
    .blog-read-more:hover {
        background: rgba(0, 212, 255, 0.15);
        border-color: rgba(0, 212, 255, 0.5);
    }
    
    /* Mobile Pagination */
    .pagination-container {
        flex-wrap: wrap;
        gap: 0.3rem;
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .pagination-btn {
        min-width: 44px;
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .pagination-prev,
    .pagination-next {
        order: -1;
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: center;
    }
    
    /* Mobile Newsletter */
    .newsletter-section {
        padding: 3rem 0;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-btn {
        justify-content: center;
        width: 100%;
        padding: 1.2rem;
    }
    
    .newsletter-text h3 {
        font-size: 1.6rem;
    }
    
    .newsletter-text p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .blog-hero {
        padding: 80px 0 3rem;
        min-height: 50vh;
    }
    
    .blog-hero-text h1 {
        font-size: 1.8rem;
    }
    
    .blog-hero-text h2 {
        font-size: 0.9rem;
    }
    
    .blog-hero-icon {
        width: 120px;
        height: 120px;
    }
    
    .blog-hero-icon svg {
        width: 60px;
        height: 60px;
    }
    
    /* Ultra-compact cards for very small screens */
    .blog-card {
        max-width: 350px;
        margin-bottom: 1.5rem;
    }
    
    .blog-card-image {
        height: 140px;
    }
    
    .blog-card-content {
        padding: 1.2rem;
    }
    
    .blog-card-title {
        font-size: 1rem;
        -webkit-line-clamp: 2;
    }
    
    .blog-card-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
    
    .blog-card-footer {
        padding: 0 1.2rem 1.2rem 1.2rem;
    }
    
    /* Compact pagination for small screens */
    .pagination-btn {
        min-width: 40px;
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .pagination-prev,
    .pagination-next {
        font-size: 0.75rem;
        padding: 0.6rem 1rem;
    }
}

/* Landscape Phone Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .blog-hero {
        min-height: 70vh;
        padding: 80px 0 2rem;
    }
    
    .blog-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .blog-card {
        margin: 0;
    }
    
    .blog-card-image {
        height: 120px;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
    
    .blog-card-title {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
    }
    
    .blog-card-excerpt {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
}

/* ===================================
   BLOG POST PAGE MOBILE STYLES
   =================================== */

/* Blog Post Header Section */
.blog-post-header {
    padding: 120px 0 4rem;
    background: var(--bg-light-gradient);
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--white-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--neon-blue);
}

.breadcrumb-separator {
    color: var(--white-text-secondary);
    opacity: 0.5;
}

.current-page {
    color: var(--white-text-primary);
    font-weight: 500;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.post-category {
    background: var(--success-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-read-time {
    color: var(--white-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}


.post-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white-text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--white-text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--success-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
    border: 2px solid rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white-text-primary);
    margin-bottom: 0.2rem;
}

.author-role {
    font-size: 0.9rem;
    color: var(--neon-blue);
    margin-bottom: 0.2rem;
}

.post-date {
    font-size: 0.85rem;
    color: var(--white-text-secondary);
}

.social-share {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.share-btn:hover {
    background: var(--neon-blue);
    color: white;
    border-color: var(--neon-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

/* Featured Image Section */
.featured-image-section {
    padding: 2rem 0;
    background: white;
}

.featured-image-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 3rem 2rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Blog Post Content */
.blog-post-content {
    padding: 4rem 0;
    background: white;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Table of Contents */
.table-of-contents {
    position: sticky;
    top: 120px;
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-card-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(30, 41, 59, 0.08);
    height: fit-content;
}

.table-of-contents h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-card-text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav li {
    margin-bottom: 0.5rem;
}

.toc-link {
    display: block;
    color: var(--dark-card-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.toc-link:hover {
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.05);
    transform: translateX(5px);
}

.toc-link.active {
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.1);
    font-weight: 600;
}

.toc-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--neon-blue);
    border-radius: 0 3px 3px 0;
}

/* Main Content Area */
.post-main-content {
    max-width: 800px;
}

.content-section {
    margin-bottom: 4rem;
    scroll-margin-top: 140px;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-card-text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid rgba(102, 126, 234, 0.2);
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--success-gradient);
    border-radius: 3px;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-card-text-primary);
    margin: 2rem 0 1rem 0;
}

.content-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-card-text-primary);
    margin: 1.5rem 0 0.8rem 0;
}

.content-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-card-text-primary);
    margin: 1rem 0 0.5rem 0;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-card-text-secondary);
    margin-bottom: 1.5rem;
}

.content-list {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.content-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-card-text-secondary);
}

.content-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--neon-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Ordered list styling */
ol.content-list {
    counter-reset: list-counter;
}

ol.content-list li::before {
    counter-increment: list-counter;
    content: counter(list-counter) '.';
    background: var(--success-gradient);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    position: absolute;
    left: 0;
    top: 0.1rem;
}

/* Special Content Boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(168, 85, 247, 0.05));
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--success-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 0.8rem;
}

.highlight-content p {
    margin-bottom: 0;
    font-size: 1rem;
}

.callout-box {
    background: rgba(102, 126, 234, 0.05);
    border-left: 4px solid var(--neon-blue);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

.callout-box h4 {
    color: var(--neon-blue);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.callout-box p {
    margin-bottom: 0;
    font-size: 1rem;
}

.success-highlight {
    background: rgba(76, 172, 254, 0.05);
    border-left-color: #4facfe;
}

.final-stage {
    background: rgba(168, 85, 247, 0.05);
    border-left-color: var(--neon-purple);
}

.final-stage h4 {
    color: var(--neon-purple);
}

/* Quote Highlight */
.quote-highlight {
    margin: 3rem 0;
    text-align: center;
}

.quote-highlight blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--dark-card-text-primary);
    margin-bottom: 1rem;
    position: relative;
    padding: 0 2rem;
}

.quote-highlight blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--neon-blue);
    position: absolute;
    top: -1rem;
    left: -1rem;
    opacity: 0.3;
}

.quote-highlight cite {
    font-size: 1rem;
    color: var(--neon-blue);
    font-weight: 600;
    font-style: normal;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 16px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-card-text-secondary);
    line-height: 1.4;
}

/* Process Breakdown */
.process-breakdown {
    margin: 2rem 0;
}

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.process-icon {
    width: 50px;
    height: 50px;
    background: var(--success-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.process-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-card-text-primary);
    margin-bottom: 0.8rem;
}

.process-content p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Live Coding Breakdown */
.live-coding-breakdown {
    margin: 2rem 0;
}

.coding-segment {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), rgba(168, 85, 247, 0.03));
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.segment-time {
    background: var(--neon-blue);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
    text-align: center;
    min-width: 100px;
}

.segment-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-card-text-primary);
    margin-bottom: 0.5rem;
}

.segment-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Evaluation Criteria */
.evaluation-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.criteria-category {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.criteria-category h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.criteria-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.criteria-category ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--dark-card-text-secondary);
}

.criteria-category ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--neon-blue);
    font-weight: bold;
}

/* Communication Tests */
.communication-tests {
    margin: 2rem 0;
}

.test-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.test-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--neon-blue), #4facfe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.test-content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-card-text-primary);
    margin-bottom: 0.8rem;
}

.test-content p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Cultural Assessment */
.cultural-assessment {
    margin: 2rem 0;
}

.assessment-area {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    border-left: 4px solid var(--neon-purple);
}

.assessment-area h4 {
    color: var(--neon-purple);
    margin-bottom: 0.8rem;
}

.assessment-area p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Mobility Assessment */
.mobility-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.checklist-category {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.checklist-category h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.checklist-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-items li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--dark-card-text-secondary);
}

.checklist-items li::before {
    content: '▢';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--neon-blue);
    font-weight: bold;
}

/* Remote Work Assessment */
.remote-work-assessment {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.assessment-dimension {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), rgba(168, 85, 247, 0.03));
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
}

.assessment-dimension h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.assessment-dimension p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Motivation Framework */
.motivation-framework {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.motivation-factor {
    padding: 1.5rem;
    background: rgba(168, 85, 247, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    text-align: center;
}

.motivation-factor h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neon-purple);
    margin-bottom: 1rem;
}

.motivation-factor p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.metric-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(168, 85, 247, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
    display: block;
}

.metric-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-card-text-primary);
    margin-bottom: 0.8rem;
}

.metric-description {
    font-size: 0.9rem;
    color: var(--dark-card-text-secondary);
    line-height: 1.4;
}

/* Comparison Table */
.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark-card-text-primary);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.comparison-table th {
    background: var(--success-gradient);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-table td {
    color: var(--dark-card-text-secondary);
    font-size: 0.95rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: rgba(102, 126, 234, 0.02);
}

/* Testimonial Highlight */
.testimonial-highlight {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(0, 212, 255, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(168, 85, 247, 0.2);
    position: relative;
}

.testimonial-highlight::before {
    content: '"';
    font-size: 6rem;
    color: var(--neon-purple);
    position: absolute;
    top: -1rem;
    left: 1rem;
    opacity: 0.2;
}

.testimonial-highlight blockquote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--dark-card-text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.testimonial-highlight cite {
    font-size: 1rem;
    color: var(--neon-purple);
    font-weight: 600;
    font-style: normal;
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(168, 85, 247, 0.05));
    border-radius: 24px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    margin: 3rem 0;
}

.final-cta h3 {
    font-size: 1.8rem;
    color: var(--dark-card-text-primary);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.final-cta .btn {
    margin: 0 0.5rem;
}

/* Article Tags */
.article-tags {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.article-tags h3 {
    font-size: 1.2rem;
    color: var(--dark-card-text-primary);
    margin-bottom: 1rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: rgba(102, 126, 234, 0.1);
    color: var(--neon-blue);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: var(--neon-blue);
    color: white;
    transform: translateY(-2px);
}

/* Author Bio */
.author-bio {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), rgba(168, 85, 247, 0.03));
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    margin: 3rem 0;
}

.author-bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--success-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.5rem;
    color: white;
    border: 3px solid rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
}

.author-bio-content h3 {
    font-size: 1.4rem;
    color: var(--dark-card-text-primary);
    margin-bottom: 0.5rem;
}

.author-bio-title {
    font-size: 1rem;
    color: var(--neon-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.author-bio-content-p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--dark-card-text-primary);
}

.author-bio-links {
    display: flex;
    gap: 1rem;
}

.author-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.author-link:hover {
    background: var(--neon-blue);
    color: white;
    transform: translateY(-2px);
}

/* Related Articles */
.related-articles {
    padding: 4rem 0;
    background: var(--bg-light-gradient);
}

.related-articles h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white-text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.related-article-card {
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(30, 41, 59, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

.related-article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article-card:hover .related-article-image img {
    transform: scale(1.05);
}

.related-article-content {
    padding: 1.5rem;
}

.related-article-category {
    background: var(--success-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
}

.related-article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-card-text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.related-article-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-article-content h3 a:hover {
    color: var(--neon-blue);
}

.related-article-content p {
    color: var(--dark-card-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.related-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--dark-card-text-secondary);
}

.read-time {
    font-weight: 500;
}

.publish-date {
    opacity: 0.8;
}

/* Mobile Blog Post Responsiveness */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .table-of-contents {
        position: static;
        order: -1;
        margin-bottom: 2rem;
    }
    
    .post-title {
        font-size: 2.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-post-header {
        padding: 100px 0 3rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-excerpt {
        font-size: 1.1rem;
    }
    
    .post-author-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .social-share {
        justify-content: center;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .content-section p {
        font-size: 1rem;
    }
    
    .metrics-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .process-item,
    .test-item {
        flex-direction: column;
        text-align: center;
    }
    
    .coding-segment {
        flex-direction: column;
        text-align: center;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.8rem;
    }
    
    .blog-post-content {
        padding: 2rem 0;
    }
    
    .content-section {
        margin-bottom: 2rem;
    }
    
    .highlight-box,
    .process-item,
    .test-item {
        padding: 1rem;
    }
    
    .final-cta {
        padding: 2rem 1rem;
    }
    
    .final-cta .btn {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }
}

/* Comparison Tables */
.salary-table, .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.salary-table th, .salary-table td,
.comparison-table th, .comparison-table td {
    border: 1px solid #e0e0e0;
    padding: 12px;
    text-align: left;
}

.salary-table th, .comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.salary-table tbody tr:nth-child(even),
.comparison-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Rating Comparison System */
.rating-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-item .location {
    min-width: 120px;
    font-weight: 500;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #81C784);
    transition: width 0.3s ease;
}

.rating-score {
    min-width: 50px;
    font-weight: 600;
    color: #2c3e50;
}

/* Grid Layouts */
.stats-grid, .metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item, .metric-card {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.stat-number, .metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat-label, .metric-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.metric-description {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Market Trends */
.market-trends {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.trend-item {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
}

.trend-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Compensation Breakdown */
.compensation-breakdown {
    margin: 2rem 0;
}

.compensation-breakdown h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Cost Breakdown */
.cost-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cost-category {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.cost-category h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cost-category ul {
    list-style: none;
    padding: 0;
}

.cost-category li {
    padding: 0.3rem 0;
    color: #495057;
    font-size: 0.9rem;
}

/* Opportunities Analysis */
.opportunities-analysis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.opportunity-item {
    padding: 1.5rem;
    border-radius: 8px;
}

.opportunity-item:first-child {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

.opportunity-item:last-child {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
}

.opportunity-item h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.opportunity-item ul {
    list-style: none;
    padding: 0;
}

.opportunity-item li {
    padding: 0.3rem 0;
    color: #495057;
    font-size: 0.9rem;
}

.opportunity-item li:before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Verdict Box */
.verdict-box {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.verdict-box h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.verdict-box p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

/* Lifestyle Grid */
.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.lifestyle-category {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.lifestyle-category h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
}

/* Career Stage Guide */
.career-stage-guide {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.stage-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.stage-item h4 {
    background: #007bff;
    color: white;
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
}

.stage-content {
    padding: 1.5rem;
}

.stage-content p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.stage-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.stage-content li {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Priority Assessment */
.priority-assessment {
    margin: 2rem 0;
}

.priority-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.priority-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.priority-factor {
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.priority-market-ranking {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.priority-market-ranking span {
    padding: 0.3rem 0.6rem;
    background: #e9ecef;
    border-radius: 4px;
    color: #495057;
}

/* Risk Assessment */
.risk-assessment {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.risk-level {
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    background: #fff3cd;
}

.risk-level h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.risk-level p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

/* Final Recommendations */
.final-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.recommendation-item {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
}

.recommendation-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.recommendation-item ul {
    list-style: none;
    padding: 0;
}

.recommendation-item li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #495057;
}

.recommendation-item li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Action Plan */
.action-plan {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.action-plan h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.action-plan ol {
    padding-left: 1.5rem;
}

.action-plan li {
    margin: 0.8rem 0;
    font-size: 0.95rem;
}

/* Content List */
.content-list {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.content-list li {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: 2px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary:hover {
    background-color: #007bff;
    color: white;
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 2rem 0;
}

.final-cta h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Cultural Integration Blog Post Styles */

/* Comparison Tables */
.salary-table, .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.salary-table th, .salary-table td,
.comparison-table th, .comparison-table td {
    border: 1px solid #e0e0e0;
    padding: 12px;
    text-align: left;
    color: #333333; /* Fixed white text issue */
}

.salary-table th, .comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.salary-table tbody tr:nth-child(even),
.comparison-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.salary-table td strong,
.comparison-table td strong {
    color: #2c3e50; /* Ensure bold text is visible */
}

/* Rating Comparison System */
.rating-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-item .location {
    min-width: 120px;
    font-weight: 500;
    color: #333333; /* Fixed white text issue */
}

.rating-bar {
    flex: 1;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #81C784);
    transition: width 0.3s ease;
}

.rating-score {
    min-width: 50px;
    font-weight: 600;
    color: #2c3e50;
}

/* Grid Layouts */
.stats-grid, .metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item, .metric-card {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.stat-number, .metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat-label, .metric-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.metric-description {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Market Trends */
.market-trends {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.trend-item {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
}

.trend-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.trend-item p {
    color: #555555; /* Fixed white text issue */
}

/* Compensation Breakdown */
.compensation-breakdown {
    margin: 2rem 0;
}

.compensation-breakdown h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.compensation-breakdown h5 {
    color: #2c3e50;
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.compensation-breakdown ul {
    margin-bottom: 1.5rem;
}

.compensation-breakdown li {
    color: #333333; /* Fixed white text issue */
    margin: 0.5rem 0;
    line-height: 1.6;
}

.compensation-breakdown li strong {
    color: #2c3e50;
}

/* Cost Breakdown */
.cost-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cost-category {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.cost-category h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cost-category ul {
    list-style: none;
    padding: 0;
}

.cost-category li {
    padding: 0.3rem 0;
    color: #495057; /* Fixed white text issue */
    font-size: 0.9rem;
}

/* Enhanced Mobile-First Approach - Final Fixes */
@media (max-width: 768px) {
    /* General Mobile Grid Improvements */
    .blog-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Blog Card Mobile Optimization - Single Column Layout */
    .blog-card {
        width: 100%;
        max-width: 420px;
        margin: 0;
        box-shadow: 
            0 6px 20px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(255, 0, 110, 0.05);
    }
    
    /* Improved Mobile Image Handling */
    .blog-card-image {
        height: 180px;
        position: relative;
    }
    
    .blog-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Enhanced Mobile Card Layout */
    .blog-card-content {
        padding: 1.5rem 1.5rem 0 1.5rem;
    }
    
    .blog-card-title {
        font-size: 1.15rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
        color: #1a1a1a !important;
        font-weight: 600;
    }
    
    .blog-card-excerpt {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #666666;
        margin-bottom: 1rem;
    }
    
    /* Mobile Tags Layout */
    .blog-card-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-bottom: 1.2rem;
    }
    
    .blog-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        border-radius: 10px;
        white-space: nowrap;
    }
    
    /* Mobile Footer Enhancement */
    .blog-card-footer {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: 1rem;
    }
    
    .blog-author-info {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .blog-author-name {
        font-size: 0.85rem;
        font-weight: 600;
        color: #333;
    }
    
    .blog-author-role {
        font-size: 0.75rem;
        color: #666;
    }
    
    .blog-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .blog-publish-date {
        font-size: 0.75rem;
        color: #888;
    }
    
    .blog-read-more {
        background: rgba(0, 212, 255, 0.1);
        color: var(--neon-blue);
        padding: 0.6rem 1rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        text-decoration: none;
        border: 1px solid rgba(0, 212, 255, 0.2);
        transition: all 0.3s ease;
    }
    
    .blog-read-more:hover {
        background: rgba(0, 212, 255, 0.2);
        border-color: rgba(0, 212, 255, 0.4);
    }
    
    /* Mobile Pagination Improvements */
    .pagination-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 3rem 1rem 0 1rem;
    }
    
    .pagination-prev,
    .pagination-next {
        flex: 1;
        min-width: 120px;
        max-width: 150px;
        order: 0;
        margin: 0 0 1rem 0;
        justify-content: center;
    }
    
    .pagination-btn {
        min-width: 40px;
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }
}

/* Extra Small Mobile Optimization */
@media (max-width: 480px) {
    .blog-grid {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }
    
    .blog-card {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .blog-card-image {
        height: 160px;
        border-radius: 10px 10px 0 0;
    }
    
    .blog-card-content {
        padding: 1.2rem 1.2rem 0 1.2rem;
    }
    
    .blog-card-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .blog-card-excerpt {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .blog-card-footer {
        padding: 0.8rem 1.2rem 1.2rem 1.2rem;
    }
    
    .blog-read-more {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .blog-hero {
        min-height: 80vh;
        padding: 60px 0 2rem;
    }
    
    .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        max-width: none;
    }
    
    .blog-card {
        max-width: none;
    }
    
    .blog-card-image {
        height: 140px;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
    
    .blog-card-title {
        font-size: 0.95rem;
    }
    
    .blog-card-excerpt {
        font-size: 0.8rem;
    }
    
    .blog-card-footer {
        padding: 0.8rem 1rem 1rem 1rem;
    }
}

/* Additional Mobile Improvements */
@media (max-width: 768px) {
    /* Improve newsletter section */
    .newsletter-section {
        padding: 3rem 1rem;
    }
    
    .newsletter-text h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .newsletter-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Better no results state */
    .no-results {
        margin: 0 1rem;
        padding: 3rem 1.5rem;
    }
    
    .no-results h3 {
        font-size: 1.2rem;
    }
    
    .no-results p {
        font-size: 0.9rem;
    }
    
    /* Blog count improvements */
    .blog-count {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    /* Hero section final touches */
    .blog-hero-text {
        padding: 0 1rem;
    }
    
    .blog-hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .blog-hero-text h2 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .blog-hero-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
}

/* Final responsive fixes for very small screens */
@media (max-width: 400px) {
    .blog-card {
        border-radius: 10px;
    }
    
    .blog-card-image {
        height: 140px;
        border-radius: 8px 8px 0 0;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
    
    .blog-card-title {
        font-size: 0.95rem;
    }
    
    .blog-card-excerpt {
        font-size: 0.8rem;
    }
    
    .blog-card-footer {
        padding: 0.8rem 1rem 1rem 1rem;
        gap: 0.8rem;
    }
    
    .blog-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    
    .blog-read-more {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Animations from main CSS */
@keyframes subtlePulse {
    0%, 100% { 
        box-shadow: var(--default-shadow);
        border-color: inherit;
    }
    50% { 
        box-shadow: var(--glow-shadow);
    }
}

@keyframes intenseBorderGlow {
    0%, 100% { 
        box-shadow: var(--glow-shadow);
    }
    50% { 
        box-shadow: var(--intense-glow-shadow);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}