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

:root {
    --primary-color: #2c5f8d;
    --primary-dark: #1e4366;
    --secondary-color: #5a8fb4;
    --text-dark: #2d3436;
    --text-medium: #636e72;
    --text-light: #b2bec3;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dfe6e9;
    --accent-color: #e67e22;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 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 20px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header and Navigation */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px 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;
}

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

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

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

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.nav-menu li {
    margin: 0;
}

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

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

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

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

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

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

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

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

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

/* Section Styles */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

.section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    text-align: center;
}

/* Company Philosophy */
.philosophy-grid,
.services-cards,
.benefits-grid,
.knowledge-grid,
.industries-grid,
.team-highlights,
.values-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.philosophy-item,
.service-card,
.benefit-box,
.knowledge-item,
.industry-card,
.team-highlight,
.value-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.icon {
    margin-bottom: 1rem;
}

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

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

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

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

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

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

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

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

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

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

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 8px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-medium);
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

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

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

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

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-medium);
    line-height: 1.7;
}

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

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

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-intro {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Story Section */
.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    padding-left: 2rem;
}

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

.timeline-item {
    position: relative;
}

.timeline-year {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 1rem;
}

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

/* Services Page */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: var(--text-medium);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.service-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

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

.service-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

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

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

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

.step-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.step-icon svg {
    width: 64px;
    height: 64px;
}

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

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

.contact-icon {
    margin: 0 auto 1.5rem;
}

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

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
}

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

.contact-description p,
.directions-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.directions-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.company-info-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
}

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

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

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

.thank-you-message {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.thank-you-note {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

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

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

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

.step-card .step-number {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

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

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

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

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

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

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

.legal-text ul {
    padding-left: 2rem;
    list-style: disc;
}

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

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

.commitment-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.commitment-icon {
    flex-shrink: 0;
}

/* Approach Section */
.approach-content p,
.team-intro p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

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

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

.footer-section p {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    opacity: 0.9;
    transition: opacity 0.3s;
}

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

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

/* 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: 0 -2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: none;
}

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

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

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

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

.cookie-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 {
    margin-top: 0.5rem;
    margin-left: 1.75rem;
    font-size: 0.875rem;
    color: var(--text-medium);
}

.cookie-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

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

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

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

    .benefits-grid,
    .knowledge-grid,
    .industries-grid,
    .team-highlights,
    .values-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .benefit-box,
    .knowledge-item,
    .industry-card,
    .team-highlight,
    .value-card {
        flex: 1 1 calc(50% - 1rem);
    }

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

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

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

    .contact-card,
    .company-info-item {
        flex: 1 1 calc(50% - 1rem);
    }

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

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

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

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

    .cookie-buttons {
        flex-direction: row;
    }

    .cookie-modal-buttons {
        flex-direction: row;
    }

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

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

    .footer-section {
        flex: 1;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        flex-direction: row;
        gap: 2rem;
    }

    .hero {
        padding: 6rem 0;
    }

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

    .page-header h1 {
        font-size: 3rem;
    }

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

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

    .benefit-box,
    .knowledge-item,
    .team-highlight {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

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

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

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

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

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

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

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

    section {
        padding: 5rem 0;
    }
}