/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fefefe;
    font-size: 16px;
}

/* Hand-drawn style utilities */
.hand-drawn-border {
    border: 3px solid #2c3e50;
    border-radius: 15px 25px 20px 30px;
    position: relative;
}

.hand-drawn-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #3498db;
    border-radius: 20px 15px 25px 18px;
    z-index: -1;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    transform: rotate(-1deg);
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    transform: rotate(0.5deg);
}

h3 {
    font-size: 1.5rem;
    transform: rotate(-0.3deg);
}

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

.lead {
    font-size: 1.25rem;
    font-weight: bold;
    color: #34495e;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(45deg, #ecf0f1, #bdc3c7);
    border-radius: 15px 25px 20px 30px;
    border: 2px dashed #3498db;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px 35px 30px 20px;
    border: 3px solid;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    position: relative;
    transform: rotate(-1deg);
    box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: rotate(1deg) scale(1.05);
    box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-color: #2980b9;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
}

.btn-secondary {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    border-color: #7f8c8d;
}

.btn-outline {
    background: transparent;
    color: #3498db;
    border-color: #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
}

/* Header */
.header {
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px wavy #3498db;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand .logo {
    height: 50px;
    width: auto;
}

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

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 15px 20px 25px 10px;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    transform: rotate(-1deg);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-text h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.3));
}

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

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

.section-header h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px 30px 25px 15px;
    border: 3px solid #3498db;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    transform: rotate(-1deg);
}

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

.service-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 8px 8px 20px rgba(0,0,0,0.2);
}

.service-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 80px;
    height: 80px;
}

.service-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    text-align: center;
    color: #7f8c8d;
}

/* About Preview */
.about-preview {
    padding: 4rem 0;
}

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

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

.about-text p {
    margin-bottom: 1.5rem;
    color: #7f8c8d;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px 25px 20px 30px;
    border: 3px solid #3498db;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, #ddd6fe, #c4b5fd);
    position: relative;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 25px 15px 30px 20px;
    border: 3px dashed #8b5cf6;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.1);
    transform: rotate(1deg);
    position: relative;
}

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

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #4c5660;
    font-size: 1.1rem;
}

.testimonial-author strong {
    color: #2c3e50;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #7f8c8d;
    display: block;
    margin-top: 0.5rem;
}

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

.testimonials-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* Blog Preview */
.blog-preview {
    background: linear-gradient(135deg, #fff5f5, #fed7d7);
}

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

.blog-card {
    background: white;
    padding: 2rem;
    border-radius: 20px 30px 15px 25px;
    border: 3px solid #e74c3c;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

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

.blog-card:hover {
    transform: rotate(0deg) translateY(-3px);
    box-shadow: 6px 6px 18px rgba(0,0,0,0.15);
}

.blog-icon {
    text-align: center;
    margin-bottom: 1rem;
}

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

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

.blog-card h3 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: #e74c3c;
}

.blog-card p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #c0392b;
}

.blog-cta {
    text-align: center;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, #f0f8f0, #d4edda);
}

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

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

.contact-item h4 {
    color: #27ae60;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #7f8c8d;
}

.contact-item a {
    color: #27ae60;
    text-decoration: none;
    font-weight: bold;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px 30px 25px 15px;
    border: 3px solid #27ae60;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #bdc3c7;
    border-radius: 10px 15px 12px 8px;
    font-size: 1rem;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 5px rgba(39, 174, 96, 0.3);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 3rem 0 1rem;
}

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

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

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 1rem;
}

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

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

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

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

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

.social-links a {
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px dashed #7f8c8d;
    color: #95a5a6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 1rem;
    z-index: 10000;
    border-top: 3px wavy #3498db;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

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

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

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

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

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

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px 30px 25px 15px;
    border: 3px solid #3498db;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 2px dashed #bdc3c7;
    border-radius: 10px 15px 12px 8px;
}

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

.cookie-option p {
    margin-top: 0.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

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

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

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

/* About page */
.about-content {
    margin-bottom: 4rem;
}

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

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Team section */
.team-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.team-member {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 20px 30px 25px 15px;
    border: 3px solid #3498db;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
    transform: rotate(-1deg);
}

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

.member-avatar {
    margin-bottom: 1.5rem;
}

.member-role {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Values section */
.values-section {
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
}

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

.value-card {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 15px 25px 20px 30px;
    border: 3px solid #e17055;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.1);
    transform: rotate(0.5deg);
}

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

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

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

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

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

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

/* Thank you page */
.thank-you-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, #d1f2eb, #a3e4d7);
}

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

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

.thank-you-message {
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 3rem;
}

.next-steps {
    background: white;
    padding: 2rem;
    border-radius: 20px 30px 25px 15px;
    border: 3px solid #27ae60;
    margin-bottom: 3rem;
    text-align: left;
}

.next-steps h3 {
    text-align: center;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

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

.next-steps li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.next-steps li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.contact-info-box {
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 15px 25px 20px 30px;
    border: 2px dashed #27ae60;
    margin-bottom: 3rem;
}

.phone-link {
    color: #27ae60;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    margin: 1rem 0;
}

.phone-link:hover {
    text-decoration: underline;
}

.hours {
    color: #7f8c8d;
    font-style: italic;
}

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

/* Legal pages */
.legal-content {
    padding: 2rem 0;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px 25px 20px 30px;
    border: 3px solid #7f8c8d;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

.legal-document h2 {
    color: #2c3e50;
    border-bottom: 2px dashed #bdc3c7;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-document h3 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-document ul,
.legal-document ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

.legal-document strong {
    color: #2c3e50;
}

#manage-cookies {
    margin: 1rem 0;
}

/* Blog pages */
.blog-content {
    padding: 2rem 0;
}

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

.blog-intro-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.blog-categories {
    background: rgba(52, 152, 219, 0.1);
    padding: 2rem;
    border-radius: 15px 25px 20px 30px;
    border: 2px dashed #3498db;
    margin-bottom: 3rem;
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    margin-top: 1rem;
}

.categories-list li {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 10px 15px 12px 8px;
    border: 2px solid #3498db;
    text-align: center;
    font-weight: bold;
    color: #2c3e50;
}

.blog-post-card {
    background: white;
    padding: 2rem;
    border-radius: 20px 30px 25px 15px;
    border: 3px solid #e74c3c;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transform: rotate(-0.3deg);
}

.blog-post-card:nth-child(even) {
    transform: rotate(0.3deg);
}

.blog-post-icon {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

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

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

.blog-post-content h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.blog-post-content h3 a:hover {
    color: #e74c3c;
}

.blog-post-excerpt {
    color: #7f8c8d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-date {
    color: #3498db;
    font-weight: bold;
}

.blog-category {
    color: #e74c3c;
    font-weight: bold;
}

.read-more-btn {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* Newsletter section */
.newsletter-section {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

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

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

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

.newsletter-form button {
    border: none;
}

/* Article pages */
.article-header {
    background: linear-gradient(135deg, #81ecec, #74b9ff);
    color: white;
    padding: 3rem 0;
}

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

.article-breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.article-breadcrumb a:hover {
    color: white;
}

.article-header h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1rem;
}

.article-date,
.article-category,
.article-author {
    color: rgba(255,255,255,0.9);
    font-weight: bold;
}

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

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

.article-body {
    background: white;
    padding: 3rem;
    border-radius: 15px 25px 20px 30px;
    border: 3px solid #74b9ff;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

.article-intro {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.article-body h2 {
    color: #2c3e50;
    border-bottom: 2px dashed #bdc3c7;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.article-body h3 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-body strong {
    color: #2c3e50;
}

.article-tips {
    background: linear-gradient(135deg, #d1f2eb, #a3e4d7);
    padding: 2rem;
    border-radius: 15px 25px 20px 30px;
    border: 3px solid #27ae60;
    margin: 3rem 0;
}

.article-tips h3 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.article-tips ul {
    list-style: none;
    padding: 0;
}

.article-tips li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.article-tips li::before {
    content: '💡';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.article-cta {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 2rem;
    border-radius: 20px 30px 25px 15px;
    text-align: center;
    margin: 3rem 0;
}

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

.article-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.related-articles,
.contact-box {
    background: white;
    padding: 2rem;
    border-radius: 15px 25px 20px 30px;
    border: 3px solid #95a5a6;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

.related-articles h3,
.contact-box h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

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

.related-articles li {
    margin-bottom: 1rem;
}

.related-articles a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.related-articles a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.contact-box {
    text-align: center;
}

.contact-box p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
        flex-direction: column;
        padding: 2rem;
        transition: top 0.3s ease;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        top: 82px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .about-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .categories-list {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .article-content .container {
        grid-template-columns: 1fr;
    }
    
    .article-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .article-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .article-meta {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card,
    .team-member,
    .value-card {
        padding: 1.5rem;
    }
    
    .article-body {
        padding: 2rem;
    }
    
    .legal-document {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .article-sidebar,
    .cta-buttons,
    .action-buttons {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    .article-content .container {
        grid-template-columns: 1fr;
    }
    
    .article-body {
        border: none;
        box-shadow: none;
        padding: 0;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    body {
        background: white;
        color: black;
    }
    
    .btn {
        border-width: 4px;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        border-width: 4px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card,
    .team-member,
    .value-card,
    .contact-form,
    .article-body,
    .legal-document,
    .related-articles,
    .contact-box {
        background: #2d2d2d;
        color: #e0e0e0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #f0f0f0;
    }
    
    .form-group input,
    .form-group textarea {
        background: #3d3d3d;
        color: #e0e0e0;
        border-color: #555;
    }
}
