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

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

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

a:hover {
    color: #1a3f52;
}

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

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

.nav-container {
    padding: 15px 0;
}

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

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

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c5f7f;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: #2c5f7f;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #2c5f7f;
}

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

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        padding: 20px;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }

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

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5f7f 0%, #4a8fb5 100%);
    color: #fff;
    padding: 80px 0;
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Page Hero */
.page-hero {
    background-color: #f8f9fa;
    padding: 60px 0;
    border-bottom: 3px solid #2c5f7f;
}

.page-hero h1 {
    font-size: 2.2rem;
    color: #2c5f7f;
    margin-bottom: 15px;
}

.page-hero .lead {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: #2c5f7f;
    border-color: #2c5f7f;
}

.btn-secondary:hover {
    background-color: #2c5f7f;
    color: #fff;
}

.btn-text {
    background: none;
    color: #666;
    padding: 12px 20px;
}

.btn-text:hover {
    color: #333;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 2rem;
    color: #2c5f7f;
    margin-bottom: 30px;
}

section h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}

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

.section-intro p {
    font-size: 1.1rem;
    color: #555;
}

/* Grid Layouts */
.services-grid,
.philosophy-grid,
.values-grid,
.team-grid,
.industries-grid,
.knowledge-grid,
.achievements-grid,
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.service-card,
.philosophy-item,
.value-card,
.team-member,
.industry-card,
.knowledge-item,
.achievement-item,
.benefit-box {
    flex: 1 1 calc(50% - 15px);
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.philosophy-item:hover,
.value-card:hover,
.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .service-card,
    .philosophy-item,
    .value-card,
    .team-member,
    .industry-card,
    .knowledge-item,
    .achievement-item,
    .benefit-box {
        flex: 1 1 100%;
    }
}

/* Philosophy Section Icons */
.philosophy-icon,
.value-icon,
.team-icon,
.contact-icon,
.benefit-icon,
.option-icon,
.achievement-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.benefit-icon,
.option-icon,
.achievement-icon {
    width: 60px;
    height: 60px;
}

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

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* Process Section */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    flex: 1 1 calc(25% - 23px);
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #2c5f7f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

@media (max-width: 768px) {
    .process-step {
        flex: 1 1 100%;
    }
}

/* Testimonials */
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial-card {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #2c5f7f;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
}

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

.testimonial-author strong {
    color: #2c5f7f;
    margin-bottom: 5px;
}

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

@media (max-width: 768px) {
    .testimonial-card {
        flex: 1 1 100%;
    }
}

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

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-content h3 {
    margin-bottom: 10px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-year {
    position: absolute;
    left: -40px;
    background-color: #2c5f7f;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

.timeline-content {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-left: 20px;
}

.timeline-content h3 {
    color: #2c5f7f;
    margin-bottom: 10px;
}

/* Service Detail Cards */
.service-detail-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #2c5f7f;
}

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

.service-header h3 {
    margin: 0;
    color: #2c5f7f;
}

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

.service-description {
    margin-bottom: 20px;
    color: #555;
}

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

.service-features li {
    padding: 8px 0 8px 30px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c5f7f;
    font-weight: 700;
}

/* Comparison Section */
.comparison-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.comparison-column {
    flex: 1 1 calc(50% - 15px);
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.comparison-column.highlighted {
    background-color: #e8f4f8;
    border: 2px solid #2c5f7f;
}

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

.comparison-list li {
    padding: 12px 0 12px 35px;
    position: relative;
}

.comparison-list li.positive::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c5f7f;
    font-weight: 700;
    font-size: 1.2rem;
}

.comparison-list li.negative::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #c44;
    font-weight: 700;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .comparison-column {
        flex: 1 1 100%;
    }
}

/* Contact Page */
.contact-grid,
.directions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.contact-card,
.direction-card {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.direction-card {
    flex: 1 1 calc(50% - 15px);
    text-align: left;
}

@media (max-width: 768px) {
    .contact-card,
    .direction-card {
        flex: 1 1 100%;
    }
}

.info-note,
.direction-note {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.option-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.company-details {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.detail-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    flex: 0 0 200px;
    font-weight: 600;
    color: #555;
}

.detail-value {
    flex: 1;
    color: #333;
}

@media (max-width: 768px) {
    .detail-row {
        flex-direction: column;
        gap: 5px;
    }

    .detail-label {
        flex: none;
    }
}

/* Thank You Page */
.thank-you-section {
    padding: 80px 0;
}

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

.thank-you-icon {
    margin: 0 auto 30px;
}

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

.next-steps {
    margin: 50px 0;
    text-align: left;
}

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.step-box {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .step-box {
        flex: 1 1 100%;
    }
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.link-card {
    flex: 1 1 calc(50% - 10px);
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #2c5f7f;
    transition: transform 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .link-card {
        flex: 1 1 100%;
    }
}

.contact-reminder {
    margin: 40px 0;
}

.email-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5f7f;
}

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

.faq-item {
    background-color: #f8f9fa;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.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 25px 20px;
    color: #555;
}

/* Legal Pages */
.legal-page {
    padding: 60px 0;
}

.legal-page h1 {
    color: #2c5f7f;
    margin-bottom: 10px;
}

.updated-date {
    color: #777;
    font-style: italic;
    margin-bottom: 40px;
}

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

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: #2c5f7f;
    font-size: 1.6rem;
    margin-bottom: 20px;
    margin-top: 30px;
}

.legal-section h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    margin-top: 25px;
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-section li {
    margin-bottom: 10px;
}

.cookie-table {
    margin: 20px 0;
}

.cookie-row {
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid #2c5f7f;
}

.cookie-row strong {
    color: #2c5f7f;
    font-size: 1.1rem;
}

.cookie-row p {
    margin: 5px 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c5f7f 0%, #4a8fb5 100%);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-wrapper {
    text-align: center;
    margin-top: 30px;
}

/* Footer */
.footer {
    background-color: #1a3f52;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1 1 250px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2c5f7f;
    color: #ccc;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a3f52;
    color: #fff;
    padding: 20px;
    box-shadow: 0 -2px 10px 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-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    flex: 1 1 400px;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

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

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

/* 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: 20px;
}

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

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    color: #2c5f7f;
    margin-bottom: 30px;
}

.cookie-option {
    margin-bottom: 25px;
}

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

.cookie-option input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-option strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.cookie-option p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.modal-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.modal-buttons .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .modal-buttons {
        flex-direction: column;
    }

    .modal-buttons .btn {
        width: 100%;
    }
}

/* Utility Classes */
.large-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    section h2 {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Accessibility */
.btn:focus,
.faq-question:focus,
input[type="checkbox"]:focus {
    outline: 2px solid #2c5f7f;
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition-property: background-color, color, border-color;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

button,
a,
input {
    transition-property: all;
}