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

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

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

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

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

.main-nav {
    display: none;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #2d5a8c;
}

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

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

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

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.page-hero h1 {
    font-size: 2.5rem;
    color: #2d5a8c;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: #555;
}

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

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

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

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

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

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

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

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

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

/* Company Overview */
.overview-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.overview-item {
    text-align: center;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.overview-item svg {
    margin-bottom: 1rem;
}

.overview-item h3 {
    margin-bottom: 1rem;
}

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

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

.philosophy-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Statistics */
.statistics-section {
    background-color: #2d5a8c;
    color: #ffffff;
}

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

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

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

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

/* Services Grid */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

.service-card h3 {
    margin-bottom: 1rem;
    color: #2d5a8c;
}

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

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

.testimonial-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2d5a8c;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: #2d5a8c;
}

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

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

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

.step h3 {
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.benefit-item h3 {
    margin-bottom: 0.75rem;
    color: #2d5a8c;
}

/* Insights Section */
.insights-section {
    background-color: #f0f4f8;
}

.insights-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.insight-block {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
}

.insight-block h3 {
    margin-bottom: 1rem;
    color: #2d5a8c;
}

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

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

.faq-item {
    margin-bottom: 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

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

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.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 1.5rem 1.5rem;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background-color: #2d5a8c;
    color: #ffffff;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Story Section */
.story-section {
    background-color: #f9fafb;
}

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

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Values Grid */
.values-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: #2d5a8c;
}

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

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

.team-member {
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.team-member h3 {
    margin-bottom: 0.5rem;
    color: #2d5a8c;
}

.member-role {
    font-weight: 600;
    color: #666;
    margin-bottom: 1rem;
}

/* Achievements */
.achievements-list {
    max-width: 900px;
    margin: 0 auto;
}

.achievement-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.achievement-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5a8c;
    margin-bottom: 1rem;
}

.achievement-desc h3 {
    margin-bottom: 0.75rem;
}

/* Approach Section */
.approach-content {
    max-width: 900px;
    margin: 0 auto;
}

.approach-content > p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.approach-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.approach-point {
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.approach-point h3 {
    margin-bottom: 1rem;
    color: #2d5a8c;
}

/* Impact Section */
.impact-section {
    background-color: #f0f4f8;
}

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

.impact-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.trust-item {
    text-align: center;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.trust-item svg {
    margin-bottom: 1rem;
}

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

/* Services List Page */
.services-list {
    max-width: 900px;
    margin: 0 auto;
}

.service-detail {
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.service-header {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background-color: #f9fafb;
}

.service-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.service-header p {
    color: #666;
    margin-bottom: 1rem;
}

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

.service-body {
    padding: 2rem;
}

/* Service Benefits */
.service-benefits {
    background-color: #f0f4f8;
}

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

.benefit-card {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: #2d5a8c;
}

/* Comparison Section */
.comparison-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comparison-item {
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.comparison-item h3 {
    margin-bottom: 1rem;
    color: #2d5a8c;
}

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

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

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

.contact-card h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

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

.contact-detail h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2d5a8c;
}

.contact-detail a {
    color: #2d5a8c;
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

/* Directions Section */
.directions-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.direction-item {
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.direction-item h3 {
    margin-bottom: 1rem;
    color: #2d5a8c;
}

/* Company Info Section */
.company-info-section {
    background-color: #f0f4f8;
}

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

.company-info-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Response Time / Expectation Section */
.response-time {
    background-color: #f9fafb;
}

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

.expectation-card {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
}

.expectation-card h3 {
    margin-bottom: 1rem;
    color: #2d5a8c;
}

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

.thankyou-content h1 {
    color: #2d5a8c;
    margin-bottom: 2rem;
}

.thankyou-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.next-steps {
    background-color: #f9fafb;
}

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

.step-card {
    text-align: center;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
}

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

.step-card h3 {
    margin-bottom: 1rem;
}

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

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

.legal-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f0f4f8;
    border-radius: 8px;
}

.legal-date {
    font-style: italic;
    color: #666;
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: #2d5a8c;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.legal-content h3 {
    font-size: 1.3rem;
    color: #2d5a8c;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

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

.cookie-row {
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cookie-name {
    font-family: 'Courier New', monospace;
    color: #2d5a8c;
    margin-bottom: 1rem;
}

.cookie-details p {
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background-color: #1a2332;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a2332;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -2px 8px 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-direction: column;
    gap: 1rem;
}

.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: 3000;
    padding: 1rem;
}

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

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

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

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

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

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

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

/* Tablet Styles */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
        gap: 0.5rem;
    }

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

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

    .overview-grid,
    .services-grid,
    .testimonial-grid,
    .benefits-layout,
    .values-grid,
    .team-grid,
    .trust-grid,
    .benefits-grid,
    .expectation-grid,
    .steps-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .overview-item,
    .service-card,
    .testimonial-card,
    .benefit-item,
    .value-card,
    .team-member,
    .trust-item,
    .benefit-card,
    .expectation-card,
    .step-card {
        flex: 1 1 calc(50% - 1rem);
    }

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

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

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

    .contact-card {
        flex: 1;
    }

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

    .footer-section {
        flex: 1;
    }

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

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

    .thankyou-links {
        flex-direction: row;
        justify-content: center;
    }

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

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

    .achievement-item {
        flex-direction: row;
        gap: 2rem;
    }

    .achievement-year {
        min-width: 100px;
    }
}

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

    .service-card,
    .testimonial-card,
    .team-member,
    .expectation-card,
    .step-card {
        flex: 1 1 calc(50% - 1rem);
    }

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

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

    .step {
        flex: 1;
    }
}

/* Mobile Menu Active State */
.main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.main-nav.active a {
    padding: 1rem;
}

/* Accessibility */
:focus {
    outline: 2px solid #2d5a8c;
    outline-offset: 2px;
}

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

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