/* Hand-drawn Swiss Public Speaking Website Styles */
/* jovial-journey.com - Rhetorik & Public Speaking */

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

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fdfcf8;
    overflow-x: hidden;
}

/* Hand-drawn aesthetic variables */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #3498db;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #fdfcf8;
    --bg-white: #ffffff;
    --border-color: #ecf0f1;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --hand-drawn-border: 2px solid var(--text-dark);
}

/* Hand-drawn elements */
.hand-drawn {
    position: relative;
    border: none;
    background: transparent;
}

.hand-drawn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--text-dark);
    border-radius: 8px;
    transform: rotate(-0.5deg);
    z-index: -1;
}

.hand-drawn::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid var(--text-dark);
    border-radius: 6px;
    transform: rotate(0.3deg);
    z-index: -2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

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

/* Header and Navigation */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    flex: 1;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(1deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 2;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(231, 76, 60, 0.1);
    border: 2px solid var(--primary-color);
    transform: rotate(-1deg);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-accept-all,
.btn-necessary,
.btn-settings,
.btn-save,
.btn-cancel {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid;
    font-size: 1rem;
    position: relative;
    transform: rotate(-0.5deg);
}

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

.btn-primary:hover {
    background-color: #c0392b;
    transform: rotate(0.5deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: white;
    transform: rotate(0.5deg) scale(1.05);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(231, 76, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    transform: rotate(-1deg);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-img {
    width: 100%;
    height: auto;
    max-width: 500px;
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: rotate(-1deg) scale(1.02);
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: block;
    transform: rotate(-2deg);
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transform: rotate(1deg);
}

/* About Section */
.about-section {
    background-color: var(--bg-white);
}

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

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 15px;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
    border: 2px solid var(--border-color);
}

.stat-item:hover {
    transform: rotate(1deg) scale(1.05);
    border-color: var(--primary-color);
}

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

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

/* Services Section */
.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
}

.service-card:nth-child(even) {
    transform: rotate(1deg);
}

.service-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

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

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-white);
}

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

.testimonial-card {
    background-color: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transform: rotate(1deg);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
}

.testimonial-card:nth-child(even) {
    transform: rotate(-1deg);
}

.testimonial-card:hover {
    transform: rotate(0deg) scale(1.02);
    border-color: var(--secondary-color);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial-author strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

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

/* Blog Section */
.blog-preview,
.blog-page {
    background-color: var(--bg-light);
}

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

.blog-card,
.article-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.blog-card:nth-child(even),
.article-card:nth-child(even) {
    transform: rotate(0.5deg);
}

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

.blog-image,
.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content,
.article-content {
    padding: 2rem;
}

.blog-content h3,
.article-content h3 {
    margin-bottom: 1rem;
}

.blog-content h3 a,
.article-content h3 a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.blog-content h3 a:hover,
.article-content h3 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.blog-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Contact Section */
.contact {
    background-color: var(--bg-white);
}

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

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.contact-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

/* Forms */
.contact-form,
.newsletter-form {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    transform: rotate(-1deg);
    border: 2px solid var(--border-color);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

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

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

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

.social-link {
    color: #bdc3c7;
    text-decoration: none;
    padding: 0.5rem;
    border: 1px solid #34495e;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(-2deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Cookie Management */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: white;
    padding: 1.5rem;
    z-index: 2000;
    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;
    gap: 2rem;
}

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

.btn-accept-all {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

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

.btn-settings {
    background-color: transparent;
    border-color: white;
    color: white;
}

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

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

.cookie-modal-content {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: rotate(-1deg);
}

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

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

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

/* Page Headers */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c0392b 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    transform: rotate(-1deg);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* About Page Specific */
.about-page {
    background-color: var(--bg-white);
}

.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transform: rotate(2deg);
}

.company-values {
    margin-bottom: 5rem;
}

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

.value-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
    border: 2px solid var(--border-color);
}

.value-item:nth-child(even) {
    transform: rotate(1deg);
}

.value-item:hover {
    transform: rotate(0deg) scale(1.02);
    border-color: var(--primary-color);
}

.team-section {
    margin-bottom: 5rem;
}

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

.team-member {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transform: rotate(-0.5deg);
    transition: transform 0.3s ease;
    border: 2px solid var(--border-color);
}

.team-member:nth-child(even) {
    transform: rotate(0.5deg);
}

.team-member:hover {
    transform: rotate(0deg) scale(1.02);
    border-color: var(--secondary-color);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    border: 3px solid var(--primary-color);
}

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

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin: 0 2rem;
    flex: 1;
    border: 2px solid var(--border-color);
    transform: rotate(-0.5deg);
}

.timeline-item:nth-child(even) .timeline-content {
    transform: rotate(0.5deg);
}

/* Certifications */
.certifications {
    margin-bottom: 3rem;
}

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

.cert-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.cert-item:nth-child(even) {
    transform: rotate(1deg);
}

.cert-item:hover {
    transform: rotate(0deg) scale(1.02);
    border-color: var(--accent-color);
}

/* Blog Page Specific */
.blog-featured {
    margin-bottom: 5rem;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transform: rotate(-0.5deg);
    border: 2px solid var(--border-color);
}

.featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.featured-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.article-category {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    transform: rotate(-2deg);
}

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.article-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.blog-sidebar {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transform: rotate(1deg);
    border: 2px solid var(--border-color);
}

.sidebar-widget {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.sidebar-widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.categories {
    list-style: none;
}

.categories li {
    margin-bottom: 1rem;
}

.categories a {
    text-decoration: none;
    color: var(--text-dark);
    padding: 0.5rem;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.categories a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

.newsletter-form {
    transform: rotate(-0.5deg);
}

.newsletter-form input {
    margin-bottom: 1rem;
}

.popular-posts {
    list-style: none;
}

.popular-posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.popular-posts a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.popular-posts a:hover {
    color: var(--primary-color);
}

/* Article Page Specific */
.article-page {
    background-color: var(--bg-white);
    padding-top: 100px;
}

.article-header {
    text-align: center;
    margin-bottom: 4rem;
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transform: rotate(-1deg);
}

.article-hero-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin: 2rem auto;
    display: block;
    transform: rotate(1deg);
}

.article-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.article-text h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

.article-text ul,
.article-text ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

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

blockquote {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    font-style: italic;
    transform: rotate(-0.5deg);
}

.article-cta {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
    border: 2px solid var(--border-color);
    transform: rotate(0.5deg);
}

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

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

.author-info {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
    transform: rotate(-1deg);
}

.author-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid var(--primary-color);
}

.share-buttons {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
    transform: rotate(1deg);
}

.share-btn {
    display: block;
    padding: 0.8rem;
    margin-bottom: 1rem;
    text-decoration: none;
    background-color: var(--bg-white);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.share-btn:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.related-articles {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transform: rotate(-0.5deg);
}

.related-articles ul {
    list-style: none;
}

.related-articles li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.related-articles a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

tr:hover {
    background-color: var(--bg-light);
}

/* Legal Pages */
.legal-page {
    background-color: var(--bg-white);
    padding: 2rem 0;
}

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

.legal-content h2 {
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

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

address {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
    font-style: normal;
}

/* Thank You Page */
.thank-you-page {
    background-color: var(--bg-white);
    padding: 120px 0 80px;
    text-align: center;
}

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

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

.thank-you-message {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    border: 2px solid var(--border-color);
    transform: rotate(-0.5deg);
}

.submission-details {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 2px solid var(--success-color);
    text-align: left;
}

.error-message {
    background-color: #ffe6e6;
    color: var(--error-color);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 2px solid var(--error-color);
}

.next-steps {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: left;
    transform: rotate(0.5deg);
}

.next-steps ul {
    list-style: none;
    padding-left: 0;
}

.next-steps li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    transform: rotate(-0.5deg);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.resources-section {
    background-color: var(--bg-light);
}

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

.resource-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
    border: 2px solid var(--border-color);
}

.resource-card:nth-child(even) {
    transform: rotate(1deg);
}

.resource-card:hover {
    transform: rotate(0deg) scale(1.02);
    border-color: var(--primary-color);
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: var(--text-dark);
}

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

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transform: rotate(-1deg);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
    font-size: 1.2rem;
    padding: 15px 30px;
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-light);
    transform: rotate(0.5deg) scale(1.05);
}

/* Cookie Controls */
.cookie-controls {
    text-align: center;
    margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .about-intro,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .article-content {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row;
        margin-left: 2rem;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-year {
        min-width: 60px;
        font-size: 0.9rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-form,
    .newsletter-form {
        padding: 1.5rem;
    }
    
    .cookie-modal-content {
        padding: 2rem;
        margin: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .nav-toggle,
    .share-buttons,
    .action-buttons {
        display: none;
    }
    
    .article-page,
    .legal-page {
        padding-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .page-header {
        background: none;
        color: black;
        padding: 2rem 0;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hand-drawn::before,
    .hand-drawn::after {
        transform: none;
    }
    
    .hero-img,
    .service-card,
    .testimonial-card,
    .blog-card,
    .team-member {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --secondary-color: #000;
        --text-dark: #000;
        --text-light: #333;
        --border-color: #000;
    }
    
    .btn-primary {
        background-color: #000;
        border-color: #000;
        color: #fff;
    }
    
    .btn-secondary {
        background-color: #fff;
        border-color: #000;
        color: #000;
    }
}

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

.nav-link:focus {
    outline-color: var(--primary-color);
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}
