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

:root {
    --primary-color: #2c5f7c;
    --secondary-color: #5c8fa3;
    --accent-color: #e8794f;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-accent: #e8f4f8;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

a:hover {
    color: var(--secondary-color);
}

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

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

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

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

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-color);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 80px 0 20px;
    list-style: none;
    transition: var(--transition);
}

.nav-menu.active {
    right: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-color);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--bg-accent);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 124, 0.3);
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Page Header */
.page-header {
    background-color: var(--bg-accent);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Intro Section */
.intro-section {
    background-color: var(--bg-light);
}

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

.content-block p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Values Section */
.values-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

/* Process Section */
.process-section {
    background-color: var(--bg-light);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Testimonials */
.testimonials {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonial {
    background-color: var(--bg-accent);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: white;
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Insights Section */
.insights-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.insight {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* FAQ Section */
.faq-section {
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background-color: white;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition);
}

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

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

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

/* Services Grid */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.service-card.featured {
    border: 2px solid var(--accent-color);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1.5rem 0;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* Comparison Section */
.comparison-section {
    background-color: var(--bg-light);
}

.comparison-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-x: auto;
}

.comparison-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
}

.comparison-row.header {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-cell {
    padding: 0.5rem;
}

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

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

.step-detail .step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-accent);
}

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

.contact-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Directions */
.directions-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.direction-block {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

/* Company Info */
.company-details {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

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

/* Story Section */
.story-section {
    background-color: var(--bg-light);
}

/* Philosophy Grid */
.philosophy-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.philosophy-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.team-member {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.member-avatar svg {
    width: 100%;
    height: 100%;
}

.role {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

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

.timeline-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
}

.timeline-content {
    flex: 1;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.benefit {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

/* Value Detail */
.value-detail {
    margin-bottom: 2rem;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
}

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

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

.thank-you-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    color: var(--success-color);
}

.thank-you-icon svg {
    width: 100%;
    height: 100%;
}

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

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

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

.step-card .step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Resources Grid */
.resources-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.resource-card a {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

/* Legal Content */
.legal-content {
    background-color: var(--bg-light);
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
}

.legal-document h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: left;
}

.legal-document h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.legal-document p,
.legal-document ul {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-document ul {
    padding-left: 2rem;
}

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

.cookies-table {
    width: 100%;
    margin: 1rem 0;
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.cookies-table tr {
    border-bottom: 1px solid var(--border-color);
}

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

.cookies-table td {
    padding: 0.75rem;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

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

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-color);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    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;
}

.cookie-content p {
    margin: 0;
    text-align: center;
}

.cookie-content a {
    color: var(--accent-color);
}

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

/* Cookie Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.cookie-options input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-options input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

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

/* Tablet Styles */
@media (min-width: 768px) {
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        background-color: transparent;
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu a {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 0.5rem 1rem;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: transparent;
        border-bottom-color: var(--primary-color);
    }

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

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

    .value-card {
        flex: 1 1 calc(50% - 1rem);
    }

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

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

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

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

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

    .service-card {
        flex: 1 1 calc(50% - 1rem);
    }

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

    .contact-card {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

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

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

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

    .team-member {
        flex: 1 1 calc(50% - 1rem);
    }

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

    .footer-col {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

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

    .cookie-content p {
        text-align: left;
    }

    .thank-you-actions {
        flex-direction: row;
        justify-content: center;
    }

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

    .step-card {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

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

    .resource-card {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

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

    .comparison-cell {
        flex: 1;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .value-card {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

    .step {
        flex: 1 1 calc(25% - 1.5rem);
    }

    .stat {
        flex: 1 1 calc(25% - 1.5rem);
    }

    .service-card {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

    .philosophy-item {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

    .legal-document {
        padding: 4rem;
    }
}