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

html {
    scroll-behavior: smooth;
}

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

/* Hand-drawn aesthetic variables */
:root {
    --primary-color: #8B0000;
    --secondary-color: #FFD700;
    --accent-color: #2C5530;
    --text-color: #333;
    --bg-color: #fefefe;
    --card-bg: #fff;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

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

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

/* Hand-drawn style borders and shadows */
.hand-drawn {
    position: relative;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    transform: rotate(-0.5deg);
    box-shadow: 3px 3px 10px var(--shadow-color);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    transform: rotate(-1deg);
    font-family: inherit;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #a00000);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a00000, var(--primary-color));
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

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

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

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 10px var(--shadow-color);
}

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

.logo img {
    height: 50px;
    transform: rotate(-2deg);
    transition: var(--transition);
}

.logo:hover img {
    transform: rotate(2deg) scale(1.1);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    transform: rotate(-1deg);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    transform: rotate(-2deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fefefe 0%, #f8f8f8 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grain' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='50' cy='50' r='1' fill='%23ddd' opacity='0.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23grain)'/%3E%3C/svg%3E") repeat;
    opacity: 0.1;
    z-index: 1;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transform: rotate(-1deg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
}

.hero-image img {
    width: 100%;
    height: auto;
    transform: rotate(1deg);
    transition: var(--transition);
}

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

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-color);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    transform: rotate(-1deg);
}

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

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    position: relative;
    transform: rotate(-0.5deg);
    box-shadow: 5px 5px 15px var(--shadow-color);
}

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

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

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.1) rotate(5deg);
}

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

/* About Section */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #fefefe 100%);
}

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

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transform: rotate(-1deg);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transform: rotate(1deg);
    transition: var(--transition);
    border: 3px solid var(--primary-color);
}

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

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-color);
}

.testimonials h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    transform: rotate(-1deg);
}

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

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    position: relative;
    transform: rotate(-0.5deg);
    box-shadow: 5px 5px 15px var(--shadow-color);
    transition: var(--transition);
}

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

.testimonial-card:hover {
    transform: rotate(0deg) translateY(-5px);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--secondary-color);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #666;
}

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

.testimonial-card span {
    color: #888;
    font-size: 0.9rem;
}

/* Blog Section */
.blog-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #fefefe 100%);
}

.blog-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    transform: rotate(-1deg);
}

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

.blog-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    transform: rotate(-0.5deg);
    box-shadow: 5px 5px 15px var(--shadow-color);
}

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

.blog-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 10px 10px 25px var(--shadow-color);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-content h3 a:hover {
    color: var(--accent-color);
}

.blog-date {
    color: #888;
    font-size: 0.9rem;
}

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

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transform: rotate(-1deg);
}

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

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: end;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid white;
    border-radius: 25px;
    font-size: 1rem;
    background: white;
    color: var(--text-color);
    transform: rotate(-1deg);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    transform: rotate(1deg);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.form-group input::placeholder {
    color: #999;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-color);
}

.contact h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    transform: rotate(-1deg);
}

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

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    transform: rotate(-0.5deg);
}

.contact-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transform: rotate(-0.5deg);
    transition: var(--transition);
}

.contact-item:hover {
    transform: rotate(0.5deg);
    border-color: var(--primary-color);
}

.social-media h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.social-links a {
    display: inline-block;
    padding: 10px 20px;
    background: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    transform: rotate(-1deg);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(1deg);
}

/* Footer */
.footer {
    background: var(--text-color);
    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: var(--secondary-color);
    margin-bottom: 1rem;
    transform: rotate(-0.5deg);
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: var(--secondary-color);
    transform: rotate(-1deg);
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    transform: rotate(-2deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(51, 51, 51, 0.95);
    color: white;
    padding: 1.5rem;
    z-index: 1001;
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--primary-color);
    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;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1002;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

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

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

.cookie-option {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    transform: rotate(0.5deg);
}

.cookie-option label {
    display: flex;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

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

/* Page-specific styles */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), #a00000);
    color: white;
    text-align: center;
}

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

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

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

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 5px 5px 15px var(--shadow-color);
    transform: rotate(-0.5deg);
}

.legal-content h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    transform: rotate(0.5deg);
}

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

.legal-content ul, .legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-contact {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    transform: rotate(1deg);
}

/* Article Pages */
.article-page {
    padding: 6rem 0;
    background: var(--bg-color);
}

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

.article-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transform: rotate(-1deg);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #888;
    font-size: 0.9rem;
}

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

.article-image img {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid var(--primary-color);
    transform: rotate(1deg);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 5px 5px 15px var(--shadow-color);
    transform: rotate(-0.5deg);
}

.article-intro {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    border-left: 4px solid var(--secondary-color);
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.article-navigation {
    max-width: 800px;
    margin: 2rem auto 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.article-cta {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    transform: rotate(1deg);
}

.article-cta a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.article-cta a:hover {
    text-decoration: underline;
}

/* Related Articles */
.related-articles {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #fefefe 100%);
}

.related-articles h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    transform: rotate(-1deg);
}

/* Blog Page */
.blog-page {
    padding: 6rem 0;
    background: var(--bg-color);
}

.blog-articles {
    max-width: 800px;
    margin: 0 auto;
}

.blog-article-full {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    border: 2px solid var(--border-color);
    box-shadow: 5px 5px 15px var(--shadow-color);
    transform: rotate(-0.5deg);
    transition: var(--transition);
}

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

.blog-article-full:hover {
    transform: rotate(0deg);
    box-shadow: 10px 10px 25px var(--shadow-color);
}

.blog-article-full img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

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

.blog-article-content h2 a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-article-content h2 a:hover {
    color: var(--accent-color);
}

.blog-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    color: #888;
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.read-more:hover {
    border-bottom-color: var(--primary-color);
}

/* About Detailed */
.about-detailed {
    padding: 6rem 0;
    background: var(--bg-color);
}

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

.about-text-detailed {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 5px 5px 15px var(--shadow-color);
    transform: rotate(-0.5deg);
}

.about-text-detailed h2 {
    color: var(--primary-color);
    transform: rotate(0.5deg);
}

.about-image-detailed img {
    width: 100%;
    border-radius: 20px;
    border: 3px solid var(--primary-color);
    transform: rotate(1deg);
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #fefefe 100%);
}

.team-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    transform: rotate(-1deg);
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    transform: rotate(-0.5deg);
    transition: var(--transition);
    box-shadow: 5px 5px 15px var(--shadow-color);
}

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

.team-member:hover {
    transform: rotate(0deg) translateY(-5px);
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--secondary-color);
}

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

.team-member p {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member span {
    color: #888;
    font-size: 0.9rem;
}

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

.stats-section h2 {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    transform: rotate(-1deg);
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform: rotate(-0.5deg);
    transition: var(--transition);
}

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

.stat-item:hover {
    transform: rotate(0deg) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

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

/* Thank You Page */
.thank-you-section {
    padding: 8rem 0;
    background: var(--bg-color);
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 5px 5px 15px var(--shadow-color);
    transform: rotate(-0.5deg);
}

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

.thank-you-content h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
    transform: rotate(1deg);
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.thank-you-details {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
    transform: rotate(0.5deg);
}

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

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

/* Cookies Table */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

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

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

.cookies-table tr:hover {
    background: #f8f8f8;
}

/* Cookie Settings Button */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        backdrop-filter: blur(10px);
    }
    
    .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);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .about-content-detailed {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-group {
        min-width: auto;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-content,
    .article-content,
    .thank-you-content {
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card,
.testimonial-card,
.blog-card {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-image img {
    animation: float 6s ease-in-out infinite;
}

/* Smooth scrolling for all links */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
*:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .cookie-settings-btn {
        display: none;
    }
    
    .legal-content,
    .article-content {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}
