/* 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: #ffffff;
}

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

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #545b62;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: #007bff;
    padding: 12px 24px;
    border: 2px solid #007bff;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

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

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

.nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #007bff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

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

/* Company Info Section */
.company-info {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.company-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Services Section */
.services {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

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

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.portfolio-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    overflow: hidden;
}

.portfolio-image svg {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image svg {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.portfolio-content p {
    color: #666;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    flex-shrink: 0;
}

.author-info h4 {
    color: #333;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    color: #007bff;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.newsletter-privacy {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

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

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

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

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

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

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

.footer-brand p {
    color: #bdc3c7;
    margin-top: 1rem;
}

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

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

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

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

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

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

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

.breadcrumb {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.breadcrumb li {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    opacity: 0.6;
}

.breadcrumb li.active {
    color: white;
}

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

.breadcrumb a:hover {
    color: white;
}

/* Blog Styles */
.blog-section {
    padding: 80px 0;
}

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

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image svg {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

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

.blog-content h2 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h2 a:hover {
    color: #007bff;
}

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

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

.read-more {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

/* Article Styles */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 40px;
}

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

.article-category {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
}

.article-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.5;
}

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

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

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

.article-image svg {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

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

.article-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.article-text h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: #333;
}

.article-text h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #333;
}

.article-text h4 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.5rem;
    color: #333;
}

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

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

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

.article-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
}

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

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

/* Related Articles */
.related-articles {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
}

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

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.article-card .article-image {
    margin-bottom: 0;
}

.article-card .article-content {
    padding: 1.5rem;
}

.article-card .article-content h3 {
    margin-bottom: 0.5rem;
}

.article-card .article-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card .article-content h3 a:hover {
    color: #007bff;
}

.article-card .article-content p {
    color: #666;
    margin-bottom: 0;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    text-align: center;
}

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

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

.thank-you-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

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

.thank-you-details {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.thank-you-details p {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
}

.thank-you-details ul {
    list-style-type: none;
    padding-left: 0;
}

.thank-you-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.thank-you-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

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

.related-content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.related-content h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #333;
}

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

.content-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.content-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.content-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.content-link {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-link:hover {
    color: #0056b3;
}

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

.legal-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.last-updated {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-body h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: #333;
}

.legal-body h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: #333;
}

.legal-body h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
    color: #333;
}

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

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

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

.contact-info-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #007bff;
}

.contact-info-box p,
.contact-info-box ul {
    margin-bottom: 0;
}

.contact-info-box ul {
    list-style: none;
    padding-left: 0;
}

.contact-info-box li {
    margin-bottom: 0.5rem;
}

.acceptance-note {
    background-color: #e9ecef;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
    font-style: italic;
}

/* Cookie Tables */
.cookie-table {
    margin: 2rem 0;
}

.cookie-table h4 {
    margin-bottom: 1rem;
    color: #333;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.cookie-table th {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

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

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

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

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

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

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

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

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

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

.cookie-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.cookie-category {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.cookie-category h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.cookie-category p {
    margin-bottom: 1rem;
    color: #666;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #007bff;
}

input:focus + .slider {
    box-shadow: 0 0 1px #007bff;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

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

    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .stats {
        justify-content: center;
    }

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

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

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .newsletter-form .form-group {
        flex-direction: column;
    }

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

    .page-header-content h1 {
        font-size: 2.5rem;
    }

    .article-title {
        font-size: 2rem;
    }

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

    .breadcrumb {
        flex-wrap: wrap;
    }

    .article-meta {
        justify-content: center;
    }

    .thank-you-content h1 {
        font-size: 2rem;
    }

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

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

    .cookie-modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }

    .blog-meta {
        justify-content: center;
    }

    .article-text {
        font-size: 1rem;
    }

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

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

    .cookie-table th,
    .cookie-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card,
    .portfolio-item,
    .testimonial-card {
        margin: 0 10px;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid,
    .blog-grid,
    .articles-grid,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

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

    .thank-you-content h1 {
        font-size: 1.8rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .hero-buttons,
    .newsletter,
    .article-cta,
    .related-articles,
    .thank-you-actions,
    .related-content {
        display: none !important;
    }

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

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

    .page-header,
    .article-header {
        background: none !important;
        color: #000 !important;
        padding: 20px 0 !important;
    }

    .legal-content,
    .article-content {
        padding: 0 !important;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: #000 !important;
    }

    p, li {
        page-break-inside: avoid;
    }

    .contact-info-box,
    .cookie-table,
    .acceptance-note {
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
}

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

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero,
    .newsletter,
    .page-header,
    .article-header {
        background: #000 !important;
        color: #fff !important;
    }

    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }

    .service-card,
    .portfolio-item,
    .testimonial-card,
    .blog-card,
    .article-card,
    .content-card {
        border: 1px solid #000;
    }
}
