/* 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: #333;
    background-color: #fff;
}

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

h1 {
    font-size: 2rem;
    color: #1a1a1a;
}

h2 {
    font-size: 1.75rem;
    color: #1a1a1a;
}

h3 {
    font-size: 1.5rem;
    color: #2a2a2a;
}

h4 {
    font-size: 1.25rem;
    color: #2a2a2a;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a3d6d;
}

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

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

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
}

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

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

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

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

.nav-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.nav-menu a {
    display: block;
    padding: 1rem;
    color: #333;
    font-weight: 500;
}

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

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

.btn-primary {
    background-color: #2c5aa0;
    color: #fff;
}

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

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

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

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

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

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

/* Page Hero */
.page-hero {
    background-color: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 3px solid #2c5aa0;
}

.page-intro {
    font-size: 1.25rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

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

.section-alt {
    background-color: #f8f9fa;
}

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

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

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

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

.feature-icon svg {
    display: block;
    margin: 0 auto;
}

/* Services */
.services-highlight {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.service-highlight-card {
    padding: 2rem;
    background-color: #fff;
    border-left: 4px solid #2c5aa0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.link-arrow:after {
    content: ' →';
}

/* Stats Section */
.stats-section {
    background-color: #2c5aa0;
    color: #fff;
}

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

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

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

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

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

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

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

.step-content {
    flex: 1;
}

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

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

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

.testimonial-author strong {
    display: block;
    color: #2c5aa0;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

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

.industry-item {
    flex: 1;
    min-width: 200px;
    padding: 1rem;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

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

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

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background-color: #fff;
    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 ease;
}

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

.faq-icon {
    font-size: 1.5rem;
    color: #2c5aa0;
    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;
}

.faq-answer p {
    padding: 1.25rem;
    background-color: #f8f9fa;
}

/* Knowledge Section */
.knowledge-section {
    max-width: 800px;
    margin: 0 auto;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3d6d 100%);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
}

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

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    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 h4 {
    color: #fff;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #ccc;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

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

.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-wrap: wrap;
    gap: 0.5rem;
}

.cookie-buttons button {
    flex: 1;
    min-width: 120px;
}

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

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

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

.cookie-modal-content h3 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

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

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

.cookie-modal-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.cookie-modal-buttons button {
    flex: 1;
}

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

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

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

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

.team-member {
    flex: 1;
    min-width: 280px;
    padding: 1.5rem;
    background-color: #fff;
    border-left: 4px solid #2c5aa0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-role {
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.philosophy-detailed p {
    margin-bottom: 1.5rem;
}

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

.qualification-item {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

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

.comparison-card {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-card ul {
    margin-top: 1rem;
}

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

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #2c5aa0;
}

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

.timeline-year {
    position: absolute;
    left: -2.5rem;
    width: 4rem;
    height: 2rem;
    background-color: #2c5aa0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

.timeline-content {
    margin-left: 2rem;
}

/* Services Page */
.services-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.services-list {
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c5aa0;
}

.service-price-small {
    font-size: 1rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.service-description {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.service-details ul {
    margin-top: 0.5rem;
}

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

.benefit-item {
    flex: 1;
    min-width: 280px;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.additional-services {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.additional-service {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background-color: #fff;
    border-left: 4px solid #2c5aa0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.process-detailed {
    max-width: 800px;
    margin: 2rem auto 0;
}

.process-phase {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.contact-info,
.contact-description {
    flex: 1;
    min-width: 300px;
}

.contact-detail {
    margin-bottom: 2rem;
}

.contact-detail h3 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

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

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

.directions-text h3:first-child {
    margin-top: 0;
}

.contact-about {
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

.thank-you-icon svg {
    margin: 0 auto;
    display: block;
}

.thank-you-text {
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.thank-you-next {
    margin-bottom: 3rem;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

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

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

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

.preparation-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.tip-card {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Legal Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

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

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

.legal-text ul,
.legal-text ol {
    margin-bottom: 1.5rem;
}

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

.legal-update {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    font-style: italic;
    color: #666;
}

.cookie-details {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1rem 0;
}

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

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

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

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

    h2 {
        font-size: 2rem;
    }

    .nav-toggle {
        display: none;
    }

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

    .nav-menu li {
        border-bottom: none;
    }

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

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

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

    .features-grid {
        flex-direction: row;
    }

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

    .services-highlight {
        flex-direction: row;
    }

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

    .testimonials {
        flex-direction: row;
    }

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

    .cookie-buttons {
        flex-wrap: nowrap;
    }
}

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

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

    .footer-content {
        flex-wrap: nowrap;
    }
}

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

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        text-decoration: underline;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

button:focus,
a:focus {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
}