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

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --background-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

/* Section */
.section {
    padding: var(--section-padding);
}

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

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

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.btn-secondary:hover {
    background-color: #475569;
    border-color: #475569;
}

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

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

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

.btn-loading .btn-text {
    display: none;
}

.btn-loading .btn-loading {
    display: inline;
}

.btn-loading:not(.btn-loading) .btn-loading {
    display: none;
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 1px;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: white;
    opacity: 1;
}

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

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

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

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

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

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

.about-text ul {
    list-style: none;
}

.about-text li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

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

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-light);
    border-radius: 50%;
}

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

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

.service-card p {
    color: var(--text-light);
}

/* Reviews Section */
.reviews {
    background-color: var(--background-light);
}

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

.review-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.review-stars img {
    width: 20px;
    height: 20px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.review-author strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

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

/* Contact Info Section */
.contact-info {
    background-color: var(--background-light);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-details p {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-details p:last-child {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 400;
}

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

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

.blog-card {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.blog-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

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

.blog-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

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

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

.blog-content p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

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

/* Blog Section */
.blog-section {
    padding: 60px 0;
}

.blog-card-full {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.blog-card-full:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.blog-card-full h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-card-full h2 a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.blog-card-full h2 a:hover {
    color: var(--primary-color);
}

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

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

/* Newsletter Section */
.newsletter-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    text-align: center;
}

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

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

.newsletter-section {
    padding: 60px 0;
}

.newsletter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.newsletter-info {
    padding-right: 2rem;
}

.newsletter-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.newsletter-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.newsletter-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.newsletter-benefits {
    margin-bottom: 2rem;
}

.newsletter-benefits ul {
    list-style: none;
}

.newsletter-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.newsletter-benefits img {
    width: 16px;
    height: 16px;
}

.newsletter-frequency {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.newsletter-form-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

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

.contact-info-section {
    padding-right: 2rem;
}

.contact-items {
    margin-bottom: 3rem;
}

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

.social-section h3 {
    margin-bottom: 1rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    color: var(--text-dark);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.social-link img {
    width: 20px;
    height: 20px;
}

.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}

input.error,
textarea.error,
select.error {
    border-color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

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

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

.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"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

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

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

/* Service Areas */
.service-areas {
    background-color: var(--background-light);
    padding: 60px 0;
}

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

.area-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

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

/* Thanks Section */
.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
}

.thanks-content {
    max-width: 600px;
}

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

.thanks-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.thanks-details {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    text-align: left;
}

.thanks-details ul {
    list-style: none;
}

.thanks-details li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.thanks-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

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

.emergency-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.emergency-contact img {
    width: 20px;
    height: 20px;
}

.phone-number {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-hours {
    font-size: 0.875rem;
    color: var(--text-light);
}

.additional-services {
    background-color: var(--background-light);
    padding: 60px 0;
}

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

.service-preview-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

/* Articles */
.recent-articles {
    padding: 60px 0;
}

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

.article-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    transition: var(--transition);
}

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

.article-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

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

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

/* Article Pages */
.article-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 120px 0 60px;
}

.breadcrumb {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: underline;
}

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

.article-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

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

.article-content .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
}

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

.article-icon {
    width: 64px;
    height: 64px;
    background-color: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.article-icon img {
    width: 32px;
    height: 32px;
}

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

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

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

.article-body ul {
    list-style-type: disc;
}

.article-body ol {
    list-style-type: decimal;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.article-conclusion {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
}

.article-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 3rem 0;
}

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

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

.article-sidebar {
    position: sticky;
    top: 100px;
}

.related-articles,
.contact-widget {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.related-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.related-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-item img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.related-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

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

.contact-widget .contact-info {
    margin-bottom: 1.5rem;
}

.contact-widget .contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.contact-widget .contact-info img {
    width: 16px;
    height: 16px;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.document-info {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

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

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

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

.legal-document ul {
    list-style-type: disc;
}

.legal-document ol {
    list-style-type: decimal;
}

.legal-document li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.document-footer {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    text-align: center;
}

.cookie-settings-panel {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    text-align: center;
}

.cookie-settings-panel h2 {
    color: white;
    margin-bottom: 1rem;
}

.cookie-settings-panel p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

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

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

.cookie-table td {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
}

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

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

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

.footer-section ul li a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

.footer-contact img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

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

.footer .social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer .social-links img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #cbd5e1;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.footer-bottom p {
    color: #cbd5e1;
    font-size: 0.875rem;
    margin: 0;
}

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

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

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: white;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

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

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    margin-bottom: 1.5rem;
}

.cookie-category {
    margin-bottom: 1rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

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

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    /* Layout adjustments */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-info {
        padding-right: 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-section {
        padding-right: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }

    .thanks-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .services-preview {
        grid-template-columns: 1fr;
    }

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

    .article-sidebar {
        position: static;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

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

    .cookie-modal-buttons {
        flex-direction: column;
    }

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

    .blog-card {
        flex-direction: column;
        text-align: center;
    }

    .blog-icon {
        align-self: center;
    }

    .checkbox-group-multiple {
        grid-template-columns: 1fr;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .legal-document {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    h1 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .service-card,
    .review-card,
    .contact-item {
        padding: 1.5rem;
    }

    .legal-document {
        padding: 1.5rem 1rem;
    }

    .cookie-modal-content {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .btn,
    .hero-buttons,
    .thanks-actions,
    .articles-cta,
    .article-cta,
    .contact-widget,
    .social-links {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: black;
    }

    .section {
        padding: 20px 0;
    }

    .page-header {
        background: none;
        color: black;
        padding: 20px 0;
    }

    .article-content .container {
        grid-template-columns: 1fr;
    }
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --text-dark: #000000;
        --text-light: #333333;
        --border-color: #000000;
    }
}

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

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