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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

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

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

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

a:hover {
    color: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* Header and Navigation */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: 1rem 0;
}

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

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

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

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

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

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

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

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

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Sections */
.section {
    padding: 3rem 0;
}

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

.section-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 800px;
}

.text-large {
    font-size: 1.25rem;
    line-height: 1.8;
}

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

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

.hero h1 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

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

.page-hero {
    background-color: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

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

.page-hero-text {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Grid Layouts */
.services-grid,
.benefits-grid,
.philosophy-grid,
.testimonials-grid,
.industries-list,
.equipment-grid,
.insights-grid,
.comparison-grid,
.team-grid,
.values-grid,
.explore-grid,
.next-steps,
.contact-grid,
.directions-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Service Cards */
.service-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.service-card .price {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success-color);
    margin-top: 1rem;
}

/* Service Detail Pages */
.service-detail {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.service-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
}

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

.service-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--success-color);
}

.service-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

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

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

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

.stat-item {
    padding: 1rem;
}

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

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

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

.process-step {
    position: relative;
    padding-left: 4rem;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

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

/* Testimonials */
.testimonial {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-light);
}

/* Industry Items */
.industry-item,
.benefit-item,
.value-item,
.comparison-item,
.direction-item,
.insight-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.industry-item h3,
.benefit-item h3,
.value-item h3,
.comparison-item h3,
.insight-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Philosophy Section */
.philosophy-item {
    text-align: center;
    padding: 1.5rem;
}

.philosophy-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

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

/* FAQ Section */
.faq-list {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

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

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    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;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.25rem;
}

/* Team Section */
.team-member {
    text-align: center;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.team-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

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

.team-role {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--bg-light);
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* Contact Cards */
.contact-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

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

.contact-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.contact-email {
    font-size: 1.25rem;
    text-align: center;
    margin: 2rem 0;
}

/* Legal Content */
.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.certification-list,
.company-data {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

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

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.875rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background-color: var(--bg-light);
    font-weight: 600;
}

.cookie-settings-link {
    margin-top: 2rem;
    text-align: center;
}

/* Thank You Page */
.thank-you-hero {
    padding: 4rem 0;
    text-align: center;
}

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

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

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

.thank-you-text {
    font-size: 1.125rem;
    color: var(--text-light);
}

.explore-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.explore-card .btn {
    margin-top: 1rem;
}

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

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

.cta h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

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

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

.cta .btn-primary:hover {
    background-color: var(--bg-light);
}

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

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

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: var(--bg-light);
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--bg-white);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    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;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-dark);
}

.cookie-options {
    margin: 1.5rem 0;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

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

    h2 {
        font-size: 2.25rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 2rem;
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        padding: 0;
        gap: 1.5rem;
    }

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

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

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

    .section {
        padding: 4rem 0;
    }

    .services-grid,
    .benefits-grid,
    .testimonials-grid,
    .team-grid,
    .comparison-grid,
    .explore-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card,
    .testimonial,
    .benefit-item,
    .team-member,
    .comparison-item,
    .explore-card {
        flex: 1 1 calc(50% - 1.5rem);
        min-width: 0;
    }

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

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

    .industries-list,
    .equipment-grid,
    .values-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .industry-item,
    .equipment-item,
    .value-item {
        flex: 1 1 calc(50% - 1.5rem);
    }

    .stats-grid {
        flex-direction: row;
        justify-content: space-around;
    }

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

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

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

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

    .next-steps {
        flex-direction: row;
    }

    .next-step {
        flex: 1;
    }

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

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

    .footer-section {
        flex: 1;
    }

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

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

@media (min-width: 1024px) {
    .service-card,
    .benefit-item {
        flex: 1 1 calc(25% - 1.5rem);
    }
}