html, body {
    height: 100%;
}

body {
    overflow-x: hidden;
    font: 1em / 28px 'Noto Sans', arial;
    /* background-color: #ececec; */
}

/* Brand Color Variables */
:root {
    --brand-primary: #161748;
    --brand-secondary: #ff1e00;
    --brand-gradient: linear-gradient(135deg, #161748 0%, #ff1e00 100%);
}

.text-color {
    color: var(--brand-primary);
}

.home-page .btn-lg {
   background-color: var(--brand-primary);
   text-decoration: none;
}

.home-page .btn-orange {
   background-color: var(--brand-secondary);
   text-decoration: none;

}

.text-color-orange {
    color: var(--brand-secondary) !important;
}

#text-btn {
    background-color: var(--brand-secondary) !important;
    text-decoration: none;
}


.articles-item-image {
    width: 100%;
    height: auto;
    max-width: 150px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Global Link Styles */
a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* a:hover {
    color: var(--brand-secondary);
    text-decoration: underline;
} */

/* Component section link styles */
#components a,
.section a:not(.breadcrumb-item a) {
    color: var(--brand-primary) !important;
}

#components a:hover,
.section a:not(.breadcrumb-item a):hover {
    color: var(--brand-secondary) !important;
}

.navbar-brand {
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-primary) !important;
}

.nav-item .nav-link {
    color: #666 !important;
    transition: color 0.3s ease;
}

.nav-item .nav-link:hover {
    color: var(--brand-primary) !important;
}

.nav-item .active {
    color: var(--brand-primary) !important;
}

/* Navbar Toggler Styles */
.navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.navbar-toggler i {
    font-size: 1.2rem;
    color: #666;
}

.navbar-toggler:hover i {
    color: var(--brand-primary);
}

/* Ensure navbar collapse works properly */
.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        width: 100%;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 0.25rem;
    }
    
    .nav-link:hover {
        background-color: rgba(102, 126, 234, 0.1);
    }
}

/* Brand Buttons */
.btn-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #d11e2f;
    border-color: #d11e2f;
}

.btn-secondary {
    background-color: var(--brand-secondary);
    border-color: var(--brand-secondary);
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background-color: #7c5aaa;
    border-color: #7c5aaa;
}

.btn-works {
    background-color: var(--brand-primary);
    color: white;
    border: none;
}

.btn-works:hover {
    background-color: #d11e2f;
    color: white;
}

.btn-ideas {
    background-color: var(--brand-secondary);
    color: white;
    border: none;
}

.btn-ideas:hover {
    background-color: #7c5aaa;
    color: white;
}

.btn-ideas, .btn-themes, .btn-works {
    border: none;
    padding: 5px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-themes {
    background-color: var(--brand-primary);
    color: white;
}

.btn-themes:hover {
    background-color: #d11e2f;
    color: white;
}

.bg-tip {
    background-color: rgba(245, 255, 250, 1) !important;
}

.bg-bad {
    background-color: rgb(255, 234, 234);
}

/* Headings with Brand Colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--brand-primary);
}

main h2 {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--brand-primary);
}

main h3 {
    font-size: 1em;
    font-weight: 600;
    color: var(--brand-secondary);
}

/* Links */
/* a {
    color: var(--brand-primary);
    text-decoration: none;
}

a:hover {
    color: var(--brand-secondary);
    text-decoration: underline;
} */

.text-primary {
    color: var(--brand-primary) !important;
}

.text-secondary {
    color: var(--brand-secondary) !important;
}

.bg-primary {
    background-color: var(--brand-primary) !important;
}

.bg-secondary {
    background-color: var(--brand-secondary) !important;
}

.bg-gradient-brand {
    background: var(--brand-gradient) !important;
}

.bg-gradient-brand-reverse {
    background: var(--brand-gradient-reverse) !important;
}

/* Brand-aligned color button classes */
.btn-red {
    background-color: var(--brand-primary);
    color: #fff;
}

.btn-orange {
    background-color: #ff9500;
    color: #fff;
}

.btn-yellow {
    background-color: #ffdd44;
    color: #333;
}

.btn-green {
    background-color: #34c759;
    color: #fff;
}

.btn-blue {
    background-color: var(--brand-secondary);
    color: #fff;
}

.btn-indigo {
    background-color: var(--brand-secondary);
    color: #fff;
}

.btn-violet {
    background-color: var(--brand-secondary);
    color: #fff;
}

/* Brand button variations */
.btn-brand-primary {
    background-color: var(--brand-primary);
    color: #fff;
    border: none;
}

.btn-brand-secondary {
    background-color: var(--brand-secondary);
    color: #fff;
    border: none;
}

.btn-brand-gradient {
    background: var(--brand-gradient);
    color: #fff;
    border: none;
}

.btn-outline-brand-primary {
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    background: transparent;
}

.btn-outline-brand-secondary {
    border: 2px solid var(--brand-secondary);
    color: var(--brand-secondary);
    background: transparent;
}

/* Optional: Add some padding and border radius for better appearance */
.btn-red,
.btn-orange,
.btn-yellow,
.btn-green,
.btn-blue,
.btn-indigo,
.btn-violet,
.btn-brand-primary,
.btn-brand-secondary,
.btn-brand-gradient {
    border: none;
    padding: 6px 18px;
    font-size: 15px;
    border-radius: 4px;
    margin: 2px;
    transition: all 0.3s ease;
    color: #fff;
}

.btn-red:hover,
.btn-blue:hover,
.btn-indigo:hover,
.btn-violet:hover,
.btn-brand-primary:hover {
    background-color: #d11e2f;
    box-shadow: 0 2px 8px rgba(230, 39, 57, 0.3);
    color: #fff;
}

.btn-brand-secondary:hover {
    background-color: #7c5aaa;
    box-shadow: 0 2px 8px rgba(144, 104, 190, 0.3);
    color: #fff;
}

.btn-brand-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-outline-brand-primary:hover {
    background-color: var(--brand-primary);
    color: #fff;
}

.btn-outline-brand-secondary:hover {
    background-color: var(--brand-secondary);
    color: #fff;
}

.btn-orange:hover,
.btn-yellow:hover,
.btn-green:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    opacity: 0.92;
}

/* About Page Styles */
.about-page {
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
}

/* Breadcrumb Styles */
.about-breadcrumb {
    margin-bottom: 3rem;
    font-size: 0.95rem;
    border-color: rgba(0,0,0,0.1) !important;
    padding-bottom: 1.5rem;
}

.about-breadcrumb-link {
    color: var(--brand-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-breadcrumb-link:hover {
    color: var(--brand-secondary);
}

.about-breadcrumb-active {
    color: var(--brand-secondary);
    font-weight: 500;
}

/* Hero Section */
.about-hero {
    margin-bottom: 3rem;
}

.about-hero-title {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-hero-description {
    font-size: 1.3rem;
    font-weight: 400;
    color: #4a5568;
    max-width: 900px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-highlight-primary {
    font-weight: 600;
    color: var(--brand-primary);
}

.about-highlight-secondary {
    font-weight: 600;
    color: var(--brand-secondary);
}

/* Section Styles */
.about-section {
    margin-bottom: 3rem;
}

.about-section-title {
    color: #2d3748;
    font-size: 2rem;
    letter-spacing: -0.01em;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-section-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Professional Experience */
.about-clients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem;
    justify-content: center;
    align-items: center;
}

.about-client-logo {
    max-height: 100px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: grayscale(0%);
    margin: 8px;
    border: none;
    background: transparent;
}

.about-client-logo:hover {
    filter: grayscale(100%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* Skills Cards */
.about-skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.about-skill-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.about-skill-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #cbd5e0;
}

.about-skill-card-title {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-skill-card-content {
    color: #4a5568;
    font-size: 1rem;
    margin: 0;
}

.about-tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    color: #4a5568;
}

.about-tech-item {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.about-tech-item::before {
    content: "•";
    color: var(--brand-primary);
    position: absolute;
    left: 0;
    font-weight: 600;
}

.about-tech-item:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero-description {
        font-size: 1.1rem;
    }
    
    .about-section-title {
        font-size: 1.5rem;
    }
    
    .about-skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-skill-card {
        padding: 1.5rem;
    }
    
    .about-clients-grid {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .about-client-logo {
        max-height: 80px;
        margin: 4px;
    }
}

@media (max-width: 576px) {
    .about-hero-title {
        font-size: 2rem;
    }
    
    .about-hero-description {
        font-size: 1rem;
    }
    
    .about-section-description {
        font-size: 1rem;
    }
    
    .about-clients-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .about-client-logo {
        max-height: 60px;
    }
}

/* Modern About Page Enhancements */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.about-stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
}

.about-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--brand-primary);
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.about-stat-label {
    color: #4a5568;
    font-weight: 500;
    font-size: 1rem;
}

.about-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.about-section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
}

.about-section-title-modern {
    color: #2d3748;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.about-skill-card-modern {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.about-skill-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 16px 16px 0 0;
}

.about-skill-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-color: var(--brand-primary);
}

.about-skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.about-skill-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

.about-skill-card-title-modern {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.about-tech-item-modern {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.about-tech-item-modern:hover {
    background-color: #f8fafc;
}

.about-tech-item-modern::before {
    content: "●";
    color: var(--brand-primary);
    font-size: 0.8rem;
    margin-right: 0.75rem;
    font-weight: 600;
}

.about-clients-section {
    padding: 3rem 2rem;
    margin: 2rem 0;
}

.about-clients-title {
    text-align: center;
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.about-client-logo-modern {
    max-height: 80px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: grayscale(70%);
    margin: 12px;
    padding: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.about-client-logo-modern:hover {
    filter: grayscale(0%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.about-hero-modern {
   margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

/* .about-hero-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 39, 57, 0.05) 0%, transparent 70%);
    pointer-events: none;
} */

.about-hero-content {
    position: relative;
    z-index: 1;
}

/* Hero Image Styles */
.about-hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.about-hero-text {
    flex: 1;
}

.about-hero-image-container {
    flex-shrink: 0;
}

.about-hero-image-modern {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 4px solid white;
    padding: 4px;
    border-radius: 3em;
}

.about-hero-image-modern:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.about-hero-image-wrapper {
    position: relative;
}

/* .about-hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.1;
    animation: pulse 3s infinite;
} */

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.1; }
}

@media (max-width: 768px) {
    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .about-stat-card {
        padding: 1.5rem;
    }
    
    .about-stat-number {
        font-size: 2rem;
    }
    
    .about-section-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .about-section-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .about-hero-modern {
        padding: 2rem 1.5rem;
    }
    
    .about-hero-content-wrapper {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }
    
    .about-hero-image-modern {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 576px) {
    .about-hero-content-wrapper {
        gap: 1.5rem;
    }
    
    .about-hero-image-modern {
        width: 120px;
        height: 120px;
    }
}

/* Articles Modern Styles */
.articles-modern {
    padding: 2rem 0;
    min-height: 100vh;
}

.articles-breadcrumb {
    background: linear-gradient(135deg, rgba(22, 23, 72, 0.05) 0%, rgba(255, 30, 0, 0.05) 100%);
    border: 1px solid rgba(22, 23, 72, 0.1);
    border-radius: 12px;
    padding: 12px 24px;
    margin-bottom: 3rem;
}

.articles-breadcrumb .breadcrumb-item a {
    color: var(--brand-primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.articles-breadcrumb .breadcrumb-item a:hover {
    color: var(--brand-secondary);
}

.articles-breadcrumb .breadcrumb-item.active {
    color: var(--brand-secondary);
    font-weight: 600;
}

.articles-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.articles-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--brand-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.articles-hero .lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.articles-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.articles-stat-card {
    background: linear-gradient(145deg, rgba(22, 23, 72, 0.05) 0%, rgba(255, 30, 0, 0.05) 100%);
    border: 1px solid rgba(22, 23, 72, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.articles-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(22, 23, 72, 0.1);
    border-color: var(--brand-secondary);
}

.articles-stat-icon {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.articles-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.articles-stat-label {
    color: #4a5568;
    font-size: 1rem;
    margin: 0;
}

.articles-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.articles-category-section {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(22, 23, 72, 0.08);
    border: 1px solid rgba(22, 23, 72, 0.05);
    transition: all 0.3s ease;
}

.articles-category-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(22, 23, 72, 0.12);
}

.articles-category-header {
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}



.articles-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}

.articles-category-icon {
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

.articles-list {
    padding: 0;
}

.articles-item {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.articles-item:last-child {
    border-bottom: none;
}

/* .articles-item:hover {
    background: linear-gradient(135deg, rgba(22, 23, 72, 0.02) 0%, rgba(255, 30, 0, 0.02) 100%);
    transform: translateX(10px);
} */

/* .articles-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.articles-item:hover::before {
    transform: scaleY(1);
} */

.articles-item-link {
    text-decoration: none;
    color: yellow;
    display: block;
}

.articles-item-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.articles-item-date {
    min-width: 150px;
    flex-shrink: 0;
}

.articles-date-text {
    font-size: 0.95rem;
    color: #718096;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(22, 23, 72, 0.1) 0%, rgba(255, 30, 0, 0.1) 100%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

.articles-item-details {
    flex: 1;
}



.articles-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: all 0.3s ease;
}



.articles-item-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.articles-item-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #718096;
}

.articles-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.articles-external-icon {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Category Icons */
.articles-category-quantum .articles-category-icon::before {
    content: "\f0d8"; /* fas fa-atom */
}

.articles-category-ai .articles-category-icon::before {
    content: "\f544"; /* fas fa-robot */
}

.articles-category-nodejs .articles-category-icon::before {
    content: "\f013"; /* fas fa-cog */
}

.articles-category-javascript .articles-category-icon::before {
    content: "\f3b9"; /* fab fa-js */
}

.articles-category-react .articles-category-icon::before {
    content: "\f41b"; /* fab fa-react */
}

/* Responsive Design */
@media (max-width: 768px) {
    .articles-hero h1 {
        font-size: 2.5rem;
    }
    
    .articles-hero .lead {
        font-size: 1.1rem;
    }
    
    .articles-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .articles-item-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .articles-item-date {
        min-width: auto;
    }
    
    .articles-item-title {
        font-size: 1.3rem;
    }
    
    .articles-item-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .articles-category-title {
        font-size: 1.5rem;
    }
    
    .articles-item {
        padding: 1.5rem;
    }
}

/* Layout Styles */
.public-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.public-layout .main-content {
    flex: 1;
}

/* Demos Layout Styles */
/* Blog Layout Styles */
.blog-layout {
  padding: 2rem 0;
  min-height: 100vh;
}

.blog-breadcrumb {
  margin-bottom: 2rem;
}

.blog-breadcrumb .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.blog-breadcrumb .breadcrumb-item a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-breadcrumb .breadcrumb-item a:hover {
  color: var(--brand-secondary);
  text-decoration: underline;
}

.blog-article {
  
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.blog-header {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #2d4a7a 100%);
  color: white;
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.blog-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.blog-meta span {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.blog-category {
  background: rgba(255, 30, 0, 0.2) !important;
}

.blog-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 1rem 0;
  line-height: 1.2;
  background: linear-gradient(45deg, #ffffff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.blog-author {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.author-title {
  opacity: 0.8;
  font-size: 0.9rem;
}

.blog-content {
  padding: 3rem;
}

.blog-intro {
  margin-bottom: 3rem;
}

.lead-paragraph {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 2rem;
  font-weight: 400;
}

.blog-toc {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 3rem;
  border-left: 5px solid var(--brand-secondary);
}

.blog-toc h3 {
  color: var(--brand-primary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.blog-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 2rem;
}

.blog-toc li {
  margin-bottom: 0.5rem;
  break-inside: avoid;
}

.blog-toc a {
  color: var(--brand-primary);
  text-decoration: none;
  padding: 0.3rem 0;
  display: block;
  transition: all 0.3s ease;
  border-radius: 5px;
  padding-left: 0.5rem;
}

.blog-toc a:hover {
  background: rgba(22, 23, 72, 0.1);
  color: var(--brand-secondary);
  padding-left: 1rem;
}

.blog-conclusion {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2rem;
  border-radius: 15px;
  margin-top: 3rem;
  border: 2px solid rgba(22, 23, 72, 0.1);
}

.blog-conclusion h2 {
  color: var(--brand-primary);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

/* Blog Tool Sections */
.blog-tool-section {
  margin-bottom: 4rem;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-tool-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.tool-header {
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 1rem;
}

.tool-title {
  color: var(--brand-primary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.tool-title i {
  color: var(--brand-secondary);
}

.tool-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tool-badges .badge {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 20px;
  font-weight: 500;
}

.tool-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 0;
}

.tool-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.tool-features, .tool-benefits, .tool-limitations {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--brand-primary);
}

.tool-benefits {
  border-left-color: #28a745;
}

.tool-limitations {
  border-left-color: #dc3545;
}

.tool-features h4, .tool-benefits h4, .tool-limitations h4 {
  color: var(--brand-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.tool-benefits h4 {
  color: #28a745;
}

.tool-limitations h4 {
  color: #dc3545;
}

.tool-features ul, .tool-benefits ul, .tool-limitations ul {
  margin: 0;
  padding-left: 1rem;
}

.tool-features li, .tool-benefits li, .tool-limitations li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.tool-features strong, .tool-benefits strong, .tool-limitations strong {
  color: var(--brand-primary);
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
  .blog-layout {
    padding: 1rem 0;
  }
  
  .blog-header {
    padding: 2rem 1rem;
  }
  
  .blog-title {
    font-size: 2rem;
  }
  
  .blog-meta {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  
  .blog-content {
    padding: 2rem 1rem;
  }
  
  .blog-toc ul {
    columns: 1;
  }
  
  .lead-paragraph {
    font-size: 1.1rem;
  }
}

/* Node.js Blog Specific Styles */
.blog-best-practices {
  margin-top: 2rem;
}

.practice-section {
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
  border-radius: 20px;
  border: 1px solid #e3f2fd;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.practice-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4caf50 0%, #2196f3 50%, #ff9800 100%);
}

.practice-section:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.practice-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f8ff;
}

.practice-title {
  color: var(--brand-primary);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.practice-title i {
  color: #4caf50;
  font-size: 2rem;
}

.practice-badges {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.practice-badges .badge {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 25px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.practice-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 2rem;
  text-align: justify;
}

.code-example {
  margin: 2.5rem 0;
  background: #fafafa;
  border-radius: 15px;
  padding: 1.5rem;
  border-left: 5px solid #4caf50;
}

.code-example h4 {
  color: var(--brand-primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.code-block {
  border-radius: 10px !important;
  padding: 1.5rem !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  background: #ffffff !important;
  border: 1px solid #e9ecef !important;
}

.practice-benefits {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  padding: 2rem;
  border-radius: 15px;
  margin-top: 2rem;
  border: 1px solid #b3d9ff;
}

.practice-benefits h4 {
  color: var(--brand-primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.practice-benefits ul {
  margin: 0;
  padding-left: 1.5rem;
  list-style: none;
}

.practice-benefits li {
  margin-bottom: 1rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.practice-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
  font-size: 1.2rem;
}

.practice-benefits strong {
  color: var(--brand-primary);
  font-weight: 600;
}

/* Performance Tips Styling */
.performance-tip {
  background: linear-gradient(135deg, #fff8f0 0%, #fffaf5 100%);
  border-left: 5px solid #ff9800;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 15px 15px 0;
  position: relative;
}

.performance-tip::before {
  content: '💡';
  position: absolute;
  top: -5px;
  left: -15px;
  background: #ff9800;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Security Alert Styling */
.security-alert {
  background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
  border-left: 5px solid #f44336;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 15px 15px 0;
}

.security-alert::before {
  content: '🔒';
  position: absolute;
  top: -5px;
  left: -15px;
  background: #f44336;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Responsive Design for Node.js Blog */
@media (max-width: 768px) {
  .practice-section {
    padding: 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  .practice-title {
    font-size: 1.8rem;
  }
  
  .practice-title i {
    font-size: 1.6rem;
  }
  
  .practice-badges {
    gap: 0.5rem;
  }
  
  .practice-badges .badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .practice-description {
    font-size: 1rem;
    text-align: left;
  }
  
  .code-example {
    padding: 1rem;
  }
  
  .code-block {
    font-size: 0.8rem !important;
    padding: 1rem !important;
  }
}

/* Blog Conclusion Styling for Node.js */
.conclusion-highlights {
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
  padding: 2rem;
  border-radius: 15px;
  margin-top: 2rem;
  border: 1px solid #c8e6c9;
}

.conclusion-highlights h4 {
  color: var(--brand-primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.conclusion-highlights ul {
  margin: 0;
  padding-left: 1.5rem;
  list-style: none;
}

.conclusion-highlights li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.conclusion-highlights li::before {
  content: '🚀';
  position: absolute;
  left: 0;
  font-size: 1rem;
}

/* BFF Architecture Blog Specific Styles */
.architecture-diagram {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  border-radius: 20px;
  border: 2px solid #b3d9ff;
  text-align: center;
}

.architecture-diagram h3 {
  color: var(--brand-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.diagram-container {
  position: relative;
}

.diagram-image {
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  background: white;
  padding: 1rem;
  margin-bottom: 1rem;
}

.diagram-caption {
  font-style: italic;
  color: #666;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.bff-concept-section {
  margin: 3rem 0;
}

.concept-card {
  background: linear-gradient(135deg, #fff9f0 0%, #fffef7 100%);
  border-left: 5px solid #ff9800;
  padding: 2rem;
  border-radius: 0 15px 15px 0;
  margin: 2rem 0;
  position: relative;
  box-shadow: 0 4px 20px rgba(255, 152, 0, 0.1);
}

.concept-card::before {
  content: '💡';
  position: absolute;
  top: -10px;
  left: -15px;
  background: #ff9800;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.code-showcase {
  margin: 3rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e1e8ed;
}

.code-showcase h3 {
  color: var(--brand-primary);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.code-showcase h3 i {
  color: #4caf50;
  margin-right: 0.5rem;
}

.benefits-section, .use-cases-section {
  margin: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  color: var(--brand-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  border-radius: 2px;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.use-case-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid #e0f2f1;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.use-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4caf50 0%, #2196f3 100%);
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.use-case-card h4 {
  color: var(--brand-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.use-case-card h4 i {
  color: #4caf50;
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.use-case-card p {
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.pros-cons-section {
  margin: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.pros-card {
  background: linear-gradient(135deg, #f0fff4 0%, #e8f5e8 100%);
  border: 2px solid #c8e6c9;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
}

.cons-card {
  background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
  border: 2px solid #ffcdd2;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
}

.pros-card h3, .cons-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.pros-card h3 {
  color: #2e7d32;
}

.cons-card h3 {
  color: #c62828;
}

.pros-card h3 i, .cons-card h3 i {
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.pros-card ul, .cons-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-card li, .cons-card li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
}

.pros-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2e7d32;
  font-weight: bold;
  font-size: 1.2rem;
}

.cons-card li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #c62828;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Responsive Design for BFF Blog */
@media (max-width: 768px) {
  .use-case-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pros-cons-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .use-case-card {
    padding: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .architecture-diagram {
    padding: 1.5rem;
  }
  
  .code-showcase {
    padding: 1.5rem;
  }
}

.demos-layout {
    display: flex;
    min-height: 100vh;
}

/* Desktop Sidebar - Always visible on large screens */
.demos-sidebar {
    width: 320px;
   
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
}





.sidebar-content {
    padding: 2rem 0 1rem 0;
    height: 100%;
    overflow-y: auto;
}

.sidebar-navigation {
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.sidebar-back-link {
    display: flex;
    align-items: center;
    
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.sidebar-back-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #000;
    transform: translateX(-3px);
}

.sidebar-category {
    margin-bottom: 1.5rem;
}

.sidebar-category-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu-item {
    margin-bottom: 0.25rem;
    padding: 0 1rem;
}

.sidebar-menu-link {
    display: flex;
    align-items: center;
   
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.sidebar-menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--brand-secondary);
    transform: translateX(3px);
}

.sidebar-menu-link.active {
    background: var(--brand-secondary);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 30, 0, 0.3);
}

.sidebar-menu-link.active::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: white;
    border-radius: 0 3px 3px 0;
}

.sidebar-menu-icon {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-menu-text {
    flex: 1;
}

.demos-main {
    flex: 1;
    min-height: 100vh;
    width: 100%;
}

/* Desktop: Add margin for fixed sidebar */
@media (min-width: 992px) {
    .demos-main {
        margin-left: 320px;
    }
}

/* Mobile: No margin, full width */
@media (max-width: 991.98px) {
    .demos-main {
        margin-left: 0;
    }
}

.demos-content {
    padding: 2rem;
    max-width: 100%;
    position: relative;
}

/* Demos Sidebar Toggle Button */
.demos-sidebar-toggle {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1030;
    border-radius: 50px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    transition: all 0.3s ease;
}

.demos-sidebar-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}



/* Offcanvas Customization */
.offcanvas-start {
    width: 320px;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.offcanvas-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Custom scrollbar for sidebar */
.sidebar-content::-webkit-scrollbar {
    width: 4px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
/* Complex Frontend Architecture Specific Styling */
.architecture-overview {
  margin: 40px 0;
  padding: 30px 0;
}

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

.overview-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.overview-card .card-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4em;
}

.overview-card h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.1em;
  font-weight: 600;
}

.overview-card p {
  color: var(--text-color);
  font-size: 0.9em;
  line-height: 1.5;
}

/* Architecture Section Styling */
.architecture-section {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  padding: 40px;
  border-radius: 15px;
  margin: 40px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border-left: 5px solid var(--primary-color);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.difficulty-badge {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.difficulty-badge.essential {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.difficulty-badge.core {
  background: linear-gradient(135deg, #6f42c1, #5a32a3);
}

.section-description {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 1.05em;
}

/* Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.principle-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.principle-card:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.principle-card h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1em;
  font-weight: 600;
}

.principle-card p {
  color: var(--text-color);
  font-size: 0.9em;
  line-height: 1.5;
  margin: 0;
}

/* Code Explanation */
.code-explanation {
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
  border-left: 3px solid var(--accent-color);
}

.code-explanation p {
  margin: 0;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 0.95em;
}

/* Practices Overview */
.practices-overview {
  margin: 50px 0;
}

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

.practice-item {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.practice-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.practice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.practice-header h4 {
  color: var(--primary-color);
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
}

.practice-badge {
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.practice-badge.critical {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
}

.practice-badge.essential {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
}

.practice-badge.performance {
  background: linear-gradient(135deg, #fd7e14, #e55a00);
  color: white;
}

.practice-badge.recommended {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: white;
}

.practice-item p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Tech Stack Badges */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.tech-badge {
  background: linear-gradient(135deg, var(--accent-color), #6c757d);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Final Thoughts */
.final-thoughts {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  padding: 25px;
  border-radius: 10px;
  margin-top: 25px;
  border-left: 4px solid var(--primary-color);
}

.final-thoughts p {
  margin: 0;
  color: var(--text-dark);
  line-height: 1.6;
}

.final-thoughts strong {
  color: var(--primary-color);
}

/* Responsive Design for Complex FE */
@media (max-width: 768px) {
  .practices-grid {
    grid-template-columns: 1fr;
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
  }
  
  .principles-grid {
    grid-template-columns: 1fr;
  }
  
  .practice-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Web Accessibility Article Styling */
.accessibility-modern {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Accessibility Breadcrumb */
.accessibility-breadcrumb {
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.accessibility-breadcrumb .breadcrumb {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
}

.accessibility-breadcrumb .breadcrumb-item a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.accessibility-breadcrumb .breadcrumb-item a:hover {
  color: var(--brand-secondary);
  transform: translateX(3px);
}

.accessibility-breadcrumb .breadcrumb-item.active {
  color: var(--brand-secondary);
  font-weight: 600;
}

/* Accessibility Hero Section */
.accessibility-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e3f2fd 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.accessibility-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="accessibility-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23007bff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23accessibility-pattern)"/></svg>');
  opacity: 0.3;
}

.accessibility-hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.9em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accessibility-hero h1 {
  color: var(--brand-primary);
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accessibility-hero .lead {
  color: #6c757d;
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  color: var(--brand-secondary);
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  color: var(--brand-primary);
  font-size: 0.9em;
  font-weight: 500;
}

.hero-image {
  text-align: center;
  position: relative;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* Accessibility Overview Section */
.accessibility-overview {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  color: var(--brand-primary);
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

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

.overview-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

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

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

.overview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.overview-card .card-icon {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.8em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.overview-card h3 {
  color: var(--brand-primary);
  margin-bottom: 15px;
  font-size: 1.4em;
  font-weight: 600;
}

.overview-card p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 1em;
}

/* Accessibility Content Container */
.accessibility-content {
  padding: 80px 0;
}

/* Accessibility Rules Section */
.accessibility-rules {
  margin-bottom: 80px;
}

.accessibility-rule-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.accessibility-rule-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.rule-header {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 30px;
}

.rule-number {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.rule-header h3 {
  color: var(--brand-primary);
  margin: 0 0 10px 0;
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1.3;
}

.rule-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-critical {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
}

.badge-essential {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
}

.badge-important {
  background: linear-gradient(135deg, #fd7e14, #e55a00);
  color: white;
}

.badge-recommended {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: white;
}

.badge-ongoing {
  background: linear-gradient(135deg, #6f42c1, #5a32a3);
  color: white;
}

.badge-wcag {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
}

.rule-description {
  color: #495057;
  line-height: 1.7;
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* Benefits Grid */
.rule-benefits {
  margin: 30px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.8);
  padding: 25px 20px;
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item h4 {
  color: var(--brand-primary);
  margin-bottom: 10px;
  font-size: 1.1em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-item h4 i {
  color: var(--brand-secondary);
  width: 20px;
}

.benefit-item p {
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
  font-size: 0.95em;
}

/* Code Examples */
.code-example {
  background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 25px;
  margin-top: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.code-example h4 {
  color: var(--brand-primary);
  margin-bottom: 20px;
  font-size: 1.2em;
  font-weight: 600;
}

.syntax-highlighter {
  border-radius: 10px !important;
  margin: 15px 0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.code-explanation {
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
  border-left: 4px solid var(--brand-secondary);
}

.code-explanation p {
  margin: 0;
  color: #495057;
  line-height: 1.6;
  font-size: 0.95em;
}

/* Accessibility Checklist */
.accessibility-checklist {
  background: linear-gradient(145deg, #e3f2fd 0%, #f3e5f5 100%);
  padding: 30px;
  border-radius: 15px;
  margin-top: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.accessibility-checklist h4 {
  color: var(--brand-primary);
  margin-bottom: 25px;
  font-size: 1.3em;
  font-weight: 600;
  text-align: center;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.checklist-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.checklist-section h5 {
  color: var(--brand-primary);
  margin-bottom: 15px;
  font-size: 1.1em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist-section h5 i {
  color: var(--brand-secondary);
  width: 20px;
}

.checklist-section ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.checklist-section li {
  color: #495057;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
  font-size: 0.95em;
}

.checklist-section li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-secondary);
  font-weight: 700;
}

/* Accessibility Conclusion */
.accessibility-conclusion {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 60px;
}

.conclusion-header {
  text-align: center;
  margin-bottom: 50px;
}

.conclusion-header h2 {
  color: var(--brand-primary);
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
}

.conclusion-subtitle {
  color: #6c757d;
  font-size: 1.2em;
  line-height: 1.6;
}

.key-points {
  margin-bottom: 50px;
}

.key-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.key-point {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.key-point:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.point-icon {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6em;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.key-point h3 {
  color: var(--brand-primary);
  margin-bottom: 15px;
  font-size: 1.3em;
  font-weight: 600;
}

.key-point p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 1em;
}

.final-thoughts {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
}

.thoughts-content h3 {
  color: var(--brand-primary);
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: 600;
}

.thoughts-content p {
  color: #495057;
  line-height: 1.7;
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* Responsive Design for Accessibility */
@media (max-width: 768px) {
  .accessibility-hero h1 {
    font-size: 2.2em;
  }
  
  .accessibility-hero .lead {
    font-size: 1.1em;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .rule-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .rule-number {
    align-self: flex-start;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  
  .key-points-grid {
    grid-template-columns: 1fr;
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
  }
  
  .accessibility-rule-card {
    padding: 25px;
  }
  
  .accessibility-conclusion {
    padding: 40px 25px;
  }
}

@media (max-width: 576px) {
  .accessibility-hero {
    padding: 50px 0;
  }
  
  .accessibility-content {
    padding: 50px 0;
  }
  
  .accessibility-overview {
    padding: 50px 0;
  }
  
  .section-header h2 {
    font-size: 2em;
  }
  
  .conclusion-header h2 {
    font-size: 2em;
  }
}

/* OWASP Security Article Styling */
.owasp-modern {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  font-size: 16px;
}

/* OWASP Breadcrumb */
.owasp-breadcrumb {
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 0;
  border-bottom: 1px solid rgba(220, 38, 38, 0.1);
  backdrop-filter: blur(10px);
}

.owasp-breadcrumb .breadcrumb {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
}

.owasp-breadcrumb .breadcrumb-item a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.owasp-breadcrumb .breadcrumb-item a:hover {
  color: #dc2626;
  transform: translateX(3px);
}

.owasp-breadcrumb .breadcrumb-item.active {
  color: #dc2626;
  font-weight: 600;
}

/* OWASP Hero Section */
.owasp-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #fee2e2 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.owasp-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="owasp-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 5 L15 10 L10 15 L5 10 Z" fill="%23dc2626" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23owasp-pattern)"/></svg>');
  opacity: 0.4;
}

.owasp-hero .container {
  position: relative;
  z-index: 2;
}

.owasp-hero .hero-badge {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.9em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.owasp-hero h1 {
  color: var(--brand-primary);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

.owasp-hero .lead {
  color: #64748b;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 600px;
}

.owasp-hero .hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.owasp-hero .stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.1);
  transition: transform 0.3s ease;
}

.owasp-hero .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
}

.owasp-hero .stat-number {
  display: block;
  color: #dc2626;
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 5px;
}

.owasp-hero .stat-label {
  color: var(--brand-primary);
  font-size: 0.9em;
  font-weight: 500;
}

.owasp-hero .hero-image {
  text-align: center;
  position: relative;
}

.owasp-hero .hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
  transition: transform 0.3s ease;
}

.owasp-hero .hero-image img:hover {
  transform: scale(1.05);
}

/* OWASP Overview Section */
.owasp-overview {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.owasp-overview .section-header {
  margin-bottom: 60px;
}

.owasp-overview .section-header h2 {
  color: var(--brand-primary);
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
}

.owasp-overview .section-subtitle {
  color: #64748b;
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

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

.owasp-overview .overview-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.owasp-overview .overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.05), transparent);
  transition: left 0.5s;
}

.owasp-overview .overview-card:hover::before {
  left: 100%;
}

.owasp-overview .overview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
}

.owasp-overview .overview-card .card-icon {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.8em;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.owasp-overview .overview-card h3 {
  color: var(--brand-primary);
  margin-bottom: 15px;
  font-size: 1.4em;
  font-weight: 600;
}

.owasp-overview .overview-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 1em;
}

/* OWASP Content Container */
.owasp-content {
  padding: 60px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.owasp-content .container {
  max-width: 1000px;
  padding: 0 24px;
}

/* Typography improvements */
.owasp-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.owasp-content h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  border-bottom: 2px solid rgba(220, 38, 38, 0.2);
  padding-bottom: 0.5rem;
}

.owasp-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.owasp-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.owasp-content p {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.owasp-content ul, .owasp-content ol {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.owasp-content li {
  margin-bottom: 0.5rem;
}

.owasp-content strong {
  color: var(--brand-primary);
  font-weight: 600;
}

/* OWASP Code Block Containers */
.owasp-content .bg-bad,
.owasp-content .bg-tip,
.owasp-content .bg-error {
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid transparent;
}

.owasp-content .bg-bad {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: rgba(239, 68, 68, 0.2);
}

.owasp-content .bg-tip {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: rgba(34, 197, 94, 0.2);
}

.owasp-content .bg-error {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  border-color: rgba(245, 158, 11, 0.2);
}

.owasp-content pre {
  margin: 0;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-x: auto;
}

.owasp-content pre code {
  font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
  font-size: inherit;
  line-height: inherit;
}

/* General Article Styles for all articles */
.blog-content pre,
.owasp-content pre,
article pre {
  background: #f6f8fa;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-content code,
.owasp-content code,
article code {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', monospace;
  background: inherit;
  padding: 0;
  font-size: inherit;
}

/* Inline code styling */
.blog-content p code,
.owasp-content p code,
article p code {
  background: rgba(175, 184, 193, 0.2);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.85em;
}

/* Content sections spacing */
.owasp-content > .container {
  max-width: 1000px;
}

.owasp-content .section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.owasp-content .section-header h2 {
  margin-bottom: 1rem;
  border-bottom: none;
}

.owasp-content .section-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  font-weight: 400;
  margin: 0;
  max-width: 700px;
  margin: 0 auto;
}

.owasp-content > div {
  margin-bottom: 3rem;
}

.owasp-content .row {
  margin-bottom: 2rem;
}

/* Responsive typography */
@media (max-width: 768px) {
  .owasp-content {
    padding: 40px 0;
  }
  
  .owasp-content .container {
    padding: 0 16px;
  }
  
  .owasp-content h1 {
    font-size: 2rem;
  }
  
  .owasp-content h2 {
    font-size: 1.75rem;
  }
  
  .owasp-content h3 {
    font-size: 1.25rem;
  }
  
  .owasp-content p,
  .owasp-content ul,
  .owasp-content ol {
    font-size: 1rem;
    text-align: left;
  }
  
  .owasp-rule-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .owasp-rule-card .rule-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .owasp-rule-card .rule-number {
    align-self: center;
  }
  
  .owasp-hero .hero-stats {
    justify-content: center;
  }
  
  .owasp-hero .stat-item {
    min-width: 200px;
  }
}

/* OWASP Rules Section */
.owasp-rules {
  margin-bottom: 80px;
}

.owasp-rule-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.owasp-rule-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.15);
}

.owasp-rule-card .rule-header {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 30px;
}

.owasp-rule-card .rule-number {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
}

.owasp-rule-card .rule-header h3 {
  color: var(--brand-primary);
  margin: 0 0 10px 0;
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1.3;
}

.owasp-rule-card .rule-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.owasp-rule-card .badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-owasp {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
}

.owasp-rule-card .rule-description {
  color: #475569;
  line-height: 1.7;
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* OWASP Benefits Grid */
.owasp-rule-card .rule-benefits {
  margin: 30px 0;
}

.owasp-rule-card .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.owasp-rule-card .benefit-item {
  background: rgba(255, 255, 255, 0.8);
  padding: 25px 20px;
  border-radius: 15px;
  border: 1px solid rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
}

.owasp-rule-card .benefit-item:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.1);
}

.owasp-rule-card .benefit-item h4 {
  color: var(--brand-primary);
  margin-bottom: 10px;
  font-size: 1.1em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.owasp-rule-card .benefit-item h4 i {
  color: #dc2626;
  width: 20px;
}

.owasp-rule-card .benefit-item p {
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  font-size: 0.95em;
}

/* OWASP Code Examples */
.owasp-rule-card .code-example {
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 15px;
  padding: 25px;
  margin-top: 30px;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.owasp-rule-card .code-example h4 {
  color: var(--brand-primary);
  margin-bottom: 20px;
  font-size: 1.2em;
  font-weight: 600;
}

.owasp-rule-card .syntax-highlighter {
  border-radius: 10px !important;
  margin: 15px 0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.owasp-rule-card .code-explanation {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
  border-left: 4px solid #dc2626;
}

.owasp-rule-card .code-explanation p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-size: 0.95em;
}

/* OWASP Security Checklist */
.owasp-checklist {
  background: linear-gradient(145deg, #fef2f2 0%, #fce7e7 100%);
  padding: 60px 40px;
  border-radius: 20px;
  margin: 60px 0;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.owasp-checklist .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.owasp-checklist .section-header h2 {
  color: var(--brand-primary);
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
}

.owasp-checklist .section-subtitle {
  color: #64748b;
  font-size: 1.2em;
  line-height: 1.6;
}

.owasp-checklist .checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.owasp-checklist .checklist-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
}

.owasp-checklist .checklist-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.15);
}

.owasp-checklist .checklist-section h3 {
  color: var(--brand-primary);
  margin-bottom: 20px;
  font-size: 1.3em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.owasp-checklist .checklist-section h3 i {
  color: #dc2626;
  width: 24px;
  font-size: 1.2em;
}

.owasp-checklist .checklist-section ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.owasp-checklist .checklist-section li {
  color: #475569;
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
  font-size: 0.95em;
  border-bottom: 1px solid rgba(220, 38, 38, 0.05);
}

.owasp-checklist .checklist-section li:last-child {
  border-bottom: none;
}

.owasp-checklist .checklist-section li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
  font-size: 1.1em;
}

/* OWASP Conclusion */
.owasp-conclusion {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.1);
  margin-top: 60px;
}

.owasp-conclusion .conclusion-header {
  text-align: center;
  margin-bottom: 50px;
}

.owasp-conclusion .conclusion-header h2 {
  color: var(--brand-primary);
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
}

.owasp-conclusion .conclusion-subtitle {
  color: #64748b;
  font-size: 1.2em;
  line-height: 1.6;
}

.owasp-conclusion .key-points {
  margin-bottom: 50px;
}

.owasp-conclusion .key-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.owasp-conclusion .key-point {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  border: 1px solid rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
}

.owasp-conclusion .key-point:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.1);
}

.owasp-conclusion .point-icon {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6em;
  box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
}

.owasp-conclusion .key-point h3 {
  color: var(--brand-primary);
  margin-bottom: 15px;
  font-size: 1.3em;
  font-weight: 600;
}

.owasp-conclusion .key-point p {
  color: #64748b;
  line-height: 1.6;
  font-size: 1em;
}

.owasp-conclusion .final-thoughts {
  background: linear-gradient(135deg, #fef2f2 0%, #fce7e7 100%);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
}

.owasp-conclusion .thoughts-content h3 {
  color: var(--brand-primary);
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: 600;
}

.owasp-conclusion .thoughts-content p {
  color: #475569;
  line-height: 1.7;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.owasp-conclusion .security-resources {
  text-align: left;
  margin-top: 30px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.owasp-conclusion .security-resources h4 {
  color: var(--brand-primary);
  margin-bottom: 15px;
  font-size: 1.2em;
  font-weight: 600;
}

.owasp-conclusion .security-resources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.owasp-conclusion .security-resources li {
  color: #475569;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}

.owasp-conclusion .security-resources li::before {
  content: '🔗';
  position: absolute;
  left: 0;
  top: 8px;
}

/* Responsive Design for OWASP */
@media (max-width: 768px) {
  .owasp-hero h1 {
    font-size: 2.2em;
  }
  
  .owasp-hero .lead {
    font-size: 1.1em;
  }
  
  .owasp-hero .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .owasp-rule-card .rule-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .owasp-rule-card .rule-number {
    align-self: flex-start;
  }
  
  .owasp-rule-card .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .owasp-checklist .checklist-grid {
    grid-template-columns: 1fr;
  }
  
  .owasp-conclusion .key-points-grid {
    grid-template-columns: 1fr;
  }
  
  .owasp-overview .overview-grid {
    grid-template-columns: 1fr;
  }
  
  .owasp-rule-card {
    padding: 25px;
  }
  
  .owasp-conclusion {
    padding: 40px 25px;
  }
  
  .owasp-checklist {
    padding: 40px 25px;
  }
}

@media (max-width: 576px) {
  .owasp-hero {
    padding: 50px 0;
  }
  
  .owasp-content {
    padding: 50px 0;
  }
  
  .owasp-overview {
    padding: 50px 0;
  }
  
  .owasp-overview .section-header h2,
  .owasp-checklist .section-header h2,
  .owasp-conclusion .conclusion-header h2 {
    font-size: 2em;
  }
}

/* PageSpeed Performance Article Styling */
.pagespeed-modern {
  background: linear-gradient(135deg, #f8fafc 0%, #e2f4e7 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', 'Inter', sans-serif;
}

/* PageSpeed Breadcrumb */
.pagespeed-breadcrumb {
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 0;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
  backdrop-filter: blur(10px);
}

.pagespeed-breadcrumb .breadcrumb {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
}

.pagespeed-breadcrumb .breadcrumb-item a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagespeed-breadcrumb .breadcrumb-item a:hover {
  color: #22c55e;
  transform: translateX(3px);
}

.pagespeed-breadcrumb .breadcrumb-item.active {
  color: #22c55e;
  font-weight: 600;
}

/* PageSpeed Hero Section */
.pagespeed-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 50%, #dcfce7 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.pagespeed-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pagespeed-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 2 L18 10 L10 18 L2 10 Z" fill="%2322c55e" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23pagespeed-pattern)"/></svg>');
  opacity: 0.4;
}

.pagespeed-hero .container {
  position: relative;
  z-index: 2;
}

.pagespeed-hero .hero-badge {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.9em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.pagespeed-hero h1 {
  color: var(--brand-primary);
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagespeed-hero .lead {
  color: #64748b;
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
}

.pagespeed-hero .hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.pagespeed-hero .stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.1);
  transition: transform 0.3s ease;
}

.pagespeed-hero .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.pagespeed-hero .stat-number {
  display: block;
  color: #22c55e;
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 5px;
}

.pagespeed-hero .stat-label {
  color: var(--brand-primary);
  font-size: 0.9em;
  font-weight: 500;
}

.pagespeed-hero .hero-image {
  text-align: center;
  position: relative;
}

.pagespeed-hero .hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15);
  transition: transform 0.3s ease;
}

.pagespeed-hero .hero-image img:hover {
  transform: scale(1.05);
}

/* PageSpeed Overview Section */
.pagespeed-overview {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.pagespeed-overview .section-header {
  margin-bottom: 60px;
}

.pagespeed-overview .section-header h2 {
  color: var(--brand-primary);
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
}

.pagespeed-overview .section-subtitle {
  color: #64748b;
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

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

.pagespeed-overview .overview-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pagespeed-overview .overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.05), transparent);
  transition: left 0.5s;
}

.pagespeed-overview .overview-card:hover::before {
  left: 100%;
}

.pagespeed-overview .overview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15);
}

.pagespeed-overview .overview-card .card-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.8em;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.pagespeed-overview .overview-card h3 {
  color: var(--brand-primary);
  margin-bottom: 15px;
  font-size: 1.4em;
  font-weight: 600;
}

.pagespeed-overview .overview-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 1em;
}

/* PageSpeed Content Container */
.pagespeed-content {
  padding: 80px 0;
}

/* PageSpeed Rules Section */
.pagespeed-rules {
  margin-bottom: 80px;
}

.pagespeed-rule-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pagespeed-rule-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(34, 197, 94, 0.15);
}

.pagespeed-rule-card .rule-header {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 30px;
}

.pagespeed-rule-card .rule-number {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 6px 15px rgba(34, 197, 94, 0.3);
}

.pagespeed-rule-card .rule-header h3 {
  color: var(--brand-primary);
  margin: 0 0 10px 0;
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1.3;
}

.pagespeed-rule-card .rule-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pagespeed-rule-card .badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-pagespeed {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
}

.pagespeed-rule-card .rule-description {
  color: #475569;
  line-height: 1.7;
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* PageSpeed Benefits Grid */
.pagespeed-rule-card .rule-benefits {
  margin: 30px 0;
}

.pagespeed-rule-card .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.pagespeed-rule-card .benefit-item {
  background: rgba(255, 255, 255, 0.8);
  padding: 25px 20px;
  border-radius: 15px;
  border: 1px solid rgba(34, 197, 94, 0.1);
  transition: all 0.3s ease;
}

.pagespeed-rule-card .benefit-item:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.1);
}

.pagespeed-rule-card .benefit-item h4 {
  color: var(--brand-primary);
  margin-bottom: 10px;
  font-size: 1.1em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagespeed-rule-card .benefit-item h4 i {
  color: #22c55e;
  width: 20px;
}

.pagespeed-rule-card .benefit-item p {
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  font-size: 0.95em;
}

/* PageSpeed Code Examples */
.pagespeed-rule-card .code-example {
  background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 15px;
  padding: 25px;
  margin-top: 30px;
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.pagespeed-rule-card .code-example h4 {
  color: var(--brand-primary);
  margin-bottom: 20px;
  font-size: 1.2em;
  font-weight: 600;
}

.pagespeed-rule-card .syntax-highlighter {
  border-radius: 10px !important;
  margin: 15px 0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.pagespeed-rule-card .code-explanation {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
  border-left: 4px solid #22c55e;
}

.pagespeed-rule-card .code-explanation p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-size: 0.95em;
}

/* PageSpeed Performance Checklist */
.pagespeed-checklist {
  background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 60px 40px;
  border-radius: 20px;
  margin: 60px 0;
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.pagespeed-checklist .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.pagespeed-checklist .section-header h2 {
  color: var(--brand-primary);
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
}

.pagespeed-checklist .section-subtitle {
  color: #64748b;
  font-size: 1.2em;
  line-height: 1.6;
}

.pagespeed-checklist .checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.pagespeed-checklist .checklist-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.1);
  transition: all 0.3s ease;
}

.pagespeed-checklist .checklist-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.15);
}

.pagespeed-checklist .checklist-section h3 {
  color: var(--brand-primary);
  margin-bottom: 20px;
  font-size: 1.3em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pagespeed-checklist .checklist-section h3 i {
  color: #22c55e;
  width: 24px;
  font-size: 1.2em;
}

.pagespeed-checklist .checklist-section ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.pagespeed-checklist .checklist-section li {
  color: #475569;
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
  font-size: 0.95em;
  border-bottom: 1px solid rgba(34, 197, 94, 0.05);
}

.pagespeed-checklist .checklist-section li:last-child {
  border-bottom: none;
}

.pagespeed-checklist .checklist-section li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
  font-size: 1.1em;
}

/* PageSpeed Conclusion */
.pagespeed-conclusion {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.1);
  margin-top: 60px;
}

.pagespeed-conclusion .conclusion-header {
  text-align: center;
  margin-bottom: 50px;
}

.pagespeed-conclusion .conclusion-header h2 {
  color: var(--brand-primary);
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
}

.pagespeed-conclusion .conclusion-subtitle {
  color: #64748b;
  font-size: 1.2em;
  line-height: 1.6;
}

.pagespeed-conclusion .key-points {
  margin-bottom: 50px;
}

.pagespeed-conclusion .key-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pagespeed-conclusion .key-point {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  border: 1px solid rgba(34, 197, 94, 0.1);
  transition: all 0.3s ease;
}

.pagespeed-conclusion .key-point:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.1);
}

.pagespeed-conclusion .point-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6em;
  box-shadow: 0 6px 15px rgba(34, 197, 94, 0.3);
}

.pagespeed-conclusion .key-point h3 {
  color: var(--brand-primary);
  margin-bottom: 15px;
  font-size: 1.3em;
  font-weight: 600;
}

.pagespeed-conclusion .key-point p {
  color: #64748b;
  line-height: 1.6;
  font-size: 1em;
}

.pagespeed-conclusion .final-thoughts {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
}

.pagespeed-conclusion .thoughts-content h3 {
  color: var(--brand-primary);
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: 600;
}

.pagespeed-conclusion .thoughts-content p {
  color: #475569;
  line-height: 1.7;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.pagespeed-conclusion .performance-resources {
  text-align: left;
  margin-top: 30px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.pagespeed-conclusion .performance-resources h4 {
  color: var(--brand-primary);
  margin-bottom: 15px;
  font-size: 1.2em;
  font-weight: 600;
}

.pagespeed-conclusion .performance-resources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagespeed-conclusion .performance-resources li {
  color: #475569;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}

.pagespeed-conclusion .performance-resources li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  top: 8px;
}

/* Responsive Design for PageSpeed */
@media (max-width: 768px) {
  .pagespeed-hero h1 {
    font-size: 2.2em;
  }
  
  .pagespeed-hero .lead {
    font-size: 1.1em;
  }
  
  .pagespeed-hero .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .pagespeed-rule-card .rule-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .pagespeed-rule-card .rule-number {
    align-self: flex-start;
  }
  
  .pagespeed-rule-card .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .pagespeed-checklist .checklist-grid {
    grid-template-columns: 1fr;
  }
  
  .pagespeed-conclusion .key-points-grid {
    grid-template-columns: 1fr;
  }
  
  .pagespeed-overview .overview-grid {
    grid-template-columns: 1fr;
  }
  
  .pagespeed-rule-card {
    padding: 25px;
  }
  
  .pagespeed-conclusion {
    padding: 40px 25px;
  }
  
  .pagespeed-checklist {
    padding: 40px 25px;
  }
}

@media (max-width: 576px) {
  .pagespeed-hero {
    padding: 50px 0;
  }
  
  .pagespeed-content {
    padding: 50px 0;
  }
  
  .pagespeed-overview {
    padding: 50px 0;
  }
  
  .pagespeed-overview .section-header h2,
  .pagespeed-checklist .section-header h2,
  .pagespeed-conclusion .conclusion-header h2 {
    font-size: 2em;
  }
}

/* ========================================
   Highlight.js Custom Styles
   ======================================== */

/* Enhanced Code Block Styling */
pre {
    margin: 2rem 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

pre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

pre code {
    display: block;
    padding: 1.5rem 2rem;
    font-family: 'SF Mono', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    margin: 0;
    overflow-x: auto;
    color: #24292e;
}

/* Language Label Styling */
pre[data-language]::after {
    content: attr(data-language);
    position: absolute;
    top: 8px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Specific Language Styling */
.code-example pre {
    margin: 1.5rem 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.code-example pre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.code-example pre::after {
    content: "Code";
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6c757d;
    z-index: 2;
}

.code-example pre code {
    margin-top: 40px;
    padding: 1.5rem 2rem;
    background: #ffffff;
    border-radius: 0;
}

/* JavaScript Specific Styling */
.code-example pre code.language-javascript::before {
    content: "JavaScript";
    position: absolute;
    top: 12px;
    left: 20px;
    background: linear-gradient(135deg, #f7df1e 0%, #ffeb3b 100%);
    color: #212529;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 3;
}

/* Bash/Terminal Specific Styling */
.code-example pre code.language-bash::before {
    content: "Terminal";
    position: absolute;
    top: 12px;
    left: 20px;
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 3;
}

/* Enhanced Syntax Highlighting Colors */
.hljs {
    background: #ffffff !important;
    color: #24292e !important;
}

.hljs-comment,
.hljs-quote {
    color: #6a737d !important;
    font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
    color: #d73a49 !important;
    font-weight: 600;
}

.hljs-number,
.hljs-literal,
.hljs-variable,
.hljs-template-variable,
.hljs-tag .hljs-attr {
    color: #005cc5 !important;
}

.hljs-string,
.hljs-doctag {
    color: #032f62 !important;
}

.hljs-title,
.hljs-section,
.hljs-selector-id {
    color: #6f42c1 !important;
    font-weight: 600;
}

.hljs-subst {
    font-weight: normal;
}

.hljs-type,
.hljs-class .hljs-title,
.hljs-tag,
.hljs-regexp,
.hljs-link {
    color: #22863a !important;
}

.hljs-symbol,
.hljs-bullet,
.hljs-built_in,
.hljs-builtin-name {
    color: #e36209 !important;
}

.hljs-meta,
.hljs-deletion {
    color: #b31d28 !important;
}

.hljs-addition {
    color: #22863a !important;
}

.hljs-emphasis {
    font-style: italic;
}

.hljs-strong {
    font-weight: bold;
}

/* Copy Button Styling */
pre {
    position: relative;
}

pre:hover .copy-button {
    opacity: 1;
}

.copy-button {
    position: absolute;
    top: 50px;
    right: 15px;
    background: rgba(108, 117, 125, 0.8);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.copy-button:hover {
    background: rgba(73, 80, 87, 0.9);
    transform: translateY(-2px);
}

.copy-button:active {
    transform: translateY(0);
}

/* Responsive Code Block Styling */
@media (max-width: 768px) {
    pre code {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .code-example pre::after,
    .code-example pre code.language-javascript::before,
    .code-example pre code.language-bash::before {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

/* Dark Mode Code Blocks (Optional) */
@media (prefers-color-scheme: dark) {
    pre {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        border-color: #404040;
    }
    
    pre code {
        background: #0d1117;
        color: #c9d1d9;
    }
    
    .hljs {
        background: #0d1117 !important;
        color: #c9d1d9 !important;
    }
    
    .hljs-keyword {
        color: #ff7b72 !important;
    }
    
    .hljs-string {
        color: #a5d6ff !important;
    }
    
    .hljs-comment {
        color: #8b949e !important;
    }
}

/* Animation for Code Blocks */
.code-example {
    animation: slideInFromBottom 0.6s ease-out;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================================
   LOGOS PAGE STYLES
   =============================================== */

/* Breadcrumb Styles */
.logos-breadcrumb-link {
    color: #667eea;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logos-breadcrumb-link:hover {
    color: #5a6fd8;
    text-decoration: none;
}

.logos-breadcrumb-active {
    color: #8892b0;
    font-weight: 600;
}

/* Page Header */
.logos-page-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.logos-page-description {
    font-size: 1.3rem;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.8;
}

.logos-highlight-text {
    font-weight: 600;
    color: #667eea;
}

/* Stats Cards */
.logos-stats-card {
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.logos-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
}

.logos-stats-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.logos-stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.logos-stats-label {
    color: #4a5568;
    font-size: 1rem;
    margin: 0;
}

/* Section Headers */
.logos-section-title {
    color: #2d3748;
    font-size: 2rem;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.logos-section-description {
    color: #4a5568;
    font-size: 1.1rem;
}

/* Logo Cards */
.logo-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: rgba(102, 126, 234, 0.08) 0px 8px 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.logo-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: rgba(102, 126, 234, 0.2) 0px 20px 60px;
    border-color: rgba(102, 126, 234, 0.3);
}



.logo-card:hover::before {
    opacity: 1;
}

.logo-image {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    /* filter: drop-shadow(rgba(0, 0, 0, 0.12) 0px 4px 12px); */
    transition: all 0.4s ease;
    transform: scale(1);
}

.logo-card:hover .logo-image {
    transform: scale(1.1);
}

.logo-card-title {
    color: #2d3748;
    font-size: 1rem;
    letter-spacing: 0.02em;
    font-weight: 600;
}

/* Badge Styles */
.badge-technology {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.badge-mobile {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.badge-software {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.badge-business {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.badge-communication {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
}

.badge-digital {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.badge-services {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.badge-personal {
    background: linear-gradient(135deg, #9333ea 0%, #7c2d12 100%);
}

.badge-media {
    background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%);
}

.badge-security {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.badge-productivity {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.badge-fintech {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.badge-marketing {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.badge-training {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.logos-badge {
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* CTA Section */
.logos-cta-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.logos-cta-title {
    color: #2d3748;
    font-weight: 700;
}

.logos-cta-description {
    color: #4a5568;
    font-size: 1.1rem;
}

.logos-cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: rgba(102, 126, 234, 0.3) 0px 4px 20px;
}

.logos-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: rgba(102, 126, 234, 0.4) 0px 8px 30px;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logos-page-title {
        font-size: 2rem;
    }
    
    .logos-page-description {
        font-size: 1.1rem;
    }
    
    .logos-stats-number {
        font-size: 1.5rem;
    }
    
    .logos-section-title {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-card {
    animation: logoFadeIn 0.6s ease-out;
}

.logo-card:nth-child(1) { animation-delay: 0.1s; }
.logo-card:nth-child(2) { animation-delay: 0.2s; }
.logo-card:nth-child(3) { animation-delay: 0.3s; }
.logo-card:nth-child(4) { animation-delay: 0.4s; }
