/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4f46e5;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #6366f1;
    padding: 0.75rem 1.5rem;
    border: 2px solid #6366f1;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
}

.btn-tertiary {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-tertiary:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #6366f1;
    text-decoration: none;
}

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

.nav-link {
    font-weight: 500;
    color: #374151;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #6366f1;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #6366f1;
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 1.5rem;
    height: 2px;
    background: #374151;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -2;
}

.hero-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    z-index: 1;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 4rem 0;
}

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

.section-icon {
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f9fafb;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.about-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.about-text li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.about-text li i {
    color: #10b981;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    margin: 0;
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.course-card.featured {
    border: 2px solid #6366f1;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: #6366f1;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.course-icon {
    margin-bottom: 1rem;
}

.course-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.course-card ul {
    list-style: none;
    margin: 1rem 0;
}

.course-card li {
    padding: 0.25rem 0;
    color: #6b7280;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
    text-align: center;
    margin-top: 1rem;
}

/* Services Section */
.services {
    background: #f9fafb;
}

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

.service-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-item i {
    font-size: 2.5rem;
    color: #6366f1;
    margin-bottom: 1rem;
}

.service-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-item p {
    color: #6b7280;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.review-stars i {
    color: #fbbf24;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

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

.reviewer-info h4 {
    margin: 0;
    color: #1f2937;
}

.reviewer-info span {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Contact Section */
.contact {
    background: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.25rem;
    color: #6366f1;
    margin-top: 0.25rem;
    min-width: 1.25rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #374151;
    color: white;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #6366f1;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Cookie Management */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: white;
    padding: 1rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    margin-bottom: 1.5rem;
    color: #1f2937;
}

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

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    margin: 0;
}

.cookie-category p {
    margin: 0.5rem 0 0 1.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Blog Styles */
.blog-header {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 6rem 0 4rem;
    text-align: center;
}

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

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

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.blog-posts {
    padding: 4rem 0;
}

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

.blog-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.blog-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.read-more {
    color: #6366f1;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.75rem;
}

/* Blog Article Styles */
.blog-article {
    padding-top: 5rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: #6366f1;
}

.breadcrumb i {
    margin: 0 0.5rem;
    font-size: 0.75rem;
}

.article-header {
    margin-bottom: 3rem;
}

.article-image {
    height: 300px;
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
}

.article-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.article-info {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.article-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.author-name {
    font-weight: 500;
    color: #1f2937;
}

.author-title {
    font-size: 0.875rem;
    color: #6b7280;
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.content-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #1f2937;
}

.content-section h4 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    color: #1f2937;
}

.content-section ul,
.content-section ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

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

/* Article Components */
.highlight-box {
    background: #f0f9ff;
    border-left: 4px solid #6366f1;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.tip-box {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tip-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.code-example {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-example h4 {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.code-example pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.code-snippet {
    background: #f3f4f6;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.cta-box {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    margin-bottom: 1rem;
    color: white;
}

.cta-box p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-box .btn-primary {
    background: white;
    color: #6366f1;
}

.cta-box .btn-primary:hover {
    background: #f8f9fa;
    color: #4f46e5;
}

/* Specific Article Components */
.benefits-grid,
.factors-grid,
.skills-grid,
.elements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item,
.factor-item,
.skill-category,
.element-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #6366f1;
}

.benefit-icon,
.factor-icon {
    margin-bottom: 1rem;
}

.benefit-item h3,
.factor-item h3,
.skill-category h5,
.element-item h4 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.benefit-item p,
.factor-item p {
    color: #6b7280;
    margin: 0;
}

.skill-category ul,
.element-item p {
    margin: 0;
}

/* Language Comparison */
.language-comparison {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.language-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.language-card.featured {
    border: 2px solid #6366f1;
    transform: scale(1.02);
}

.language-header {
    background: #f8fafc;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-icon {
    flex-shrink: 0;
}

.language-header h3 {
    margin: 0;
    color: #1f2937;
}

.difficulty {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: auto;
}

.difficulty.easy {
    background: #d1fae5;
    color: #065f46;
}

.difficulty.moderate {
    background: #fef3c7;
    color: #92400e;
}

.difficulty.advanced {
    background: #fee2e2;
    color: #991b1b;
}

.language-content {
    padding: 2rem;
}

.language-content h4 {
    margin: 1.5rem 0 0.5rem;
    color: #1f2937;
}

.language-content ul {
    margin-bottom: 1rem;
}

.pros-cons {
    margin-bottom: 1rem;
}

.pros-cons.pros li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

.pros-cons.cons li::before {
    content: '✗';
    color: #ef4444;
    font-weight: bold;
    margin-right: 0.5rem;
}

.salary-info {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    color: #0369a1;
    font-weight: 500;
}

/* Recommendations */
.recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.recommendation-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1rem;
}

.rec-icon {
    flex-shrink: 0;
}

.recommendation-item h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.recommendation-item p {
    margin: 0;
    color: #6b7280;
}

/* Decision Tree */
.decision-tree {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.decision-node {
    text-align: center;
    margin-bottom: 2rem;
}

.decision-node.start h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin: 0;
}

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

.branch {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.branch-label {
    font-weight: 500;
    color: #6366f1;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.branch-result strong {
    color: #1f2937;
    display: block;
    margin-bottom: 0.5rem;
}

.branch-result p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Myth Busters */
.myth-busters {
    margin: 2rem 0;
}

.myth-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #fef2f2;
    border-radius: 0.5rem;
    border-left: 4px solid #ef4444;
}

.myth-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.myth-item h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.myth-item p {
    margin: 0;
    color: #6b7280;
}

/* Final Advice */
.final-advice {
    margin: 2rem 0;
}

.advice-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    background: #6366f1;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.step-content p {
    margin: 0;
    color: #6b7280;
}

.next-steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.next-steps li {
    counter-increment: step-counter;
    margin-bottom: 1rem;
    padding-left: 3rem;
    position: relative;
}

.next-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #6366f1;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
}

/* Web Development Article Styles */
.tech-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin: 2rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 1rem;
}

.tech-icon {
    flex-shrink: 0;
}

.tech-header h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.tech-header p {
    margin: 0;
    color: #6b7280;
}

.box-model-diagram {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

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

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.feature-item p {
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.js-capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.js-capabilities li {
    background: #f0f9ff;
    padding: 0.75rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

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

.operation-item {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
}

.operation-item h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-size: 1rem;
}

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

.practice-category {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.practice-category h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.practice-category ul {
    margin: 0;
}

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

.tool-item {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    flex-shrink: 0;
}

.tool-item h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.tool-item p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.workflow-steps {
    counter-reset: workflow-counter;
    list-style: none;
    padding: 0;
}

.workflow-steps li {
    counter-increment: workflow-counter;
    margin-bottom: 1rem;
    padding: 1rem 1rem 1rem 3.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    position: relative;
}

.workflow-steps li::before {
    content: counter(workflow-counter);
    position: absolute;
    left: 1rem;
    top: 1rem;
    background: #6366f1;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

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

.step-item {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-item h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.step-item ul {
    margin: 0;
}

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

.project-item {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.project-difficulty {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-item h3 {
    margin-bottom: 1rem;
    color: #1f2937;
    margin-right: 5rem;
}

.project-item p {
    margin: 0;
    color: #6b7280;
}

/* Career Paths Article Styles */
.career-path-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 1rem;
}

.path-icon {
    flex-shrink: 0;
}

.career-path-header h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.career-path-header p {
    margin: 0;
    color: #6b7280;
}

.career-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 2rem;
    background: #f0f9ff;
    border-radius: 0.5rem;
}

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

.stat-item h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-size: 1rem;
}

.stat-item p {
    margin: 0;
    color: #6366f1;
    font-weight: 600;
}

.tech-stacks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tech-stack {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tech-stack h5 {
    margin-bottom: 1rem;
    color: #1f2937;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.fullstack-tech {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.tech-layer {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #6366f1;
}

.tech-layer h5 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.tech-layer p {
    margin: 0;
    color: #6b7280;
}

.data-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.skill-area {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skill-area h5 {
    margin-bottom: 1rem;
    color: #1f2937;
}

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

.approach-item {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.approach-item h5 {
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: 1.25rem;
}

.devops-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stack-category {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stack-category h5 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.stack-category p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.security-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.security-role {
    background: #fef2f2;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #dc2626;
}

.security-role h5 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.security-role p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.career-ladder {
    margin: 3rem 0;
}

.career-level {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.level-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.level-header h3 {
    margin: 0;
    color: white;
}

.level-salary {
    font-size: 1.125rem;
    font-weight: 600;
    opacity: 0.9;
}

.level-content {
    padding: 2rem;
}

.level-content h4 {
    margin-bottom: 1rem;
    color: #1f2937;
}

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

.alt-path {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.alt-icon {
    flex-shrink: 0;
}

.alt-path h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.alt-path p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.decision-framework {
    margin: 3rem 0;
}

.framework-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.framework-step .step-number {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    flex-shrink: 0;
}

.framework-step .step-content {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.framework-step h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.emerging-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.field-item {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid #6366f1;
}

.field-item h4 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.field-item p {
    margin: 0;
    color: #6b7280;
}

/* Thank You Page */
.thank-you {
    padding: 6rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

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

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.thank-you-message {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.thank-you-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.detail-item i {
    font-size: 1.5rem;
    color: #6366f1;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.detail-item h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.detail-item p {
    margin: 0;
    color: #6b7280;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.social-follow {
    margin-top: 3rem;
}

.social-follow h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

/* Legal Pages */
.legal-page {
    padding: 6rem 0 4rem;
}

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

.legal-icon {
    margin-bottom: 2rem;
}

.legal-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.last-updated {
    color: #6b7280;
    font-style: italic;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    color: #374151;
}

.contact-details {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

/* Cookie Policy Specific */
.cookie-table {
    background: #f9fafb;
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 1rem 0;
}

.cookie-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-row:last-child {
    border-bottom: none;
}

.cookie-name {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-weight: 600;
    color: #1f2937;
}

.cookie-purpose {
    color: #6b7280;
}

.cookie-duration {
    color: #6366f1;
    font-weight: 500;
}

.cookie-settings {
    background: #f0f9ff;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    margin: 2rem 0;
}

.cookie-settings h4 {
    margin-bottom: 1rem;
    color: #1f2937;
}

/* Article Footer */
.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: #e0e7ff;
    color: #4338ca;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-back,
.nav-next {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6366f1;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.nav-back:hover,
.nav-next:hover {
    gap: 0.75rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .article-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .thank-you h1 {
        font-size: 2rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .cookie-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .cookie-name::before {
        content: 'Cookie: ';
        font-weight: normal;
    }
    
    .cookie-purpose::before {
        content: 'Purpose: ';
        font-weight: 600;
    }
    
    .cookie-duration::before {
        content: 'Duration: ';
        font-weight: 600;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .framework-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .decision-branches {
        grid-template-columns: 1fr;
    }
    
    .tech-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .career-path-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .level-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .courses-grid,
    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .course-card.featured {
        transform: none;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .cta-box,
    .social-links,
    .nav-toggle {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .article-content,
    .legal-content {
        max-width: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: none !important;
        color: #000;
    }
    
    .hero-background {
        display: none;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 1px solid #000;
        background: none !important;
        color: #000 !important;
    }
}
