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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #3B82F6;
    color: white;
    border-color: #3B82F6;
}

.btn-primary:hover {
    background-color: #2563EB;
    border-color: #2563EB;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #3B82F6;
    border-color: #3B82F6;
}

.btn-secondary:hover {
    background-color: #3B82F6;
    color: white;
    transform: translateY(-2px);
}

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

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

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

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3B82F6;
}

.nav-cta {
    background-color: #3B82F6;
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-cta:hover {
    background-color: #2563EB;
}

.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 {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
}

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

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    color: #1E293B;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: #64748B;
    margin-bottom: 2rem;
}

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

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

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

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

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

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

.section-header p {
    font-size: 1.125rem;
    color: #64748B;
}

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

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

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

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: #3B82F6;
}

.service-card h3 {
    color: #1E293B;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748B;
}

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

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background-color: #F8FAFC;
}

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

.advantage-item {
    text-align: center;
    padding: 2rem;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    color: #10B981;
}

.advantage-item h3 {
    color: #1E293B;
    margin-bottom: 1rem;
}

.advantage-item p {
    color: #64748B;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: white;
}

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

.faq-item {
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #3B82F6;
}

.faq-question h3 {
    margin: 0;
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
    color: #64748B;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #F8FAFC;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: #F59E0B;
}

.testimonial-card p {
    font-style: italic;
    color: #64748B;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    color: #1E293B;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #64748B;
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: white;
}

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

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

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

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

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

.blog-content p {
    color: #64748B;
    margin-bottom: 1.5rem;
}

.blog-link {
    color: #3B82F6;
    text-decoration: none;
    font-weight: 500;
}

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

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

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

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

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

.contact-icon {
    width: 24px;
    height: 24px;
    color: #3B82F6;
    margin-top: 0.25rem;
}

.contact-item h3 {
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #64748B;
    margin: 0;
}

/* Forms */
.contact-form, .newsletter-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea,
.newsletter-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3B82F6;
}
.newsletter-form .btn-primary{
    margin-top: 10px;
    width: 100%;
}

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

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
}

.form-checkbox a {
    color: #3B82F6;
    text-decoration: none;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

/* Newsletter */
.newsletter-input {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-input input {
    flex: 1;
    padding: 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
}

.newsletter-input .btn {
    padding: 12px 24px;
}

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

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

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

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

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

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

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

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

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

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

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

.social-links a:hover {
    color: white;
}

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

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

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

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

.cookie-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.cookie-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

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

.cookie-buttons button {
    padding: 8px 16px;
    border: 1px solid #64748B;
    background-color: transparent;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-buttons button:hover {
    background-color: #3B82F6;
    border-color: #3B82F6;
}

/* Services Page */
.services-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    color: white;
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.services-detail {
    padding: 80px 0;
    background-color: white;
}

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

.service-detail-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-detail-card:hover {
    border-color: #3B82F6;
    transform: translateY(-2px);
}

.service-detail-icon {
    width: 64px;
    height: 64px;
    color: #3B82F6;
    margin-bottom: 1.5rem;
}

.service-detail-card h2 {
    color: #1E293B;
    margin-bottom: 1rem;
}

.service-detail-card p {
    color: #64748B;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    color: #64748B;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3B82F6;
    text-align: center;
    padding: 1rem;
    background-color: #F8FAFC;
    border-radius: 8px;
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: #F8FAFC;
}

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

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #3B82F6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: #1E293B;
    margin-bottom: 1rem;
}

.process-step p {
    color: #64748B;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: white;
}

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

.pricing-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured {
    border-color: #3B82F6;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3B82F6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-card h3 {
    color: #1E293B;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3B82F6;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: #64748B;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    color: #64748B;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.pricing-note {
    text-align: center;
    color: #64748B;
    font-style: italic;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
    background-color: white;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: #64748B;
}

.breadcrumb a {
    color: #3B82F6;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.last-updated {
    color: #64748B;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: #1E293B;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E5E7EB;
}

.legal-content h3 {
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

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

.contact-box {
    background-color: #F8FAFC;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* Cookie Policy Specific */
.cookie-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-table th {
    background-color: #F8FAFC;
    font-weight: 600;
    color: #374151;
}

.cookie-settings {
    background-color: #F8FAFC;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.settings-controls {
    margin: 1.5rem 0;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #E5E7EB;
    cursor: pointer;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item input[type="checkbox"] {
    margin-left: 1rem;
}

.note {
    font-size: 0.8rem;
    color: #64748B;
    font-style: italic;
}

.quick-links {
    list-style: none;
    padding: 0;
}

.quick-links li {
    margin-bottom: 0.5rem;
}

.quick-links a {
    color: #3B82F6;
    text-decoration: none;
}

.quick-links a:hover {
    text-decoration: underline;
}

/* Blog Articles */
.article-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    color: white;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.article-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
}

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

.article-date,
.article-author,
.article-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

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

.article-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-text h2 {
    color: #1E293B;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-text h3 {
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-text h4 {
    color: #4B5563;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

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

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

.term-definition {
    background-color: #F8FAFC;
    border-left: 4px solid #3B82F6;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.term-definition h4 {
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.mistake-box {
    background-color: #FEF2F2;
    border-left: 4px solid #EF4444;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.mistake-box h4 {
    color: #DC2626;
    margin-bottom: 0.5rem;
}

.cta-box {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

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

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

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.5rem;
}

.sidebar-section h3 {
    color: #1E293B;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

.related-article {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.related-article:hover {
    border-color: #3B82F6;
}

.related-article img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
}

.related-article h4 {
    color: #1E293B;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.related-article p {
    color: #64748B;
    font-size: 0.9rem;
    margin: 0;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Tax article specific styles */
.highlight-box {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 2px solid #F59E0B;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.highlight-box h3 {
    color: #92400E;
    margin-bottom: 1rem;
}

.tax-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.tax-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tax-table th,
.tax-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

.tax-table th {
    background-color: #3B82F6;
    color: white;
    font-weight: 600;
}

.insurance-box, .employer-box {
    background-color: #EBF8FF;
    border: 2px solid #3B82F6;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.calendar-section h3 {
    color: #1E293B;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.warning-box {
    background-color: #FEF2F2;
    border: 2px solid #EF4444;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.warning-box h3 {
    color: #DC2626;
    margin-bottom: 1rem;
}

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

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

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

.thank-you-message {
    margin: 2rem 0;
}

.next-steps {
    margin: 3rem 0;
    text-align: left;
}

.next-steps h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.step-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #3B82F6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.contact-urgency {
    background: white;
    border: 2px solid #3B82F6;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.urgent-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3B82F6;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
}

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

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

.additional-resources {
    margin-top: 3rem;
    text-align: left;
}

.additional-resources h3 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.resource-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.resource-link:hover {
    border-color: #3B82F6;
    transform: translateY(-2px);
}

.resource-icon {
    width: 48px;
    height: 48px;
    color: #3B82F6;
}

.resource-link h4 {
    color: #1E293B;
    margin-bottom: 0.25rem;
}

.resource-link p {
    color: #64748B;
    margin: 0;
    font-size: 0.9rem;
}

.newsletter-signup {
    padding: 60px 0;
    background-color: white;
}

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

.newsletter-note {
    font-size: 0.9rem;
    color: #64748B;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

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

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

    .nav-toggle {
        display: flex;
    }

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

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

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

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

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .urgent-contact {
        align-items: center;
    }

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

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

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

    .pricing-card.featured {
        transform: none;
    }

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

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

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

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

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

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

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

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

    .thank-you-icon svg {
        width: 80px;
        height: 80px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .thank-you-actions,
    .social-links,
    .newsletter-form {
        display: none;
    }

    .legal-page,
    .article-content {
        padding: 20px 0;
    }

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

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        border-color: #000;
        color: #fff;
    }

    .btn-secondary {
        background-color: #fff;
        border-color: #000;
        color: #000;
    }

    .service-card,
    .testimonial-card,
    .blog-card {
        border: 2px solid #000;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}
