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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    font-size: 16px;
}

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

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

a:hover {
    color: #4a7ba7;
}

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

/* Header and Navigation */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    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: #2d5a7b;
}

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

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

.nav-menu li {
    margin: 0.5rem 0;
}

.nav-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2d5a7b;
    background-color: #f0f4f8;
    border-radius: 4px;
}

.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: #2d5a7b;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

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

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

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

/* Page Header */
.page-header {
    background-color: #f0f4f8;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    color: #2d5a7b;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #4a5568;
}

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

.btn-primary {
    background-color: #2d5a7b;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #4a7ba7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 123, 0.3);
}

.btn-secondary {
    background-color: #e2e8f0;
    color: #2d5a7b;
}

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

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

section h2 {
    font-size: 1.875rem;
    color: #2d5a7b;
    margin-bottom: 1.5rem;
    text-align: center;
}

section h3 {
    font-size: 1.375rem;
    color: #2d5a7b;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: #4a5568;
}

/* Grid Layouts */
.intro-grid,
.services-grid,
.benefits-list,
.philosophy-grid,
.stats-grid,
.testimonials-grid,
.industries-grid,
.insights-grid,
.values-grid,
.team-grid,
.about-contact-grid,
.directions-content,
.company-details,
.achievements-grid,
.reasons-list,
.contact-grid,
.action-links,
.custom-services-grid,
.process-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Service Cards */
.service-card,
.value-card,
.team-card,
.insight-card,
.industry-item,
.custom-service,
.process-card,
.about-contact-item,
.direction-option,
.company-detail-item,
.achievement-card,
.reason-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover,
.value-card:hover,
.team-card:hover,
.insight-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-icon,
.value-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.service-card h3,
.value-card h3,
.insight-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Benefits Section */
.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.benefit-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4a7ba7;
    min-width: 60px;
}

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

/* Philosophy Section */
.philosophy-section,
.philosophy-deep {
    background-color: #f9fafb;
}

.philosophy-content,
.philosophy-blocks {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-intro {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    color: #4a5568;
}

.philosophy-block {
    margin-bottom: 2.5rem;
}

.philosophy-block h3 {
    color: #2d5a7b;
    margin-bottom: 1rem;
}

.philosophy-block p {
    margin-bottom: 1rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #2d5a7b 0%, #4a7ba7 100%);
    color: #ffffff;
}

.stats-section h2 {
    color: #ffffff;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

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

/* Testimonials */
.testimonial-card {
    background-color: #f9fafb;
    border-left: 4px solid #4a7ba7;
    padding: 2rem;
    border-radius: 8px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #4a5568;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

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

.testimonial-author span {
    color: #718096;
    font-size: 0.875rem;
}

/* Process Steps */
.process-steps,
.timeline,
.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.step-marker,
.process-number,
.timeline-year {
    min-width: 60px;
    height: 60px;
    background-color: #4a7ba7;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.timeline-year {
    border-radius: 8px;
}

.step-content,
.timeline-content {
    flex: 1;
}

.step-content h3,
.timeline-content h3 {
    margin-bottom: 0.75rem;
}

/* Team Section */
.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.team-role {
    color: #4a7ba7;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Industries Section */
.industry-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

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

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

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

.faq-question:hover {
    color: #4a7ba7;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #4a7ba7;
    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.5rem;
}

.faq-answer p {
    color: #4a5568;
    line-height: 1.7;
}

/* Trust Section */
.trust-section {
    background-color: #f9fafb;
}

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

.trust-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

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

.trust-item svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.trust-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: #4a5568;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4a7ba7 0%, #6b9bc3 100%);
    color: #ffffff;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Page */
.services-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.intro-content p {
    margin-bottom: 1rem;
    color: #4a5568;
}

.service-detailed {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.service-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f4f8;
}

.service-main-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: #4a5568;
    font-size: 1.125rem;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #2d5a7b;
}

.price-period {
    font-size: 1rem;
    color: #718096;
}

.service-details h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

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

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a7ba7;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Comparison Section */
.benefits-comparison {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-col {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
}

.comparison-col h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
}

.comparison-list.negative li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #e53e3e;
    font-weight: 700;
}

.comparison-list.positive li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #38a169;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Contact Page */
.contact-main {
    background-color: #f9fafb;
}

.contact-grid {
    gap: 3rem;
}

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

.contact-block h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 1rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.contact-detail p {
    margin-bottom: 0.5rem;
}

.contact-note {
    color: #718096;
    font-size: 0.875rem;
    font-style: italic;
}

.contact-visual svg {
    max-width: 400px;
    margin: 2rem auto;
}

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

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

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

.thank-you-icon svg {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.thank-you-text {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 3rem;
}

.next-actions,
.contact-reminder {
    margin-top: 4rem;
}

.action-card {
    display: block;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.action-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.action-card h3 {
    color: #2d5a7b;
    margin-bottom: 0.5rem;
}

.action-card p {
    color: #4a5568;
}

.reminder-note {
    color: #718096;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Legal Pages */
.legal-content {
    background-color: #ffffff;
}

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

.legal-text h2 {
    font-size: 1.75rem;
    text-align: left;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2d5a7b;
}

.legal-text h3 {
    font-size: 1.375rem;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #4a7ba7;
}

.legal-text h4 {
    font-size: 1.125rem;
    text-align: left;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.legal-text p {
    margin-bottom: 1rem;
    color: #4a5568;
    line-height: 1.7;
}

.legal-text ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    font-style: italic;
    color: #718096;
}

/* Cookie Tables */
.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 #e2e8f0;
}

.cookie-table th {
    background-color: #f9fafb;
    color: #2d5a7b;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #1a202c;
    color: #e2e8f0;
    padding: 3rem 0 1rem;
}

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

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-col p {
    color: #cbd5e0;
    font-size: 0.875rem;
    line-height: 1.6;
}

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

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

.footer-col ul li a {
    color: #cbd5e0;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

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

.footer-bottom p {
    color: #a0aec0;
    font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2d3748;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

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

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

.cookie-content p {
    margin: 0;
    font-size: 0.875rem;
}

.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: 10000;
    padding: 20px;
}

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

.cookie-modal-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
}

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

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

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

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

.cookie-option span {
    color: #4a5568;
    font-size: 0.875rem;
}

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

/* Tablet Styles */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        padding: 0;
    }

    .nav-menu li {
        margin: 0 0 0 2rem;
    }

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

    .menu-toggle {
        display: none;
    }

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

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

    section h2 {
        font-size: 2.25rem;
    }

    .intro-grid,
    .services-grid,
    .philosophy-grid,
    .stats-grid,
    .testimonials-grid,
    .industries-grid,
    .insights-grid,
    .values-grid,
    .team-grid,
    .about-contact-grid,
    .directions-content,
    .achievements-grid,
    .contact-grid,
    .action-links,
    .custom-services-grid,
    .process-grid,
    .trust-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .intro-grid > * {
        flex: 1;
        min-width: 300px;
    }

    .service-card,
    .insight-card,
    .industry-item,
    .custom-service,
    .process-card,
    .about-contact-item,
    .action-card,
    .trust-item {
        flex: 1;
        min-width: calc(50% - 1rem);
    }

    .value-card,
    .team-card,
    .direction-option,
    .achievement-card {
        flex: 1;
        min-width: calc(33.333% - 1.5rem);
    }

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

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

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

    .benefits-comparison {
        flex-direction: row;
    }

    .comparison-col {
        flex: 1;
    }

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

    .contact-info,
    .contact-visual {
        flex: 1;
    }

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

    .footer-col {
        flex: 1;
        min-width: 200px;
    }

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

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

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

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

    section {
        padding: 5rem 0;
    }

    .service-card,
    .insight-card,
    .industry-item,
    .custom-service,
    .process-card,
    .about-contact-item {
        min-width: calc(33.333% - 1.5rem);
    }
}

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

*:focus-visible {
    outline: 2px solid #4a7ba7;
    outline-offset: 2px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: 2rem;
}