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

:root {
    --primary-color: #2D5C3F;
    --primary-light: #3D7A55;
    --primary-dark: #1D4A2F;
    --secondary-color: #F4A460;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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: var(--text-dark);
    background-color: var(--bg-white);
}

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

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

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

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

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

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

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

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

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

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

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

.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-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

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

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 700px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    width: 100%;
    max-width: 500px;
}

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

.page-hero h1 {
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

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

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

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

/* Grid Layouts */
.philosophy-grid,
.stats-grid,
.services-showcase,
.benefits-grid,
.trust-grid,
.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.philosophy-card,
.service-feature,
.benefit-card,
.trust-item,
.value-card {
    flex: 1 1 300px;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.philosophy-card:hover,
.service-feature:hover,
.benefit-card:hover,
.value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.philosophy-icon,
.service-icon,
.value-icon {
    margin-bottom: 1.5rem;
}

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

/* Statistics Section */
.statistics-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
}

.stats-grid {
    justify-content: center;
}

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

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

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

/* Featured Services */
.featured-services {
    background-color: var(--bg-light);
}

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

.link-arrow {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.link-arrow:hover {
    transform: translateX(4px);
}

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

.process-step,
.process-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

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

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

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

.testimonial-card {
    flex: 1 1 300px;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.testimonial-content {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    color: var(--primary-color);
    display: block;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Expertise Section */
.expertise-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.expertise-text {
    flex: 1;
}

.expertise-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.expertise-visual {
    flex: 1;
    width: 100%;
    max-width: 400px;
}

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

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

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

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

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

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

/* Trust Indicators */
.trust-grid {
    justify-content: center;
}

.trust-item {
    flex: 1 1 250px;
    text-align: center;
}

.trust-item h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: var(--text-medium);
    font-size: 0.938rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 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;
    opacity: 0.95;
}

/* Footer */
.main-footer {
    background-color: #1a2e23;
    color: var(--bg-light);
    padding: 3rem 0 1.5rem;
}

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

.footer-col {
    flex: 1 1 220px;
}

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

.footer-col p,
.footer-col a {
    color: var(--bg-light);
    font-size: 0.938rem;
}

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

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

.footer-col a:hover {
    color: var(--bg-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.7);
}

/* Services Page */
.service-card-detailed {
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-icon-large {
    flex-shrink: 0;
}

.service-tagline {
    color: var(--text-medium);
    font-size: 1.125rem;
}

.service-description {
    font-size: 1.063rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.service-offerings {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.offering-item {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

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

.offering-item p {
    color: var(--text-medium);
    margin-bottom: 0.75rem;
}

.price {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 6px;
    font-weight: 600;
}

/* About Page */
.story-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.story-text {
    flex: 1;
}

.story-visual {
    flex: 1;
    width: 100%;
    max-width: 450px;
}

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

.team-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.063rem;
    color: var(--text-medium);
}

.team-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.role-card {
    flex: 1 1 280px;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

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

.role-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.role-card p strong {
    color: var(--text-dark);
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-year {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

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

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

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

.expertise-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Contact Page */
.contact-intro {
    background-color: var(--bg-light);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.063rem;
    color: var(--text-medium);
}

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

.contact-card {
    flex: 1 1 300px;
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

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

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

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.125rem;
}

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

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

.location-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.location-text {
    flex: 1;
}

.directions {
    margin-top: 2rem;
}

.directions h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.location-visual {
    flex: 1;
    width: 100%;
    max-width: 500px;
}

.company-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.detail-block {
    flex: 1 1 250px;
}

.detail-block h3,
.detail-block h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

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

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

.thank-you-text {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

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

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

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

.step-icon {
    margin: 0 auto 1rem;
}

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

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

.info-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.info-box {
    flex: 1 1 400px;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 12px;
}

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

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

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

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

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

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

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

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

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.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;
    color: var(--primary-color);
}

/* 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: 10000;
    display: none;
}

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

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

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

/* 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: 10001;
    padding: 1rem;
}

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

.modal-content {
    background-color: var(--bg-white);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-body {
    padding: 2rem 1.5rem;
}

.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option label {
    display: flex;
    gap: 1rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cookie-option strong {
    display: block;
    margin-bottom: 0.25rem;
}

.cookie-option p {
    color: var(--text-medium);
    font-size: 0.938rem;
    margin: 0;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

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

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 1rem 0 0;
    }

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

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.625rem;
    }

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .process-step,
    .process-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

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

    .cookie-actions .btn {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .hero-content,
    .story-content,
    .location-content,
    .expertise-content {
        flex-direction: row;
    }

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

    .process-step,
    .process-card {
        flex: 1 1 45%;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    section {
        padding: 5rem 0;
    }

    .hero {
        padding: 5rem 0;
    }
}