/* 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, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

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

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: #1e3a78;
}

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

li {
    margin-bottom: 0.5rem;
}

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

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

/* Header */
.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

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

.main-nav ul {
    display: none;
    list-style: none;
    padding: 0;
}

.main-nav ul li {
    margin-bottom: 0;
}

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

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #2c5aa0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.mobile-menu-toggle span {
    width: 2rem;
    height: 0.25rem;
    background: #2c5aa0;
    border-radius: 10px;
    transition: all 0.3s linear;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

/* Mobile Menu */
.main-nav.mobile-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    padding-top: 5rem;
    z-index: 99;
}

.main-nav.mobile-open ul {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.main-nav.mobile-open ul li a {
    font-size: 1.25rem;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

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

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

.btn-primary:hover {
    background-color: #1e3a78;
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-secondary:hover {
    background-color: #2c5aa0;
    color: #ffffff;
}

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

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

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

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

/* Page Hero */
.page-hero {
    background-color: #f7fafc;
    padding: 3rem 0;
    text-align: center;
}

.page-intro {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
}

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

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

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

/* Grid Layouts */
.philosophy-grid,
.services-grid,
.stats-grid,
.testimonials-grid,
.industries-grid,
.insights-grid,
.trust-grid,
.benefits-grid,
.service-benefits-grid,
.process-detail-grid,
.contact-grid,
.next-steps-grid,
.tips-grid,
.company-info-grid,
.values-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Cards */
.philosophy-card,
.service-card,
.testimonial-card,
.industry-card,
.insight-card,
.trust-card,
.benefit-card,
.benefit-item,
.contact-card,
.next-step-card,
.tip-card,
.info-block,
.value-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-card:hover,
.service-card:hover,
.trust-card:hover,
.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Philosophy Section */
.philosophy-section {
    background-color: #f7fafc;
}

.philosophy-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: #2c5aa0;
}

.philosophy-icon svg {
    width: 100%;
    height: 100%;
}

/* Featured Service */
.featured-service {
    background-color: #ffffff;
}

.featured-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.featured-visual svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
}

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

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

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

.stat-label {
    font-size: 1.125rem;
    color: #e1e8ed;
}

/* Testimonials */
.testimonials-section {
    background-color: #f7fafc;
}

.testimonial-card {
    background-color: #ffffff;
}

.testimonial-text {
    font-style: italic;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

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

.testimonial-author strong {
    color: #1a202c;
    font-weight: 600;
}

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

/* Process Section */
.process-section {
    background-color: #f7fafc;
}

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

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

.step-number {
    width: 3rem;
    height: 3rem;
    background-color: #2c5aa0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

/* FAQ Section */
.faq-section {
    background-color: #ffffff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 0.5rem 0;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
}

.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;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1rem 0;
}

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

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

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

.cta-content p {
    color: #e1e8ed;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Services Detail */
.service-detail-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.featured-service-card {
    border: 2px solid #2c5aa0;
}

.service-badge {
    position: absolute;
    top: -1rem;
    right: 2rem;
    background-color: #2c5aa0;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

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

.service-detail-content ul {
    list-style: none;
    padding: 0;
}

.service-detail-content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.service-detail-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: 700;
}

/* Comparison Table */
.comparison-table {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-row {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-header {
    background-color: #2c5aa0;
    color: #ffffff;
    font-weight: 600;
}

.comparison-cell {
    padding: 0.5rem;
}

/* Mission Section */
.mission-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.mission-visual svg {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 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: -2rem;
    width: 4rem;
    height: 2rem;
    background-color: #2c5aa0;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.timeline-content {
    padding-left: 3rem;
}

/* Team Section */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-member {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 0.5rem;
}

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

/* Contact Page */
.contact-icon {
    width: 48px;
    height: 48px;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.response-time {
    font-size: 0.875rem;
    color: #718096;
}

.about-contact-section,
.directions-section,
.contact-faq-section,
.company-info-section {
    background-color: #f7fafc;
}

.directions-content,
.about-contact-content,
.philosophy-detail {
    max-width: 800px;
    margin: 0 auto;
}

/* Thank You Page */
.thank-you-hero {
    background-color: #f7fafc;
    padding: 4rem 0;
}

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

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    color: #2c5aa0;
}

.thank-you-icon svg {
    width: 100%;
    height: 100%;
}

.thank-you-message {
    font-size: 1.125rem;
    color: #4a5568;
}

.process-number {
    width: 3rem;
    height: 3rem;
    background-color: #2c5aa0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.waiting-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.waiting-link-card {
    display: block;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.waiting-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.waiting-link-card h3 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.waiting-link-card p {
    color: #4a5568;
    margin-bottom: 0;
}

.contact-reminder-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

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

.legal-updated {
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

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

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

.legal-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.legal-section h3 {
    margin-top: 1.5rem;
    color: #2c5aa0;
}

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

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

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

.footer-column p {
    color: #cbd5e0;
    font-size: 0.875rem;
}

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

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

.footer-column ul li a {
    color: #cbd5e0;
    font-size: 0.875rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
    font-size: 0.875rem;
}

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

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

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

.cookie-content p {
    color: #cbd5e0;
    margin-bottom: 0;
}

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

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cookie-option {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.cookie-option input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
}

.cookie-option p {
    margin-top: 0.5rem;
    margin-left: 2rem;
    color: #718096;
    font-size: 0.875rem;
}

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

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

    h2 {
        font-size: 2.25rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .main-nav ul {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
    }

    .main-nav ul li a {
        border-bottom: none;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }

    .philosophy-grid,
    .services-grid,
    .testimonials-grid,
    .industries-grid,
    .trust-grid,
    .values-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .philosophy-card,
    .service-card,
    .industry-card,
    .trust-card,
    .value-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .testimonial-card {
        flex: 1 1 100%;
    }

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

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

    .featured-content,
    .mission-content {
        flex-direction: row;
        align-items: center;
    }

    .featured-text,
    .mission-text {
        flex: 1;
    }

    .featured-visual,
    .mission-visual {
        flex: 1;
    }

    .process-step {
        flex-direction: row;
        align-items: flex-start;
    }

    .process-detail-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

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

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

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

    .footer-column {
        flex: 1;
    }

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

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

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

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

    .comparison-cell {
        flex: 1;
    }

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

    .team-member {
        flex: 1 1 calc(50% - 1rem);
    }

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

    .tip-card,
    .info-block {
        flex: 1 1 calc(50% - 1rem);
    }

    .waiting-links {
        flex-direction: row;
    }

    .waiting-link-card {
        flex: 1;
    }

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

    .insight-card {
        flex: 1;
    }

    .approach-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

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

    .service-benefits-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

/* Desktop Styles */
@media (min-width: 1024px) {
    .philosophy-card,
    .service-card,
    .industry-card,
    .trust-card,
    .value-card {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

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

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

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

    .team-member {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

    .tip-card,
    .info-block {
        flex: 1 1 calc(50% - 1rem);
    }

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

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