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

/* Root Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #059669;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --background-color: #ffffff;
    --background-light: #f8fafc;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    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;
    color: var(--text-muted);
    line-height: 1.7;
}

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

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

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

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

.section-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 48px;
    line-height: 1.5;
}

.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);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

.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-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    min-height: 36px;
}

/* Header */
.header {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

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

.nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

.nav a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    color: var(--text-color);
}

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(37, 99, 235, 0.05) 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

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

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

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

/* About Section */
.about {
    padding: 5rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

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

.service-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

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

/* Advantages Section */
.advantages {
    padding: 5rem 0;
}

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

.advantage-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.advantage-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

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

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

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

.testimonial-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
}

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

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

/* Mission Section */
.mission {
    padding: 5rem 0;
}

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

.mission-text h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.mission-points {
    list-style: none;
    margin-left: 0;
    margin-top: 2rem;
}

.mission-points li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
}

.mission-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

.faq-item {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--background-light);
}

.faq-question h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.125rem;
}

.faq-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-muted);
}

/* Blog Section */
.blog {
    padding: 5rem 0;
}

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

.blog-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
    background-color: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    width: 80px;
    height: 80px;
}

.blog-content {
    padding: 1.5rem;
}

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

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

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

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

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

.blog-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.875rem;
}

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

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

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

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

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

.contact-item p {
    margin: 0;
}

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

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--background-color);
}

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

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

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    flex: 1;
}

/* Footer */
.footer {
    background-color: 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: white;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

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

.footer-logo span {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

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

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

.footer-section ul li a {
    color: #d1d5db;
    transition: var(--transition);
}

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

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

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

.social-links a:hover {
    background-color: var(--primary-color);
}

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

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-input {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-input input::placeholder {
    color: #d1d5db;
}

.newsletter-input button {
    white-space: nowrap;
}

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

.footer-disclaimer {
    margin-bottom: 1rem;
}

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

.footer-copyright p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

/* Cookie Management */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--background-color);
    border-top: 1px solid var(--border-color);
    padding: 1rem;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transform: translateY(100%);
    transition: var(--transition);
}

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

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

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.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: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

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

.cookie-modal-content {
    background-color: var(--background-color);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h3 {
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

.cookie-category-header h4 {
    margin: 0;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

/* Page-specific styles */
.page-header {
    padding: 4rem 0 2rem;
    background-color: var(--background-light);
    text-align: center;
}

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

.page-header-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Detail Page */
.services-detail {
    padding: 3rem 0;
}

.services-detail-grid {
    display: grid;
    gap: 3rem;
}

.service-detail-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.service-detail-header {
    background-color: var(--background-light);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-detail-header img {
    width: 48px;
    height: 48px;
}

.service-detail-header h2 {
    margin: 0;
    color: var(--primary-color);
}

.service-detail-content {
    padding: 2rem;
}

.service-detail-content h3 {
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-detail-content ul {
    margin-left: 1.5rem;
}

.service-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.contact-cta {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

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

.contact-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

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

.contact-cta .btn-primary:hover {
    background-color: var(--background-light);
    border-color: var(--background-light);
}

.contact-cta .btn-outline {
    color: white;
    border-color: white;
}

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

/* Article pages */
.article-header {
    padding: 4rem 0 2rem;
    background-color: var(--background-light);
}

.article-header-content {
    /* display: grid; */
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.article-date {
    color: var(--text-muted);
}

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

.article-excerpt {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0;
}

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

.article-image img {
    width: 120px;
    height: 120px;
}

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

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

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

.article-body h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
}

.article-body h3 {
    font-size: 1.5rem;
}

.article-body h4 {
    font-size: 1.25rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

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

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

.info-box,
.highlight-box {
    background-color: var(--background-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.highlight-box {
    background-color: rgba(37, 99, 235, 0.05);
    border-left-color: var(--accent-color);
}

.info-box h4,
.highlight-box h4 {
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

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

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

.comparison-table td {
    color: var(--text-muted);
}

.article-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin: 3rem 0;
}

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

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

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

.article-sidebar {
    position: sticky;
    top: 6rem;
    height: fit-content;
}

.sidebar-widget {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-widget h4 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.related-article:hover {
    border-color: var(--primary-color);
}

.related-article img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.related-content h5 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.related-content h5 a {
    color: var(--text-color);
}

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

.related-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.quick-contact p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.download-widget p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

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

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

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

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

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

.contact-details {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.contact-details p {
    margin-bottom: 1rem;
}

.last-updated {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.last-updated p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Cookie Policy specific styles */
.cookie-categories {
    margin: 2rem 0;
}

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

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

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

.cookie-table td {
    color: var(--text-muted);
}

.cookie-settings-buttons {
    margin: 2rem 0;
    text-align: center;
}

.browser-instructions {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.browser-instructions h4 {
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.browser-instructions h4:first-child {
    margin-top: 0;
}

.browser-instructions p {
    margin-bottom: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    background-color: var(--background-color);
    padding: 0.5rem;
    border-radius: 4px;
}

/* Thanks page */
.thanks-section {
    padding: 4rem 0;
    text-align: center;
}

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

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

.thanks-message {
    margin: 3rem 0;
}

.thanks-message .lead {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.thanks-details {
    text-align: left;
    margin: 3rem 0;
}

.thanks-details h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.next-steps {
    display: grid;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.step-content p {
    margin: 0;
    color: var(--text-muted);
}

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

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

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

.contact-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.contact-option svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-option strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.contact-option p {
    margin: 0;
    color: var(--text-muted);
}

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

.redirect-notice {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.thanks-resources {
    margin-top: 4rem;
    text-align: left;
}

.thanks-resources h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

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

.resource-item {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.resource-item h4 {
    margin-bottom: 0.75rem;
}

.resource-item h4 a {
    color: var(--text-color);
}

.resource-item h4 a:hover {
    color: var(--primary-color);
}

.resource-item p {
    margin: 0;
    font-size: 0.875rem;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        gap: 3rem;
    }

    .contact-content {
        gap: 3rem;
    }

    .article-content .container {
        gap: 2rem;
    }

    .article-header-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

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

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

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

    .article-header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .article-sidebar {
        position: static;
        order: -1;
    }

    .services-detail-grid {
        gap: 2rem;
    }

    .service-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

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

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

    .next-steps {
        gap: 1.5rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .step-content {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.125rem;
    }

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

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

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-input {
        flex-direction: column;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

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

    .cookie-table {
        font-size: 0.875rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }
}

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

    .hero {
        padding: 4rem 0;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .section {
        padding: 3rem 0;
    }

    .service-card,
    .advantage-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .article-body {
        font-size: 0.95rem;
    }

    .sidebar-widget {
        padding: 1rem;
    }

    .legal-text {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .thanks-actions,
    .article-sidebar,
    .contact-cta {
        display: none !important;
    }

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

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

    .page-header {
        background: none;
        padding: 1rem 0;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    .info-box,
    .highlight-box {
        border: 1px solid #ccc;
        background: #f9f9f9;
    }
}

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

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

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

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --text-color: #000000;
        --background-color: #ffffff;
        --border-color: #000000;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support for browsers that support it */
@media (prefers-color-scheme: dark) {
    /* Note: Dark mode is explicitly not implemented as per requirements */
}
