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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* CSS Custom Properties for Color Scheme */
:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #059669;
    --secondary-dark: #047857;
    --accent-color: #dc2626;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background-primary: #ffffff;
    --background-secondary: #f9fafb;
    --background-accent: #f3f4f6;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

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

.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Flexbox and Grid Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

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

.items-center {
    align-items: center;
}

.grid {
    display: grid;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.5;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--background-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo img {
    width: 40px;
    height: 40px;
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-primary) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.hero-graphic img {
    width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--background-primary);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.feature-card {
    background-color: var(--background-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* About Preview Section */
.about-preview {
    padding: 4rem 0;
    background-color: var(--background-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-graphic img {
    width: 100%;
    height: auto;
}

/* Page Header */
.page-header {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    color:white;
    margin-bottom: 0;
}

.legal-date {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background-color: var(--background-secondary);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-section.reverse .section-content {
    direction: rtl;
}

.content-section.reverse .content-text {
    direction: ltr;
}

.content-graphic img {
    width: 100%;
    height: auto;
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    background-color: var(--background-accent);
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-weight: 500;
    color: var(--text-primary);
}

/* Testimonials */
.testimonials-section {
    padding: 4rem 0;
}

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

.testimonial-card {
    background-color: var(--background-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.rating {
    color: #fbbf24;
    font-size: 1.1rem;
}

/* Blog Styles */
.featured-article {
    padding: 4rem 0;
    background-color: var(--background-secondary);
}

.article-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.article-meta {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.article-graphic img {
    width: 100%;
    height: auto;
}

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

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

.article-card {
    background-color: var(--background-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

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

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

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

.article-content {
    padding: 1.5rem;
}

.article-category {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Blog Categories */
.blog-categories {
    padding: 4rem 0;
    background-color: var(--background-secondary);
}

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

.category-card {
    background-color: var(--background-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.category-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.category-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Services/Modules */
.modules-section {
    padding: 4rem 0;
    background-color: var(--background-secondary);
}

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

.module-card {
    background-color: var(--background-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.module-icon {
    margin-bottom: 1.5rem;
}

.module-icon img {
    width: 60px;
    height: 60px;
}

.module-duration {
    background-color: var(--background-accent);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 1rem;
    display: inline-block;
}

/* Contact Form */
.contact-section {
    padding: 4rem 0;
}

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

.contact-form {
    background-color: var(--background-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info {
    background-color: var(--background-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
}

.contact-info img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: var(--background-secondary);
}

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

.faq-item {
    background-color: var(--background-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 3rem 0;
    background-color: var(--primary-color);
    color: white;
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form-inline {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form-inline input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form-inline .btn {
    white-space: nowrap;
    background-color: white;
    color: var(--primary-color);
}

.newsletter-note {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

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

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

.cta-stats .stat {
    text-align: center;
}

.cta-stats .stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.cta-stats .stat span {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-primary);
    color: white;
    padding: 1rem;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    transform: translateY(100%);
    transition: var(--transition);
}

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

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

.cookie-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

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

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Article/Blog Post Styles */
.blog-article {
    margin-top: 80px;
}

.article-header {
    padding: 4rem 0 2rem;
    background-color: var(--background-secondary);
}

.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 1rem 0;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.author-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

.tag {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 500;
}

.article-content {
    padding: 2rem 0 4rem;
}

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

.article-body {
    max-width: none;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-image {
    margin: 2rem 0;
    text-align: center;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.article-intro {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    background-color: var(--background-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.sidebar-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.quick-facts {
    list-style: none;
}

.quick-facts li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.quick-facts li:last-child {
    border-bottom: none;
}

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

.resource-links li {
    margin-bottom: 0.5rem;
}

.resource-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.resource-links a:hover {
    text-decoration: underline;
}

.related-articles .related-article {
    display: block;
    padding: 1rem;
    background-color: var(--background-primary);
    border-radius: var(--border-radius);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.related-articles .related-article:hover {
    box-shadow: var(--shadow-sm);
}

.related-articles h4 {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.related-articles p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.cta-sidebar {
    background-color: var(--primary-color);
    color: white;
}

.cta-sidebar h3 {
    color: white;
}

.cta-sidebar p {
    color: rgba(255, 255, 255, 0.9);
}

/* Article Content Elements */
.highlight-box {
    background-color: var(--background-accent);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.warning-box {
    background-color: #fef3cd;
    border: 1px solid #facc15;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.warning-box h3,
.warning-box h4 {
    color: #92400e;
    margin-bottom: 0.75rem;
}

.example-box {
    background-color: #ecfdf5;
    border: 1px solid var(--success-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.example-box h4 {
    color: var(--success-color);
    margin-bottom: 0.75rem;
}

.important-notice {
    background-color: #fef2f2;
    border: 1px solid var(--error-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.important-notice h4 {
    color: var(--error-color);
    margin-bottom: 0.75rem;
}

.comparison-table,
.strategy-table,
.tax-table,
.investment-table,
.vesting-table,
.provincial-table,
.benefits-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table,
.strategy-table table,
.tax-table table,
.investment-table table,
.vesting-table table,
.provincial-table table,
.benefits-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--background-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table th,
.strategy-table th,
.tax-table th,
.investment-table th,
.vesting-table th,
.provincial-table th,
.benefits-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td,
.strategy-table td,
.tax-table td,
.investment-table td,
.vesting-table td,
.provincial-table td,
.benefits-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.table-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

.action-steps {
    margin: 2rem 0;
}

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

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.article-conclusion {
    background-color: var(--background-accent);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    margin: 3rem 0 2rem;
}

/* Legal Content Styles */
.legal-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.legal-nav {
    background-color: var(--background-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
    position: sticky;
    top: 100px;
}

.legal-nav h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-nav ul {
    list-style: none;
    columns: 2;
    column-gap: 2rem;
}

.legal-nav li {
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

.legal-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.legal-nav a:hover {
    text-decoration: underline;
}

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.legal-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-box {
    background-color: var(--background-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

/* Thanks Page Styles */
.thanks-page {
    padding: 2rem 0 4rem;
}

.thanks-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.thanks-icon img {
    width: 120px;
    height: 120px;
}

.thanks-section h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thanks-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.confirmation-details {
    text-align: left;
    background-color: var(--background-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 3rem;
}

.next-steps {
    margin-top: 2rem;
}

.next-steps .step {
    background-color: var(--background-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.next-steps .step-icon {
    background-color: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-reminder {
    background-color: var(--background-accent);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
    text-align: left;
}

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

.contact-option {
    background-color: var(--background-primary);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.resources-section {
    margin-bottom: 3rem;
    text-align: left;
}

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

.resource-card {
    background-color: var(--background-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

.resource-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.resource-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.resource-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.social-proof {
    background-color: var(--background-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 3rem;
}

.social-proof .stats-grid {
    margin-top: 2rem;
}

.social-proof .stat {
    text-align: center;
}

.social-proof .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.social-proof .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .legal-nav ul {
        columns: 1;
    }
    
    .article-content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--background-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .about-content,
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-section.reverse .section-content {
        direction: ltr;
    }
    
    .featured-article .article-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card.featured {
        grid-column: auto;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .newsletter-form-inline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form-inline input {
        min-width: auto;
    }
    
    .immediate-contact {
        grid-template-columns: 1fr;
    }
    
    .cta-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .features-grid,
    .articles-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-stats {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .next-steps .step {
        flex-direction: row;
        text-align: left;
    }
    
    .resource-links {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .newsletter-section,
    .cta,
    .footer {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    .page-header {
        background: none;
        color: var(--text-primary);
    }
    
    .page-header h1 {
        color: var(--text-primary);
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Better Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --text-primary: #000000;
        --text-secondary: #000000;
        --border-color: #000000;
        --background-primary: #ffffff;
        --background-secondary: #ffffff;
    }
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
