/* 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, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: #1d4ed8;
}

ul {
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.logo:hover {
    color: #1d4ed8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #1f2937;
    transition: all 0.3s ease;
}

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

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

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

/* Navigation */
.main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-nav.active {
    display: flex;
}

.main-nav a {
    padding: 1rem;
    color: #1f2937;
    border-top: 1px solid #e5e7eb;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: #f3f4f6;
    color: #2563eb;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #1d4ed8;
    color: #ffffff;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 4rem 0;
    text-align: center;
}

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

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

.hero-lead {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

/* Page Hero */
.page-hero {
    background-color: #f9fafb;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

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

/* Section Spacing */
section {
    padding: 3rem 0;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    color: #4b5563;
}

/* Content Block */
.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-split {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.split-content {
    flex: 1;
}

.split-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-visual svg {
    max-width: 100%;
    height: auto;
}

/* Grid Layouts */
.grid-three,
.benefits-grid,
.services-cards,
.testimonial-grid,
.knowledge-cards,
.values-grid,
.team-grid,
.industries-grid,
.trust-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Benefit Cards */
.benefit-card,
.service-card,
.testimonial-card,
.knowledge-card,
.value-card,
.industry-item,
.trust-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.benefit-card:hover,
.service-card:hover,
.value-card:hover,
.trust-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-icon,
.value-icon,
.trust-icon {
    margin-bottom: 1rem;
}

.service-card h3,
.benefit-card h3,
.knowledge-card h3,
.value-card h3 {
    margin-bottom: 0.75rem;
}

.link-arrow {
    color: #2563eb;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

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

/* Testimonials */
.testimonial-text {
    font-style: italic;
    color: #374151;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: #6b7280;
}

/* Statistics Section */
.statistics-section {
    background-color: #f9fafb;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

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

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: #dbeafe;
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

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

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: #ffffff;
    border: none;
    padding: 1.25rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background-color: #eff6ff;
    text-align: center;
}

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

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

.cta-content p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

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

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-col p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 200;
    display: none;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

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

/* Cookie Modal */
.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: 300;
    padding: 1rem;
}

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

.modal-content {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 600;
}

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

.cookie-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-left: 2rem;
}

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

/* Services Page */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-detail {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.service-header {
    margin-bottom: 1rem;
}

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

.service-info h2 {
    margin-bottom: 0;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.service-description {
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.service-includes {
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 0.375rem;
}

.service-includes h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.service-includes ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.service-includes li {
    margin-bottom: 0.5rem;
}

/* Benefits Comparison */
.benefits-comparison {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-step {
    display: flex;
    gap: 1.5rem;
}

.step-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

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

/* Contact Page */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info,
.contact-details {
    flex: 1;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    margin-bottom: 0.75rem;
}

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

.detail-card {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.detail-card h3 {
    margin-bottom: 1rem;
}

.detail-card ul {
    padding-left: 1.5rem;
}

/* Thank You Page */
.thankyou-section {
    padding: 4rem 0;
    text-align: center;
}

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

.thankyou-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.thankyou-lead {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 3rem;
}

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

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

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.links-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-card {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: block;
    transition: box-shadow 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    margin-bottom: 0.5rem;
    color: #2563eb;
}

.return-home {
    margin-top: 2rem;
}

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

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.last-updated {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

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

.legal-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

.legal-info {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #2563eb;
}

.legal-info p {
    margin-bottom: 0.75rem;
}

.legal-info p:last-child {
    margin-bottom: 0;
}

/* About Page */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-member {
    text-align: center;
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.member-avatar {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.member-avatar svg {
    border-radius: 50%;
}

.member-role {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
    flex-shrink: 0;
    width: 5rem;
}

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

/* Cookie Table */
.cookie-table {
    margin-bottom: 2rem;
}

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

.cookie-table table {
    width: 100%;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.cookie-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.cookie-table td:first-child {
    width: 35%;
}

/* Company Info Section */
.company-info-section {
    background-color: #f9fafb;
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

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

    .hero-lead {
        font-size: 1.25rem;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        border-bottom: none;
        gap: 1rem;
    }

    .main-nav a {
        padding: 0.5rem 1rem;
        border-top: none;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background-color: transparent;
        color: #2563eb;
    }

    .grid-three,
    .services-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .grid-three > *,
    .services-cards > * {
        flex: 1 1 calc(33.333% - 1rem);
        min-width: 250px;
    }

    .benefits-grid,
    .testimonial-grid,
    .knowledge-cards,
    .values-grid,
    .industries-grid,
    .trust-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .benefits-grid > *,
    .testimonial-grid > *,
    .knowledge-cards > *,
    .values-grid > *,
    .industries-grid > *,
    .trust-grid > * {
        flex: 1 1 calc(50% - 1rem);
        min-width: 280px;
    }

    .team-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .team-grid > * {
        flex: 1 1 calc(50% - 1rem);
    }

    .stats-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 calc(25% - 1.5rem);
        min-width: 150px;
    }

    .process-steps {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .process-step {
        flex: 1 1 calc(25% - 1.5rem);
        min-width: 200px;
    }

    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-col {
        flex: 1;
    }

    .content-split {
        flex-direction: row;
    }

    .cookie-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .cookie-content p {
        flex: 1;
    }

    .cookie-buttons {
        flex-shrink: 0;
    }

    .contact-grid {
        flex-direction: row;
    }

    .links-grid {
        flex-direction: row;
    }

    .steps-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .step-item {
        flex: 1 1 calc(33.333% - 1rem);
        flex-direction: column;
        min-width: 200px;
    }

    .service-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
    }

    .benefits-comparison {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .benefit-item {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    section {
        padding: 4rem 0;
    }

    .hero {
        padding: 5rem 0;
    }

    .team-grid > * {
        flex: 1 1 calc(25% - 1.5rem);
    }
}