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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    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.2;
    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;
    line-height: 1.7;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: white;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
}

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

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

.nav-menu a {
    color: #4b5563;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2563eb;
}

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

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

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

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

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

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

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

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

.cookie-option {
    margin: 1rem 0;
}

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

.cookie-option input[type="checkbox"] {
    margin-top: 0.2rem;
}

.cookie-option span {
    flex: 1;
}

.cookie-modal-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

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

.banner-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.hero-content p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

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

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

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

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: #f9fafb;
}

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

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #2563eb;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

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

.service-card p {
    color: #6b7280;
    line-height: 1.7;
}

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

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

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

.stat {
    text-align: center;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #2563eb;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.about-image svg {
    width: 100%;
    height: auto;
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
    background-color: #f9fafb;
}

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

.review-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

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

.review-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author strong {
    color: #1f2937;
    display: block;
    margin-bottom: 0.25rem;
}

.review-author span {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background-color: #1f2937;
    color: white;
}

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

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

.newsletter-form {
    gap: 0.5rem;
}

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

.newsletter-form input {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 300px;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

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

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

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

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #2563eb;
    color: white;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #d1d5db;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #d1d5db;
    font-size: 0.875rem;
}

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

.footer-legal a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

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

.page-header-content p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.page-header-icon {
    width: 80px;
    height: 80px;
    background-color: #2563eb;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
}

.page-header-icon svg {
    width: 40px;
    height: 40px;
}

/* Contact Page */
.contact-section {
    padding: 5rem 0;
}

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

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 12px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-text p {
    color: #6b7280;
    line-height: 1.6;
}

.office-hours {
    margin-top: 2rem;
}

.office-hours h3 {
    margin-bottom: 1rem;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-day {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.day {
    font-weight: 500;
    color: #1f2937;
}

.time {
    color: #6b7280;
}

/* Forms */
.contact-form-container {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
}

.contact-form h2 {
    margin-bottom: 1rem;
}

.contact-form p {
    color: #6b7280;
    margin-bottom: 2rem;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    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: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.checkbox-group {
    margin-top: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin-bottom: 0.75rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #2563eb;
    border-color: #2563eb;
}

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

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.radio-button {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked + .radio-button {
    border-color: #2563eb;
}

.radio-label input[type="radio"]:checked + .radio-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #2563eb;
    border-radius: 50%;
}

/* Map Section */
.map-section {
    padding: 3rem 0;
    background-color: #f9fafb;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-placeholder {
    position: relative;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-svg {
    width: 100%;
    height: 400px;
    display: block;
}

.map-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 250px;
}

.map-info p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.map-info p:last-child {
    margin-bottom: 0;
    color: #6b7280;
}

/* Thank You Page */
.thank-you-section {
    padding: 8rem 0 5rem;
    text-align: center;
}

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

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

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

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

.thank-you-message {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

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

.detail-item {
    display: flex;
    gap: 1rem;
    text-align: left;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background-color: #dcfce7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 24px;
    height: 24px;
}

.detail-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.detail-text p {
    color: #6b7280;
    margin-bottom: 0;
}

.next-steps {
    margin-bottom: 3rem;
}

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

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

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background-color: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

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

.step-content p {
    color: #6b7280;
    margin-bottom: 0;
}

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

.urgent-contact {
    background-color: #fef3c7;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
}

.urgent-contact h3 {
    color: #92400e;
    margin-bottom: 0.5rem;
}

.urgent-contact p {
    color: #92400e;
    margin-bottom: 1rem;
}

.urgent-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.urgent-phone svg {
    width: 24px;
    height: 24px;
}

.office-hours {
    color: #92400e;
    font-size: 0.875rem;
    margin-bottom: 0;
}

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

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

.legal-meta {
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

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

.legal-section h4 {
    color: #4b5563;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

.contact-details {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

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

.contact-details p:last-child {
    margin-bottom: 0;
}

/* Blog Pages */
.blog-section {
    padding: 3rem 0;
}

.blog-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-intro p {
    font-size: 1.125rem;
    color: #6b7280;
}

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

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

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

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

.blog-card.featured .blog-image {
    height: auto;
}

.article-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: block;
}

.blog-content {
    padding: 2rem;
}

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

.blog-category {
    background-color: #eff6ff;
    color: #2563eb;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.blog-date {
    color: #6b7280;
}

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

.blog-content h3 a {
    color: #1f2937;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: #2563eb;
}

.blog-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1d4ed8;
}

.read-more svg {
    width: 16px;
    height: 16px;
}

.blog-newsletter {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

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

.newsletter-icon {
    width: 64px;
    height: 64px;
    background-color: #2563eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.newsletter-icon svg {
    width: 32px;
    height: 32px;
}

.blog-categories {
    margin-top: 3rem;
}

.blog-categories h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

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

.category-card:hover {
    transform: translateY(-3px);
}

.category-icon {
    width: 64px;
    height: 64px;
    background-color: #eff6ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #2563eb;
}

.category-icon svg {
    width: 32px;
    height: 32px;
}

.category-card h4 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.category-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.article-count {
    background-color: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Article Pages */
.article-header {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 8rem 0 3rem;
}

.article-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.article-breadcrumb a {
    color: #2563eb;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: #1d4ed8;
}

.article-breadcrumb span {
    margin: 0 0.5rem;
}

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

.article-category {
    background-color: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.article-date,
.article-read-time {
    color: #6b7280;
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.1;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.author-info strong {
    display: block;
    color: #1f2937;
}

.author-info span {
    color: #6b7280;
    font-size: 0.875rem;
}

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

.article-content .container {
    max-width: 800px;
}

.featured-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-body {
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-intro {
    font-size: 1.25rem;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-left: 4px solid #2563eb;
    border-radius: 0 8px 8px 0;
}

.article-body h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: #1f2937;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

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

.article-body h4 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: #4b5563;
}

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

.article-body ul li,
.article-body ol li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-left: 4px solid #2563eb;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.article-body blockquote p {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.article-body blockquote cite {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    font-style: normal;
    margin-top: 1rem;
}

.info-box {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h4 {
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.info-box p {
    color: #1e40af;
    margin-bottom: 0;
}

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

.warning-box h4 {
    color: #dc2626;
    margin-bottom: 0.75rem;
}

.warning-box p {
    color: #dc2626;
    margin-bottom: 0;
}

.article-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.article-tags h4 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.article-tags .tag {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Related Articles */
.related-articles {
    background-color: #f9fafb;
    padding: 3rem 0;
}

.related-articles h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

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

.related-card:hover {
    transform: translateY(-3px);
}

.related-card h4 {
    margin-bottom: 1rem;
}

.related-card h4 a {
    color: #1f2937;
    transition: color 0.3s ease;
}

.related-card h4 a:hover {
    color: #2563eb;
}

.related-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.read-time {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Newsletter Signup Page */
.newsletter-signup-section {
    padding: 5rem 0;
}

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

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

.newsletter-benefits h3 {
    margin-bottom: 1.5rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-text h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.benefit-text p {
    color: #6b7280;
    margin-bottom: 0;
}

.newsletter-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.newsletter-stats .stat {
    text-align: center;
}

.newsletter-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.25rem;
}

.newsletter-stats .stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.newsletter-form-container {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
}

.form-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem;
    text-align: center;
}

.newsletter-testimonials {
    background-color: #f9fafb;
    padding: 4rem 0;
}

.newsletter-testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: -10px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.testimonial-quote svg {
    width: 20px;
    height: 20px;
}

.testimonial-card p {
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    color: #4b5563;
    font-style: italic;
}

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

.testimonial-author span {
    color: #6b7280;
    font-size: 0.875rem;
}

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

.cookie-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
    margin-bottom: 0.5rem;
    border-radius: 8px;
}

.cookie-name {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #1f2937;
}

.cookie-purpose {
    color: #4b5563;
}

.cookie-duration {
    color: #6b7280;
    font-size: 0.875rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.service-item {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.service-item h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.service-item p {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.service-item p:last-child {
    margin-bottom: 0;
}

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

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

    h1 {
        font-size: 2rem;
    }

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

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

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

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

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

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

    .about-stats {
        justify-content: space-around;
        gap: 1rem;
    }

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

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

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

    .newsletter-form input {
        min-width: auto;
    }

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

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

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

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

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

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

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

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

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

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

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

    .newsletter-signup-section .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-stats {
        justify-content: space-around;
        gap: 1rem;
    }

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

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

    .thank-you-details {
        grid-template-columns: 1fr;
    }

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

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

    .cookie-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .service-list {
        gap: 1rem;
    }
}

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

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

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

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

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

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

    .newsletter-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .cookie-modal,
    .footer,
    .social-links,
    .btn {
        display: none !important;
    }

    body {
        color: #000000;
        background-color: #ffffff;
    }

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

    a {
        color: #000000;
        text-decoration: underline;
    }

    .page-header,
    .article-header {
        background: none;
        color: #000000;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --text-color: #000000;
        --bg-color: #ffffff;
        --link-color: #0000ff;
        --border-color: #000000;
    }

    body {
        color: var(--text-color);
        background-color: var(--bg-color);
    }

    a {
        color: var(--link-color);
    }

    .btn-primary {
        background-color: #000000;
        color: #ffffff;
        border: 2px solid #000000;
    }

    .btn-outline {
        border-color: #000000;
        color: #000000;
    }

    .service-card,
    .review-card,
    .blog-card {
        border: 2px solid var(--border-color);
    }
}

/* Reduced Motion */
@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;
    }
}

/* Focus Styles for Accessibility */
:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #2563eb;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.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;
}

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

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

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}
