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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
}

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

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

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: #8b4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #a0522d;
}

ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b4513;
    text-transform: lowercase;
}

.logo:hover {
    color: #a0522d;
}

.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    list-style: none;
}

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

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 0.75rem 20px;
    color: #2c3e50;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #8b4513;
    background-color: #f8f9fa;
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

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

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

.hero h1 {
    color: #fff;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Page Hero */
.page-hero {
    background-color: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}

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

.lead {
    font-size: 1.125rem;
    color: #5a6c7d;
    max-width: 700px;
    margin: 0 auto;
}

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

.btn-primary {
    background-color: #8b4513;
    color: #fff;
}

.btn-primary:hover {
    background-color: #a0522d;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #8b4513;
    border-color: #8b4513;
}

.btn-secondary:hover {
    background-color: #8b4513;
    color: #fff;
}

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

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Feature Grid */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    flex: 1;
    min-width: 280px;
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
}

/* Featured Era */
.featured-era {
    background-color: #f8f9fa;
}

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

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

.era-highlights {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.era-highlights ul {
    list-style-position: inside;
}

/* Stats */
.stats {
    background-color: #8b4513;
    color: #fff;
}

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

.stat-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

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

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

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.timeline-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid #8b4513;
    border-radius: 4px;
}

.timeline-item h3 {
    color: #8b4513;
    margin-bottom: 0.75rem;
}

/* Areas Grid */
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.area-card {
    flex: 1;
    min-width: 280px;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Testimonials */
.testimonials {
    background-color: #f8f9fa;
}

.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.testimonial-author {
    font-weight: 600;
    color: #8b4513;
}

/* Insights */
.insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.insight-block {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.insight-block h3 {
    color: #8b4513;
}

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

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

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8b4513;
    opacity: 0.3;
}

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

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

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

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

.faq-icon {
    font-size: 1.5rem;
    color: #8b4513;
    transition: transform 0.3s ease;
}

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

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

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

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

/* CTA Section */
.cta-final,
.cta-section {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #fff;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Story Section */
.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content p {
    margin-bottom: 1.5rem;
}

/* Values Grid */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    flex: 1;
    min-width: 280px;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.value-card h3 {
    color: #8b4513;
    margin-bottom: 1rem;
}

/* Team Grid */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    flex: 1;
    min-width: 280px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.role {
    color: #8b4513;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Milestones */
.milestone-list {
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.milestone-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

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

.milestone-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b4513;
    min-width: 80px;
}

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

/* Approach */
.approach-content {
    max-width: 900px;
    margin: 0 auto;
}

.approach-content p {
    margin-bottom: 1.5rem;
}

/* Industries Grid */
.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.industry-item {
    flex: 1;
    min-width: 280px;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.industry-item h3 {
    color: #8b4513;
    margin-bottom: 0.75rem;
}

/* Services */
.services-intro {
    background-color: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

.service-header {
    background-color: #8b4513;
    color: #fff;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-header h2 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.service-body {
    padding: 2rem;
}

.service-body h3 {
    color: #8b4513;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.service-body ul {
    list-style-position: inside;
}

/* Benefits Grid */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    flex: 1;
    min-width: 280px;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.benefit-item h3 {
    color: #8b4513;
    margin-bottom: 0.75rem;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

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

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

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

/* Contact */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-block {
    flex: 1;
    min-width: 250px;
}

.contact-block h2 {
    color: #8b4513;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-detail {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-detail a {
    color: #8b4513;
    font-weight: 600;
}

/* Location */
.location-content {
    max-width: 900px;
    margin: 0 auto;
}

.location-content p {
    margin-bottom: 1.5rem;
}

/* Directions Grid */
.directions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.direction-item {
    flex: 1;
    min-width: 280px;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.direction-item h3 {
    color: #8b4513;
    margin-bottom: 0.75rem;
}

/* Visit Info */
.visit-info {
    background-color: #f8f9fa;
}

.visit-info p {
    max-width: 900px;
    margin: 0 auto 1rem;
}

/* Legal Info */
.legal-info {
    max-width: 700px;
    margin: 2rem auto 0;
}

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

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

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

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

/* Next Steps */
.steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: #8b4513;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Explore Grid */
.explore-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.explore-card {
    flex: 1;
    min-width: 280px;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.explore-card h3 {
    color: #8b4513;
    margin-bottom: 0.75rem;
}

.link-arrow {
    color: #8b4513;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* Legal Pages */
.legal-hero {
    background-color: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}

.legal-date {
    color: #5a6c7d;
    font-size: 0.95rem;
}

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

.legal-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #8b4513;
}

.legal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #8b4513;
    font-size: 1.125rem;
}

.legal-text p {
    margin-bottom: 1.25rem;
}

.legal-text ul {
    margin-bottom: 1.25rem;
    margin-left: 1.5rem;
}

.legal-text ol {
    margin-bottom: 1.25rem;
    margin-left: 1.5rem;
}

/* Footer */
.footer {
    background-color: #1a252f;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p {
    opacity: 0.8;
}

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

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

.footer-section a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a252f;
    color: #fff;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-banner.active {
    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 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

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

.modal-content h2 {
    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;
    cursor: pointer;
}

.cookie-option p {
    font-size: 0.9rem;
    color: #5a6c7d;
    margin-top: 0.5rem;
    margin-left: 1.75rem;
}

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

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

    h2 {
        font-size: 2rem;
    }

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

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        padding: 0;
        background-color: transparent;
    }

    .nav-menu li {
        margin-left: 2rem;
    }

    .nav-menu a {
        padding: 0.5rem 0;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: transparent;
    }

    .menu-toggle {
        display: none;
    }

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

    .era-text {
        flex: 2;
    }

    .era-highlights {
        flex: 1;
    }

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

    .cookie-content p {
        margin-bottom: 0;
    }

    .milestone-item {
        gap: 3rem;
    }

    .service-header h2 {
        font-size: 1.75rem;
    }
}

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

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

    section {
        padding: 5rem 0;
    }

    .feature-grid {
        gap: 3rem;
    }

    .feature-item {
        min-width: 0;
        flex-basis: calc(33.333% - 2rem);
    }

    .areas-grid .area-card {
        flex-basis: calc(33.333% - 1rem);
    }

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

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

    .industries-grid .industry-item {
        flex-basis: calc(50% - 0.75rem);
    }

    .benefits-grid .benefit-item {
        flex-basis: calc(33.333% - 1.5rem);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .cta-section,
    .cta-final {
        display: none;
    }

    body {
        color: #000;
    }

    a {
        text-decoration: underline;
    }
}