/* 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;
    font-size: 16px;
}

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

a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #357ab8;
}

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

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a90e2;
}

.logo:hover {
    color: #357ab8;
}

.nav-menu {
    display: none;
    list-style: 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);
    padding: 1rem 0;
}

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

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 0.75rem 20px;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #f5f5f5;
    color: #4a90e2;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Hero Sections */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

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

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

.page-hero {
    background-color: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

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

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

.btn-primary {
    background-color: #4a90e2;
    color: #fff;
    border-color: #4a90e2;
}

.btn-primary:hover {
    background-color: #357ab8;
    border-color: #357ab8;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #4a90e2;
    border-color: #4a90e2;
}

.btn-secondary:hover {
    background-color: #4a90e2;
    color: #fff;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-outline {
    background-color: transparent;
    color: #333;
    border-color: #ddd;
}

.btn-outline:hover {
    background-color: #f5f5f5;
    color: #333;
}

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

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

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

.intro-section,
.contact-intro {
    background-color: #f8f9fa;
}

.intro-text,
.section-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

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

.content-block p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Grid Layouts using Flexbox */
.values-grid,
.services-showcase,
.testimonials-grid,
.trust-grid,
.benefits-grid,
.knowledge-grid,
.mission-grid,
.team-grid,
.achievements-grid,
.community-grid,
.trust-points,
.waiting-grid,
.alternative-grid,
.approach-points {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.value-card,
.service-feature,
.testimonial,
.trust-item,
.benefit-item,
.knowledge-item,
.mission-card,
.team-member,
.achievement,
.community-item,
.trust-point,
.waiting-card,
.alternative-item,
.approach-point {
    flex: 1 1 100%;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover,
.service-feature:hover,
.trust-item:hover,
.benefit-item:hover,
.mission-card:hover,
.achievement:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

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

/* Approach Steps */
.approach-steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

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

.step-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

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

.process-step {
    flex: 1 1 100%;
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.step-num {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #4a90e2;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

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

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

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

.stat {
    flex: 1 1 100%;
    text-align: center;
    padding: 2rem;
}

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

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

/* Testimonials */
.testimonial {
    background-color: #f8f9fa;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: #4a90e2;
}

/* Services Page */
.service-card {
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

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

.service-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #4a90e2;
}

.service-description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.service-includes h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

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

.service-includes li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.service-includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a90e2;
    font-weight: 700;
}

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

.contact-card {
    flex: 1 1 100%;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.contact-info {
    font-size: 1.125rem;
    font-weight: 600;
    color: #4a90e2;
    margin-bottom: 1rem;
}

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

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

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

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

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #4a90e2;
    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: 0 1.25rem 1.25rem;
    line-height: 1.8;
    color: #555;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

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

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

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

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

.lead-text {
    font-size: 1.25rem;
    color: #555;
}

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

.step-item {
    flex: 1 1 100%;
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Legal Pages */
.legal-hero {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.legal-hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.legal-date {
    color: #666;
    font-size: 0.875rem;
}

.legal-content {
    padding: 3rem 0;
}

.legal-section {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-section h3 {
    font-size: 1.375rem;
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul,
.legal-section ol {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

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

.text-link {
    font-weight: 600;
}

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

.role {
    color: #4a90e2;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1.5rem;
}

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

.footer-column {
    flex: 1 1 100%;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-column p {
    line-height: 1.8;
    color: #bdc3c7;
}

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

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

.footer-column a {
    color: #ecf0f1;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #4a90e2;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #34495e;
    text-align: center;
    color: #bdc3c7;
}

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

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

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

.cookie-content p {
    flex: 1 1 100%;
    margin: 0;
}

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

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

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

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

.cookie-modal-content h2 {
    margin-bottom: 1.5rem;
}

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

.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;
    font-size: 0.875rem;
    color: #666;
    font-weight: normal;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .mobile-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        box-shadow: none;
        padding: 0;
        gap: 0.5rem;
    }

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

    .value-card,
    .service-feature,
    .benefit-item,
    .knowledge-item,
    .mission-card,
    .achievement,
    .community-item,
    .trust-point,
    .step-item,
    .waiting-card,
    .alternative-item,
    .approach-point {
        flex: 1 1 calc(50% - 1rem);
    }

    .testimonial {
        flex: 1 1 100%;
    }

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

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

    .footer-column {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

    .cookie-content p {
        flex: 1 1 auto;
    }

    .cookie-buttons {
        flex: 0 0 auto;
    }

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

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

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    section {
        padding: 5rem 0;
    }

    .hero {
        padding: 5rem 0;
    }

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

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

    section h2 {
        font-size: 2.25rem;
    }

    .value-card,
    .benefit-item,
    .mission-card,
    .achievement,
    .trust-point,
    .waiting-card,
    .alternative-item,
    .approach-point {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

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

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

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

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

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

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