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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

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

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

/* Header and Navigation */
.header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    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);
    text-decoration: none;
}

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

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

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

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Hero */
.page-hero {
    background-color: var(--bg-gray);
    padding: 3rem 0;
    text-align: center;
}

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

.page-hero .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

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

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

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
}

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

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

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

/* Philosophy Section */
.philosophy {
    background-color: var(--bg-light);
}

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

.philosophy-item {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.philosophy-item .icon {
    margin-bottom: 1.5rem;
}

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

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
}

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

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

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

/* Services Highlight */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

/* Industries Section */
.industries {
    background-color: var(--bg-light);
}

.industry-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.industry-item {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.industry-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

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

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

/* Testimonials */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

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

.testimonial cite {
    display: block;
    font-style: normal;
    color: var(--text-light);
    font-weight: 600;
}

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

.insight-block {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
}

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

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

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

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

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

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background-color: var(--bg-color);
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

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

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

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

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

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

.faq-answer p {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

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

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

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

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

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

.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: white;
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-color);
    color: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    min-width: 300px;
    margin: 0;
}

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

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

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

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

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

.cookie-preferences {
    margin: 2rem 0;
}

.preference-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.preference-item label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

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

.preference-item p {
    color: var(--text-light);
    margin-left: 2rem;
}

/* About Page Specific */
.story {
    background-color: var(--bg-light);
}

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

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.mission-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.mission-item {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
}

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

.team-member {
    flex: 1;
    min-width: 250px;
    text-align: center;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
}

.member-icon {
    margin-bottom: 1rem;
}

.member-role {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.approach-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.approach-block {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

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

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
}

.timeline-item .year {
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.benefit-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
}

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

.culture-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.culture-item {
    flex: 1;
    min-width: 300px;
}

/* Services Page */
.services-list {
    padding: 4rem 0;
}

.service-detail {
    background-color: var(--bg-color);
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-header h2 {
    margin: 0;
}

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

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

.service-features h3 {
    margin-bottom: 1rem;
}

.service-features ul {
    list-style: none;
    padding-left: 0;
}

.service-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

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

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

.comparison-table {
    margin-top: 2rem;
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--bg-color);
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
    gap: 1rem;
}

.comparison-label {
    flex: 1;
    min-width: 250px;
    font-weight: 500;
}

.comparison-service {
    color: var(--primary-color);
    font-weight: 600;
}

.process-flow {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.flow-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.benefits-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-block {
    flex: 1;
    min-width: 300px;
}

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

.contact-office {
    flex: 1;
    min-width: 300px;
}

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

.detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item svg {
    flex-shrink: 0;
}

.detail-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.detail-item a:hover {
    text-decoration: underline;
}

.office-description {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

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

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

.email-highlight {
    font-size: 1.5rem;
    margin: 1.5rem 0;
}

.email-highlight a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.email-highlight a:hover {
    text-decoration: underline;
}

.about-company {
    max-width: 900px;
    margin: 0 auto;
}

.company-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

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

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

.visit-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.visit-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.visit-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--text-light);
}

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

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

.success-icon {
    margin: 0 auto 2rem;
}

.thank-you-message {
    font-size: 1.25rem;
    margin: 1.5rem 0;
    color: var(--text-light);
}

.next-steps {
    margin: 4rem 0;
}

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

.step-item {
    flex: 1;
    min-width: 250px;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.meanwhile {
    margin: 4rem 0;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.link-card {
    flex: 1;
    min-width: 250px;
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--primary-color);
}

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

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

.contact-reminder {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
}

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

.legal-page .container {
    max-width: 900px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

.legal-content {
    line-height: 1.8;
}

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

.legal-section h2 {
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    margin-top: 1.5rem;
    color: var(--primary-color);
}

.legal-section p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.legal-section ul,
.legal-section ol {
    margin: 1rem 0 1rem 2rem;
}

.legal-section li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.cookie-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
}

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

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

.summary-box {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.summary-box h3 {
    margin-bottom: 1rem;
}

.summary-box ul {
    list-style: none;
    padding-left: 0;
}

.summary-box li {
    padding: 0.5rem 0;
}

#openCookiePreferences {
    margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

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

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    section h2 {
        font-size: 1.75rem;
    }

    .stats-grid {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comparison-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

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

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

    section {
        padding: 3rem 0;
    }
}