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

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

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

/* Color Variables */
:root {
    --primary-color: #2e7d32;
    --secondary-color: #4caf50;
    --tertiary-color: #81c784;
    --accent-color: #ff8f00;
    --text-dark: #1b5e20;
    --text-light: #666;
    --background-light: #f8fdf8;
    --border-color: #e8f5e8;
    --white: #ffffff;
    --shadow: rgba(46, 125, 50, 0.1);
    --shadow-hover: rgba(46, 125, 50, 0.2);
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

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

.btn-primary:hover {
    background-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

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

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

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

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

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

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

.nav-logo-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

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

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

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

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

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

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

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

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

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    min-width: auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 3rem;
}

.page-header p {
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background-light), var(--white));
    padding: 120px 0 80px;
    margin-top: 70px;
}

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

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

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.hero-svg {
    max-width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.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: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background-color: var(--background-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

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

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

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

.cta p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
}

.about-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

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

.about-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.about-text li {
    margin-bottom: 0.5rem;
}

.values-list li {
    margin-bottom: 1rem;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-svg {
    max-width: 100%;
    height: auto;
}

/* Team Section */
.team {
    background-color: var(--background-light);
    padding: 80px 0;
}

.team h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.team-member {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Certifications */
.certifications {
    padding: 80px 0;
}

.certifications h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.cert-item {
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.cert-item:hover {
    border-color: var(--primary-color);
}

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

/* Services Page Styles */
.services-hero {
    padding: 60px 0;
    background-color: var(--background-light);
}

.services-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.services-svg {
    max-width: 100%;
    height: auto;
}

.services-grid {
    padding: 80px 0;
}

.services-grid h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

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

.service-features {
    background-color: var(--background-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-features p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.service-includes {
    list-style: none;
    margin: 1rem 0;
}

.service-includes li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-description {
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-light);
}

/* Learning Modules */
.learning-modules {
    background-color: var(--background-light);
    padding: 80px 0;
}

.learning-modules h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.learning-modules p {
    text-align: center;
    margin-bottom: 3rem;
}

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

.module {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

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

/* Booking CTA */
.booking-cta {
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.booking-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.booking-cta p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Testimonials Page Styles */
.testimonials-hero {
    padding: 60px 0;
    background-color: var(--background-light);
}

.testimonials-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.testimonials-svg {
    max-width: 100%;
    height: auto;
}

.testimonials-grid {
    padding: 80px 0;
}

.testimonials-grid h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    position: relative;
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author strong {
    color: var(--primary-color);
}

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

/* Statistics */
.statistics {
    background-color: var(--background-light);
    padding: 80px 0;
}

.statistics h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Join CTA */
.join-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.join-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.join-cta p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Blog Page Styles */
.blog-hero {
    padding: 60px 0;
    background-color: var(--background-light);
}

.blog-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.blog-svg {
    max-width: 100%;
    height: auto;
}

.featured-article {
    padding: 60px 0;
}

.featured-article h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.featured-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.featured-category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.featured-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.featured-card h3 {
    margin-bottom: 1rem;
}

.featured-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.featured-card h3 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Blog Articles Grid */
.blog-articles {
    padding: 80px 0;
    background-color: var(--background-light);
}

.blog-articles h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.article-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-3px);
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.article-category {
    background-color: var(--tertiary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.article-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-card h3 {
    margin-bottom: 1rem;
}

.article-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

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

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.read-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    color: var(--white);
}

.newsletter h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 2rem;
}

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

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: 2px solid var(--white);
}

/* Categories */
.blog-categories {
    padding: 80px 0;
}

.blog-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.category-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.category-card:hover {
    background-color: var(--white);
    box-shadow: 0 4px 15px var(--shadow);
}

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

.category-count {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-hero {
    padding: 60px 0;
    background-color: var(--background-light);
}

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

.contact-svg {
    max-width: 100%;
    height: auto;
}

.contact-main {
    padding: 80px 0;
}

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

/* Contact Form */
.contact-form-section h2 {
    margin-bottom: 2rem;
}

.contact-form {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    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: var(--primary-color);
}

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

/* Checkbox styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

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

.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;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

/* Contact Info */
.contact-info-section h2 {
    margin-bottom: 2rem;
}

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

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 8px;
}

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

.contact-item p {
    margin-bottom: 0;
    line-height: 1.6;
}

.emergency-contact {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
}

.emergency-contact h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.emergency-contact p {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.emergency-contact a {
    color: var(--white);
    text-decoration: underline;
}

/* FAQ */
.contact-faq {
    background-color: var(--background-light);
    padding: 80px 0;
}

.contact-faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.faq-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

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

/* Thanks Page */
.thanks-content {
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.thanks-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--background-light);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
}

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

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.next-steps {
    text-align: left;
    margin: 2rem 0;
}

.next-steps h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.next-steps ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-reminder {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 2px solid var(--border-color);
}

.contact-reminder h3 {
    margin-bottom: 1rem;
}

.thanks-additional {
    padding: 80px 0;
}

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

.additional-item {
    text-align: center;
    padding: 2rem;
}

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

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

.article-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 0 60px;
}

.article-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.article-breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.article-category {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.article-date,
.article-reading-time {
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.8;
}

.article-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.article-author {
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Article Content */
.article-content {
    padding: 80px 0;
}

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

.article-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.article-body h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.article-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body strong {
    color: var(--text-dark);
}

/* Article Footer */
.article-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.article-tags {
    margin-bottom: 2rem;
}

.tag {
    background-color: var(--tertiary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.article-share {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 8px;
    text-align: center;
}

.article-navigation {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Related Articles */
.related-articles {
    background-color: var(--background-light);
    padding: 80px 0;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.related-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
}

.related-card h3 {
    margin-bottom: 1rem;
}

.related-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.related-card h3 a:hover {
    color: var(--primary-color);
}

/* Legal Content */
.legal-content {
    padding: 80px 0;
}

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

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

.legal-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

/* Cookie Settings */
.cookie-settings-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.cookie-settings-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

.cookie-controls {
    margin: 2rem 0;
}

.cookie-category {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-status {
    background-color: var(--tertiary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    text-align: left;
}

.cookie-table th {
    background-color: var(--background-light);
    font-weight: 600;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

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

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

.footer-section a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

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

.footer-bottom p {
    color: var(--white);
    opacity: 0.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Responsive grid adjustments */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .about-main,
    .services-hero-content,
    .testimonials-hero-content,
    .blog-hero-content,
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }
    
    .thanks-actions,
    .article-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .page-header h1,
    .article-header h1 {
        font-size: 1.5rem;
    }
    
    .features-grid,
    .services-cards,
    .testimonials-cards,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid,
    .cert-grid,
    .modules-grid,
    .stats-grid,
    .categories-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .footer {
        display: none;
    }
    
    .page-header,
    .article-header {
        margin-top: 0;
        padding-top: 40px;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1 {
        font-size: 18pt;
    }
    
    h2 {
        font-size: 16pt;
    }
    
    h3 {
        font-size: 14pt;
    }
    
    .btn,
    .article-navigation {
        display: none;
    }
}

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

/* Focus Styles */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #1a1a1a;
        --text-dark: #000000;
        --text-light: #333333;
        --border-color: #666666;
    }
}
