/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --primary-light: #5dade2;
    --secondary-color: #2c3e50;
    --secondary-light: #34495e;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --info-color: #17a2b8;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #495057;
    --black: #212529;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #2c3e50;
    
    /* Text Colors */
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-light: #ffffff;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Container Widths */
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-xxl: 1320px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-md);
    /* color: var(--text-primary); */
}

h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: var(--spacing-md);
    /* color: var(--text-secondary); */
    line-height: var(--line-height-relaxed);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== LAYOUT UTILITIES ===== */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
    white-space: nowrap;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.btn-small {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--white);
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== CARDS ===== */
.card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid #e9ecef;
}

.card-body {
    padding: var(--spacing-lg);
}

.card-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid #e9ecef;
    background-color: var(--bg-secondary);
}

/* ===== GRID SYSTEM ===== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(-1 * var(--spacing-md));
}

.col {
    flex: 1;
    padding: 0 var(--spacing-md);
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-white { background-color: var(--white); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }

.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.navbar {
    padding: var(--spacing-md) 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo i {
    margin-right: var(--spacing-sm);
    font-size: var(--font-size-2xl);
}

.nav-logo:hover {
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-xl);
}

.nav-link {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
}

.nav-link i {
    font-size: 1rem;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.1);
}

.nav-link:hover i,
.nav-link.active i {
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ===== MAIN CONTENT ===== */
.main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: var(--line-height-relaxed);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    opacity: 1 !important;
    transform: none !important;
}

/* ===== SECTIONS ===== */
section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: var(--font-weight-medium);
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.view-all-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* ===== FEATURES SECTION ===== */
.features {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.features::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"><circle cx="50" cy="50" r="1" fill="rgba(52,152,219,0.05)"/></svg>') repeat;
    pointer-events: none;
}

.features-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    position: relative;
    z-index: 1;
}

.features-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
    position: relative;
    z-index: 1;
}

.features-main {
    position: relative;
}

.feature-card-large {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.feature-card-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.feature-visual {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: var(--spacing-xxl);
    color: white;
    position: relative;
    overflow: hidden;
}

.feature-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateX(-100px) translateY(-100px); }
    100% { transform: translateX(100px) translateY(100px); }
}

.feature-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.feature-stats {
    display: flex;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-content {
    padding: var(--spacing-xxl);
}

.feature-title-large {
    font-size: var(--font-size-xxl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.feature-description-large {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
}

.highlight-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.feature-card-modern {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card-modern:hover::before {
    transform: scaleX(1);
}

.feature-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: var(--spacing-lg);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.feature-description {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.feature-badge i {
    font-size: 0.8rem;
}

/* ===== ARTICLES GRID ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.article-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.clickable-card {
    cursor: pointer;
}

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

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.article-content {
    padding: var(--spacing-lg);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.article-category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-weight: var(--font-weight-medium);
}

.article-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    /* color: var(--text-primary); */
    line-height: var(--line-height-tight);
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid #e9ecef;
}

.read-more {
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-fast);
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* ===== QUIZ PREVIEW SECTION ===== */
.quiz-preview {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.quiz-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.quiz-preview .section-title {
    color: var(--white);
    text-align: left;
}

.quiz-preview-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
}

.quiz-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--white);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quiz-preview-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-logo i {
    margin-right: var(--spacing-sm);
    color: var(--primary-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: var(--line-height-relaxed);
}

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== BLOG SHOWCASE STYLES ===== */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-xxl);
    gap: var(--spacing-xl);
}

.blog-header-content {
    flex: 1;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-top: var(--spacing-md);
    line-height: var(--line-height-relaxed);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.view-all-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.blog-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

.featured-article {
    position: relative;
}

.blog-card-featured {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-normal);
}

.blog-card-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.blog-image-featured {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.blog-image-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card-featured:hover .blog-image-featured img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    z-index: 2;
}

.blog-content-featured {
    padding: var(--spacing-xxl);
}

.blog-meta-featured {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.featured-category {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.blog-meta-details {
    display: flex;
    gap: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.blog-meta-details span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.blog-title-featured {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-tight);
}

.blog-excerpt-featured {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
}

.blog-tags {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.blog-footer-featured {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.blog-author-featured {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: var(--font-weight-semibold);
    color: #fff;
}

.author-title {
    font-size: var(--font-size-sm);
    color: #fff;
}

.read-more-btn-featured {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
}

.read-more-btn-featured:hover {
    background: var(--primary-dark);
    transform: translateX(4px);
}

/* Recent Articles */
.recent-articles {
    position: relative;
}

.recent-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.blog-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.blog-card-modern {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid #e9ecef;
}

.blog-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.blog-image-modern {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.blog-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card-modern:hover .blog-image-modern img {
    transform: scale(1.05);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
}

.blog-category-overlay {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content-modern {
    padding: var(--spacing-lg);
}

.blog-meta-modern {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.blog-title-modern {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-tight);
}

.blog-excerpt-modern {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
    margin-bottom: var(--spacing-md);
}

.blog-author-modern {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

/* ===== STATISTICS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::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"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    pointer-events: none;
}

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

.stats-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.stats-header .section-title {
    color: white;
}

.stats-header .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--spacing-lg);
    color: white;
}

.stat-card .stat-content {
    color: white;
}

.stat-card .stat-number {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    display: inline;
}

.stat-card .stat-plus {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    opacity: 0.8;
}

.stat-card .stat-label {
    display: block;
    font-size: var(--font-size-sm);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: var(--spacing-sm);
}

/* ===== LEARNING PATHS SECTION ===== */
.learning-paths {
    background: var(--bg-secondary);
}

.paths-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.path-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xxl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.path-card.featured-path::before {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.path-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.path-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.path-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.featured-path .path-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.path-level {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    box-shadow: var(--shadow-md);
}

.path-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.path-description {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-xl);
}

.path-features {
    margin-bottom: var(--spacing-xl);
}

.path-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.path-feature i {
    color: var(--success-color);
    font-size: 1rem;
}

.path-stats {
    display: flex;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid #e9ecef;
}

.path-duration,
.path-articles {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.path-duration i,
.path-articles i {
    color: var(--primary-color);
}

/* ===== ENHANCED QUIZ PREVIEW ===== */
.quiz-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.quiz-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.quiz-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.feature-icon-small {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.feature-text h4 {
    color: white;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
}

.feature-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    margin: 0;
}

.quiz-preview-image {
    position: relative;
}

.quiz-overlay {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    max-width: 280px;
}

.quiz-sample h4 {
    color: var(--text-primary);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
}

.quiz-sample p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
}

.sample-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.option {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.option.correct {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
    font-weight: var(--font-weight-medium);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .features-showcase {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .blog-showcase {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .blog-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .quiz-preview-content {
        grid-template-columns: 1fr;
        display: block;
    }

    .paths-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* General mobile container fixes */
    .container {
        max-width: 100vw;
        padding: 0 15px;
        overflow-x: hidden;
    }

    /* Prevent horizontal scrolling */
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Fix any wide elements */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* Fix footer on mobile */
    .footer {
        padding: 30px 15px;
        margin: 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-section {
        max-width: 100%;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .header{
        position: relative;
    }

    .main{
        margin-top: 0px;
    }

    .quiz-preview-image{
        display: none;
    }

    /* Ensure quiz start image is always visible */
    .quiz-start-image {
        display: block !important;
        opacity: 1 !important;
    }

    /* Fix author card and related articles overflow */
    .author-card {
        padding: 15px;
        margin: 0 -10px;
        max-width: calc(100vw - 40px);
        box-sizing: border-box;
    }

    .related-item {
        flex-direction: column;
        gap: 10px;
    }

    .related-item img {
        width: 100%;
        height: 120px;
        max-width: none;
    }

    .related-content {
        width: 100%;
    }

    /* Fix social links alignment */
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: 1002;
    }

    .quiz-stats{
        display: grid;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-xl);
        width: 100%;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: var(--spacing-md);
        border-radius: var(--border-radius-md);
        gap: var(--spacing-sm);
    }

    /* Fix blog hero section overflow */
    .blog-hero {
        padding: 40px 15px;
        margin: 0;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .blog-hero-content {
        max-width: 100%;
        padding: 0 10px;
        text-align: center;
    }

    .blog-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .blog-hero p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .blog-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .stat-item {
        min-width: auto;
        text-align: center;
    }

    /* Fix contact page layout */
    .contact-hero {
        padding: 40px 15px;
        margin: 0;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .contact-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .contact-hero p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .contact-form {
        padding: 20px 15px;
        margin: 0;
        max-width: 100%;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-buttons {
        justify-content: center;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-lg);
    }

    .blog-grid-modern {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .quiz-overlay {
        position: static;
        margin-top: var(--spacing-lg);
        max-width: none;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero {
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .feature-card-large .feature-content,
    .blog-content-featured {
        padding: var(--spacing-lg);
    }

    .feature-visual {
        padding: var(--spacing-lg);
    }

    .feature-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .path-card {
        padding: var(--spacing-lg);
    }

    .quiz-features {
        gap: var(--spacing-md);
    }

    .quiz-feature {
        padding: var(--spacing-md);
    }
}

/* ===== MISSING UTILITY CLASSES ===== */
.border-radius-full {
    border-radius: 9999px;
}

.border-color {
    border-color: #e9ecef;
}

.font-size-xxl {
    font-size: var(--font-size-2xl);
}

/* ===== COUNTER ANIMATION ===== */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 0.6s ease-out;
}

/* ===== BLOG ARTICLE DETAIL STYLES ===== */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.article-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb-separator {
    opacity: 0.6;
}

.article-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.article-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

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

.article-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
    color: #fff;
}

.article-image {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.article-image img {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    display: block;
}

.article-content {
    padding: 80px 0;
    background: #fafafa;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-body {
    background: white;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.article-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.article-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
    margin: 30px 0 15px;
}

.article-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    margin: 25px 0 10px;
}

.article-text ul, .article-text ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-text li {
    margin-bottom: 8px;
}

.article-text p {
    margin-bottom: 20px;
}

.application-grid, .variants-grid, .preparation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.application-item, .variant-item, .prep-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.application-item h4, .variant-item h4, .prep-item h4 {
    color: #667eea;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.architecture-diagram {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.architecture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.encoder-section, .decoder-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.code-block {
    background: #2d3748;
    color: #e2e8f0;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    font-family: 'Courier New', monospace;
}

.code-block h4 {
    color: #81c784;
    margin-bottom: 15px;
}

.code-block code {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

.callout-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-left: 5px solid #2196f3;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.callout-box.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
    border-left-color: #ff9800;
}

.callout-box h3 {
    color: #1976d2;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.callout-box.warning h3 {
    color: #f57c00;
}

.article-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.article-tags h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #667eea;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.share-buttons {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.share-buttons h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.share-list {
    display: flex;
    gap: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.facebook { background: #1877f2; }
.share-btn.copy-link { background: #6c757d; }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #667eea;
}

.author-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.author-card .author-title {
    font-size: 0.9rem;
    color: #667eea;
    margin-bottom: 15px;
}

.author-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.related-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.related-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: #667eea;
}

.related-date {
    font-size: 0.85rem;
    color: #666;
}

.newsletter-signup p {
    margin-bottom: 20px;
    color: #666;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #667eea;
}

.comments-section {
    padding: 60px 0;
    background: white;
}

.comments-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
}

.comments-placeholder {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    color: #666;
}

/* ===== RESPONSIVE STYLES FOR BLOG DETAILS ===== */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 100px 0 40px;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .article-body {
        padding: 40px 30px;
    }

    .application-grid, .variants-grid, .preparation-grid {
        grid-template-columns: 1fr;
    }

    .architecture-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .article-header {
        padding: 80px 0 30px;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-excerpt {
        font-size: 1.1rem;
    }

    .article-body {
        padding: 30px 20px;
    }

    .sidebar-widget {
        padding: 20px;
    }

    .share-list {
        justify-content: center;
    }
}

/* ===== QUIZ PAGE STYLES ===== */
.quiz-start {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.quiz-start::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.quiz-start-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.quiz-start-text {
    /* max-width: 600px; */
}

.quiz-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.quiz-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.quiz-categories {
    margin-bottom: 40px;
}

.quiz-categories h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
}

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

.category-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.category-card.selected {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.category-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.category-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 1.5;
}

.question-count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.difficulty-selection {
    margin-bottom: 40px;
}

.difficulty-selection h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.difficulty-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.difficulty-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.difficulty-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.difficulty-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.quiz-start-image {
    text-align: center;
}

.quiz-start-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-large:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-large:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Quiz Interface Styles */
.quiz-interface {
    padding: 40px 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quiz-progress {
    flex: 1;
    max-width: 400px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.quiz-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.quiz-timer, .quiz-score {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.quiz-timer i {
    color: #e74c3c;
}

.quiz-score i {
    color: #f39c12;
}

.question-container {
    max-width: 800px;
    margin: 0 auto;
}

.question-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.question-category {
    background: #667eea;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.question-difficulty {
    background: #f8f9fa;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.question-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.5;
    margin-bottom: 30px;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #2c3e50;
    padding: 20px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.option-btn:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: translateX(5px);
}

.option-btn.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateX(5px);
}

.option-btn.correct {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}

.option-btn.incorrect {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.quiz-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.quiz-navigation {
    display: flex;
    gap: 15px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Quiz Results Styles */
.quiz-results {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.results-content {
    max-width: 600px;
    margin: 0 auto;
}

.results-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.results-score {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.results-message {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.results-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Responsive Styles for Quiz */
@media (max-width: 1024px) {
    .quiz-start-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .quiz-title {
        font-size: 2.5rem;
    }

    .quiz-header {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .quiz-info {
        justify-content: space-between;
    }

    .question-card {
        padding: 30px 25px;
    }

    .question-text {
        font-size: 1.2rem;
    }

    .option-btn {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .quiz-actions {
        flex-direction: column;
        gap: 20px;
    }

    .quiz-navigation {
        justify-content: center;
    }

    .results-title {
        font-size: 2.2rem;
    }

    .results-score {
        font-size: 3rem;
    }

    .results-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .quiz-start {
        padding: 100px 0 60px;
    }

    .quiz-title {
        font-size: 2rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .difficulty-buttons {
        flex-direction: column;
    }

    .difficulty-btn {
        justify-content: center;
    }

    .question-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .question-card {
        padding: 25px 20px;
    }

    .option-btn:hover {
        transform: none;
    }

    .option-btn.selected {
        transform: none;
    }
}

/* ===== PAGE HEADER STYLES ===== */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-description {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
}

.page-header-image {
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.page-header-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== MISSION SECTION STYLES ===== */
.mission {
    padding: 80px 0;
    background: #f8f9fa;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text {
    max-width: 600px;
}

.mission-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.mission-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== VALUES SECTION STYLES ===== */
.values {
    padding: 80px 0;
    background: white;
}

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

.value-item {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* ===== TEAM SECTION STYLES ===== */
.team {
    padding: 80px 0;
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid #667eea;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.team-role {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 15px;
}

.team-bio {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== CONTACT FORM STYLES ===== */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2c3e50;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-details p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control.textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== ENHANCED CONTACT FORM STYLES ===== */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2c3e50;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.form-checkbox:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.form-checkbox:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    width: 100%;
    margin-top: 10px;
}

/* ===== CONTACT INFO SECTION STYLES ===== */
.contact-info-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    height: fit-content;
}

.contact-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-method .contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-method .contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-method .contact-details p {
    font-size: 1rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 3px;
}

.contact-method .contact-details span {
    font-size: 0.85rem;
    color: #999;
}

/* ===== ENHANCED PAGE HEADER STYLES ===== */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
}

/* ===== ENHANCED VALUES SECTION ===== */
.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.value-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== TEAM SECTION ENHANCEMENTS ===== */
.team-member {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 25px;
    overflow: hidden;
    border: 4px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.team-member:hover .team-avatar {
    border-color: #667eea;
    transform: scale(1.05);
}

.team-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .team-avatar::before {
    opacity: 0.1;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-avatar img {
    transform: scale(1.1);
}

/* ===== RESPONSIVE STYLES FOR PAGES ===== */
@media (max-width: 1024px) {
    .mission-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-header-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-description {
        font-size: 1.1rem;
    }

    .mission,
    .values,
    .team,
    .contact-form-section {
        padding: 60px 0;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-content {
        gap: 40px;
    }

    .contact-form {
        padding: 30px 25px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 80px 0 40px;
    }

    .page-title {
        font-size: 2rem;
    }

    .mission,
    .values,
    .team,
    .contact-form-section {
        padding: 40px 0;
    }

    .value-item,
    .team-member {
        padding: 25px 20px;
    }

    .contact-form {
        padding: 25px 20px;
    }
}

/* ===== ENHANCED LEGAL PAGES STYLES ===== */
.legal-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    position: relative;
    overflow: hidden;
}

.legal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.legal-header .page-header-content {
    position: relative;
    z-index: 2;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 20px;
    font-style: italic;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
}

.legal-content {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, white 50%);
}

.legal-content .container {
    max-width: 900px;
}

.content-wrapper {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 20px 20px 0 0;
}

.legal-section {
    margin-bottom: 50px;
    position: relative;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e9ecef;
    position: relative;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.legal-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
    margin: 30px 0 20px;
    position: relative;
    padding-left: 20px;
}

.legal-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.legal-section ul {
    margin: 20px 0;
    padding-left: 0;
}

.legal-section li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    list-style: none;
}

.legal-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.legal-section strong {
    color: #2c3e50;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-highlight {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 5px solid #667eea;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 15px 15px 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-highlight::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 20px;
    background: white;
    padding: 5px 10px;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.legal-highlight p {
    margin-bottom: 0;
    color: #2c3e50;
    font-weight: 500;
}

.contact-info-legal {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-top: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-info-legal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3e") repeat;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.contact-info-legal h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.contact-info-legal p {
    margin-bottom: 15px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.contact-info-legal a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.contact-info-legal a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE STYLES FOR LEGAL PAGES ===== */
@media (max-width: 768px) {
    .legal-content {
        padding: 60px 0;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-highlight {
        padding: 15px;
        margin: 20px 0;
    }

    .contact-info-legal {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .legal-content {
        padding: 40px 0;
    }

    .legal-section {
        margin-bottom: 30px;
    }

    .legal-section ul {
        padding-left: 20px;
    }
}

/* ===== MODERN BLOG PAGE STYLES ===== */
.blog-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.blog-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
}

.blog-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== BLOG CONTROLS STYLES ===== */
.blog-controls {
    padding: 60px 0;
    background: #f8f9fa;
}

.controls-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.search-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
}

.search-box-modern {
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.search-box-modern i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 1.1rem;
}

.search-box-modern input {
    width: 100%;
    padding: 20px 60px 20px 55px;
    border: none;
    font-size: 1rem;
    background: transparent;
    outline: none;
}

.search-box-modern input::placeholder {
    color: #999;
}

.search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.search-clear.show {
    opacity: 1;
    visibility: visible;
}

.search-clear:hover {
    background: #f0f0f0;
    color: #667eea;
}

.filter-section .filter-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-title i {
    color: #667eea;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.filter-btn-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
    position: relative;
}

.filter-btn-modern i {
    font-size: 1.1rem;
    color: #667eea;
    width: 20px;
    text-align: center;
}

.filter-btn-modern span:first-of-type {
    flex: 1;
}

.filter-count {
    background: #e9ecef;
    color: #666;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.filter-btn-modern:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.filter-btn-modern.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.filter-btn-modern.active i {
    color: white;
}

.filter-btn-modern.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ===== MODERN ARTICLES GRID STYLES ===== */
.blog-articles-modern {
    padding: 80px 0;
    background: white;
}

.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.articles-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.articles-sort {
    position: relative;
}

.sort-select {
    padding: 12px 40px 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.sort-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ===== NEW BLOG CARD STYLES ===== */
.articles-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Modern Blog Card Design */
.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    cursor: pointer;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.article-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.article-card:hover .article-image::after {
    opacity: 1;
}

.article-content {
    padding: 25px;
    position: relative;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.article-category {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date {
    color: #999;
    font-weight: 500;
}

.article-read-time {
    color: #999;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-title {
    margin-bottom: 12px;
}

.article-title a {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.article-card:hover .article-title a {
    color: #667eea;
}

.article-excerpt {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.article-author {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(102, 126, 234, 0.1);
}

.read-more:hover {
    background: #667eea;
    color: white;
    transform: translateX(3px);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* ===== MODERN NEWSLETTER STYLES ===== */
.newsletter-modern {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s linear infinite;
}

.newsletter-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.newsletter-visual {
    text-align: center;
    color: white;
}

.newsletter-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.newsletter-icon i {
    font-size: 3rem;
    color: white;
}

.newsletter-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.newsletter-stats .stat-item {
    text-align: center;
}

.newsletter-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.newsletter-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.newsletter-content-modern {
    color: white;
}

.newsletter-title-modern {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.title-highlight {
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.newsletter-description-modern {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    opacity: 0.9;
}

.benefit-item i {
    color: #4ade80;
    font-size: 1.1rem;
}

.newsletter-form-modern {
    max-width: 500px;
}

.form-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: white;
    font-size: 1rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 15px 25px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.newsletter-btn:hover {
    transform: translateX(3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-btn i {
    transition: transform 0.3s ease;
}

.newsletter-btn:hover i {
    transform: translateX(3px);
}

.newsletter-privacy {
    font-size: 0.85rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.newsletter-privacy i {
    color: #4ade80;
}

/* ===== MODERN OFFERINGS SECTION ===== */
.offerings-modern {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
}

.offerings-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-modern {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #2c3e50, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.offering-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.offering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.offering-card:hover::before {
    transform: scaleX(1);
}

.offering-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.offering-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.offering-card.featured::before {
    transform: scaleX(1);
    background: white;
}

.offering-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.offering-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.offering-icon {
    width: 70px;
    height: 70px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #667eea;
    transition: all 0.3s ease;
}

.offering-card.featured .offering-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.offering-card:hover .offering-icon {
    transform: scale(1.1);
    background: #667eea;
    color: white;
}

.offering-card.featured:hover .offering-icon {
    background: rgba(255, 255, 255, 0.3);
}

.offering-badge {
    background: #4ade80;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offering-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.offering-card.featured .offering-title {
    color: white;
}

.offering-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.offering-card.featured .offering-description {
    color: rgba(255, 255, 255, 0.9);
}

.offering-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #555;
}

.offering-card.featured .feature-item {
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    color: #4ade80;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.offering-card.featured .feature-item i {
    color: #4ade80;
}

/* ===== MODERN FAQ STYLES ===== */
.faq-modern {
    padding: 100px 0;
    background: linear-gradient(180deg, white 0%, #f8f9fa 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-modern {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-modern:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question-modern {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq-question-modern:hover {
    background: #f8f9fa;
    border-left-color: #667eea;
}

.faq-question-modern.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-left-color: #667eea;
}

.faq-question-modern h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.faq-question-modern.active h3 {
    color: white;
}

.faq-question-modern i {
    font-size: 1rem;
    color: #667eea;
    transition: all 0.3s ease;
}

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

.faq-answer-modern {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #f8f9fa;
}

.faq-answer-modern.active {
    padding: 25px 30px;
    max-height: 200px;
}

.faq-answer-modern p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== MODERN CTA SECTION ===== */
.cta-section-modern {
    margin-top: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.cta-buttons-modern {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn.primary {
    background: white;
    color: #667eea;
    border-color: white;
}

.cta-btn.primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn i {
    font-size: 1.1rem;
}

/* ===== RESPONSIVE STYLES FOR NEW DESIGNS ===== */
@media (max-width: 1024px) {
    .newsletter-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .offerings-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .offering-card.featured {
        transform: none;
    }

    .offering-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .articles-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .article-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .newsletter-modern {
        padding: 60px 0;
    }

    .newsletter-title-modern {
        font-size: 2.2rem;
    }

    .newsletter-stats {
        gap: 30px;
    }

    .newsletter-stats .stat-number {
        font-size: 1.5rem;
    }

    .form-input-group {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }

    .offerings-modern {
        padding: 60px 0;
    }

    .section-title-modern {
        font-size: 2.2rem;
    }

    .offerings-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .offering-card {
        padding: 25px;
    }

    .faq-modern {
        padding: 60px 0;
    }

    .faq-question-modern {
        padding: 20px;
    }

    .faq-answer-modern.active {
        padding: 20px;
    }

    .cta-section-modern {
        padding: 40px 20px;
        margin-top: 60px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons-modern {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .article-image {
        height: 180px;
    }

    .article-content {
        padding: 20px;
    }

    .article-title a {
        font-size: 1.2rem;
    }

    .newsletter-icon {
        width: 80px;
        height: 80px;
    }

    .newsletter-icon i {
        font-size: 2rem;
    }

    .newsletter-title-modern {
        font-size: 1.8rem;
    }

    .newsletter-description-modern {
        font-size: 1rem;
    }

    .section-title-modern {
        font-size: 1.8rem;
    }

    .offering-visual {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .offering-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .faq-question-modern h3 {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 1rem;
    }
}

/* ===== MODERN QUIZ CATEGORY STYLES ===== */
.quiz-categories-modern {
    margin-bottom: 50px;
}

.selection-header {
    text-align: center;
    margin-bottom: 40px;
}

.selection-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.selection-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.category-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.category-card-modern {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 3px solid transparent;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.category-card-modern.selected {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.category-card-modern.featured {
    border-color: #4ade80;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.category-card-modern.special {
    background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    color: white;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.card-pattern {
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
}

.card-pattern.rainbow {
    background: linear-gradient(45deg,
        rgba(255, 0, 150, 0.1) 0%,
        rgba(255, 150, 0, 0.1) 25%,
        rgba(0, 255, 150, 0.1) 50%,
        rgba(150, 0, 255, 0.1) 75%,
        rgba(255, 0, 150, 0.1) 100%);
    animation: rainbow-shift 3s ease-in-out infinite;
}

@keyframes rainbow-shift {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-icon-modern {
    width: 80px;
    height: 80px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #667eea;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-card-modern.featured .category-icon-modern,
.category-card-modern.special .category-icon-modern {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.category-card-modern:hover .category-icon-modern {
    transform: scale(1.1);
    background: #667eea;
    color: white;
}

.category-card-modern.featured:hover .category-icon-modern,
.category-card-modern.special:hover .category-icon-modern {
    background: rgba(255, 255, 255, 0.3);
}

.category-info {
    flex: 1;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2c3e50;
}

.category-card-modern.featured .category-title,
.category-card-modern.special .category-title {
    color: white;
}

.category-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.category-card-modern.featured .category-description,
.category-card-modern.special .category-description {
    color: rgba(255, 255, 255, 0.9);
}

.category-stats {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.question-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.category-card-modern.featured .question-count,
.category-card-modern.special .question-count {
    color: rgba(255, 255, 255, 0.9);
}

.difficulty-indicator {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-indicator.easy {
    background: rgba(74, 222, 128, 0.2);
    color: #16a34a;
}

.difficulty-indicator.medium {
    background: rgba(251, 191, 36, 0.2);
    color: #d97706;
}

.difficulty-indicator.hard {
    background: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.difficulty-indicator.mixed {
    background: rgba(168, 85, 247, 0.2);
    color: #7c3aed;
}

.card-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

.popular-badge,
.challenge-badge {
    background: #4ade80;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.3);
}

.challenge-badge {
    background: #ff6b6b;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* ===== MODERN DIFFICULTY SELECTION STYLES ===== */
.difficulty-selection-modern {
    margin-bottom: 40px;
}

.difficulty-header {
    text-align: center;
    margin-bottom: 30px;
}

.difficulty-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.difficulty-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

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

.difficulty-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.difficulty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ade80, #22c55e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.difficulty-card:hover::before,
.difficulty-card.active::before {
    transform: scaleX(1);
}

.difficulty-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #4ade80;
}

.difficulty-card.active {
    border-color: #4ade80;
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.2);
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.difficulty-card .difficulty-icon {
    width: 60px;
    height: 60px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #4ade80;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.difficulty-card:hover .difficulty-icon,
.difficulty-card.active .difficulty-icon {
    background: #4ade80;
    color: white;
    transform: scale(1.1);
}

.difficulty-content {
    margin-bottom: 20px;
}

.difficulty-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.difficulty-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.difficulty-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.difficulty-features .feature {
    background: rgba(74, 222, 128, 0.1);
    color: #16a34a;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.difficulty-card.active .difficulty-features .feature {
    background: rgba(74, 222, 128, 0.2);
    color: #15803d;
}

.difficulty-indicator {
    display: flex;
    justify-content: center;
}

.indicator-bars {
    display: flex;
    gap: 4px;
}

.indicator-bars .bar {
    width: 30px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.indicator-bars .bar.active {
    background: #4ade80;
}

.difficulty-card:hover .indicator-bars .bar.active,
.difficulty-card.active .indicator-bars .bar.active {
    background: #22c55e;
}

/* ===== RESPONSIVE STYLES FOR QUIZ CATEGORIES ===== */
@media (max-width: 1024px) {
    .category-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .difficulty-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .selection-title {
        font-size: 2rem;
    }

    .category-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-content {
        padding: 25px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .category-icon-modern {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .category-stats {
        justify-content: center;
    }

    .difficulty-title {
        font-size: 1.6rem;
    }

    .difficulty-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .difficulty-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .selection-title {
        font-size: 1.8rem;
    }

    .selection-subtitle {
        font-size: 1rem;
    }

    .card-content {
        padding: 20px;
    }

    .category-icon-modern {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .category-title {
        font-size: 1.2rem;
    }

    .category-description {
        font-size: 0.9rem;
    }

    .difficulty-title {
        font-size: 1.4rem;
    }

    .difficulty-card {
        padding: 18px;
    }

    .difficulty-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .difficulty-name {
        font-size: 1.1rem;
    }

    .difficulty-desc {
        font-size: 0.9rem;
    }
}

.load-more-section {
    text-align: center;
}

.load-more-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.load-more-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.load-more-btn-modern:hover i {
    transform: translateY(2px);
}

.articles-count {
    color: #666;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE STYLES FOR MODERN BLOG ===== */
@media (max-width: 1024px) {
    .blog-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .controls-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .filter-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 100px 0 60px;
    }

    .blog-hero-title {
        font-size: 2.5rem;
    }

    .blog-hero-description {
        font-size: 1.1rem;
    }

    .blog-stats {
        gap: 30px;
        justify-content: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .blog-controls {
        padding: 40px 0;
    }

    .articles-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .articles-title {
        font-size: 2rem;
    }

    .articles-grid-modern {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        padding: 80px 0 40px;
    }

    .blog-hero-title {
        font-size: 2rem;
    }

    .blog-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .search-box-modern input {
        padding: 15px 50px 15px 45px;
    }

    .filter-btn-modern {
        padding: 12px 15px;
    }

    .articles-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}
