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

:root {
    --primary-color: #1a5490;
    --primary-dark: #0f3a65;
    --primary-light: #2d6bb3;
    --secondary-color: #f39c12;
    --secondary-dark: #d68910;
    --text-color: #2c3e50;
    --text-light: #546576;
    --bg-color: #ffffff;
    --bg-gray: #f8f9fa;
    --bg-dark: #34495e;
    --border-color: #dee2e6;
    --success-color: #27ae60;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

/* Header */
.header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand .logo {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-color);
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

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

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

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.hero-visual img {
    max-width: 500px;
}

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

.btn-primary {
    background: var(--secondary-color);
    color: var(--bg-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-color);
    border-color: var(--bg-color);
}

.btn-secondary:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

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

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

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

.section-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.page-header {
    background: var(--bg-gray);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.page-intro {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Features */
.features {
    background: var(--bg-gray);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature-card {
    flex: 1;
    min-width: 250px;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Company Story */
.company-story {
    background: var(--bg-color);
}

.story-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.story-text {
    flex: 1;
    min-width: 300px;
}

.story-text p {
    margin-bottom: 1.25rem;
}

.story-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.story-image img {
    max-width: 450px;
}

/* Services Highlight */
.services-highlight {
    background: var(--bg-color);
}

.services-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.service-card {
    flex: 1;
    min-width: 280px;
    background: var(--bg-gray);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Process */
.process {
    background: var(--bg-gray);
}

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

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Stats */
.stats {
    background: var(--primary-color);
    color: var(--bg-color);
}

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

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

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

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

/* Testimonials */
.testimonials {
    background: var(--bg-gray);
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-light);
}

.testimonial-author strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Philosophy */
.philosophy {
    background: var(--bg-color);
}

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

.philosophy-text p {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

/* Knowledge */
.knowledge {
    background: var(--bg-gray);
}

.knowledge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.knowledge-item {
    flex: 1;
    min-width: 250px;
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.knowledge-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* FAQ */
.faq {
    background: var(--bg-color);
}

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

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

.faq-question:hover {
    background: var(--border-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    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: 1.25rem;
    background: var(--bg-color);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-color);
    text-align: center;
}

.cta-content h2 {
    color: var(--bg-color);
    margin-bottom: 1rem;
}

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

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--bg-color);
    padding: 3rem 0 1rem;
}

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

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--bg-color);
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: var(--bg-color);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: var(--bg-color);
    padding: 1.5rem;
    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;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 1rem;
}

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

.cookie-modal-content {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
}

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

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

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

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

.cookie-option p {
    margin-top: 0.5rem;
    margin-left: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* About Page */
.about-story {
    background: var(--bg-color);
}

.content-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.content-text {
    flex: 1;
    min-width: 300px;
}

.content-text p {
    margin-bottom: 1.25rem;
}

.content-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.content-visual img {
    max-width: 450px;
}

.values {
    background: var(--bg-gray);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.value-item {
    flex: 1;
    min-width: 280px;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.team {
    background: var(--bg-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-content p {
    margin-bottom: 1.25rem;
}

.approach {
    background: var(--bg-gray);
}

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

.approach-item {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.approach-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.approach-item p {
    margin-bottom: 1rem;
}

.approach-item p:last-child {
    margin-bottom: 0;
}

.milestones {
    background: var(--bg-color);
}

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

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    flex-shrink: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    width: 100px;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.trust {
    background: var(--bg-gray);
}

.trust-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-point {
    flex: 1;
    min-width: 250px;
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.trust-point h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* Services Page */
.services-list {
    background: var(--bg-color);
}

.service-detail {
    background: var(--bg-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.service-detail-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.service-detail-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.service-detail-title {
    flex: 1;
    min-width: 200px;
}

.service-detail-title h2 {
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.service-detail-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.service-detail-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.service-detail-content li {
    margin-bottom: 0.5rem;
}

.service-note {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-color);
    border-left: 3px solid var(--secondary-color);
}

.service-benefits {
    background: var(--bg-gray);
}

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

.benefit-item {
    flex: 1;
    min-width: 280px;
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.service-faq {
    background: var(--bg-color);
}

/* Contact Page */
.contact-info {
    background: var(--bg-color);
}

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

.contact-card {
    flex: 1;
    min-width: 250px;
    background: var(--bg-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.contact-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-card a {
    color: var(--text-color);
    font-weight: 600;
}

.contact-description {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.about-contact {
    background: var(--bg-gray);
}

.about-contact-content p {
    margin-bottom: 1.25rem;
}

.directions {
    background: var(--bg-color);
}

.directions-content > p {
    margin-bottom: 2rem;
}

.directions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.direction-item {
    flex: 1;
    min-width: 250px;
}

.direction-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.contact-faq {
    background: var(--bg-gray);
}

.company-info {
    background: var(--bg-color);
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.company-detail-item {
    display: flex;
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: 6px;
}

.company-detail-item strong {
    flex-basis: 150px;
    flex-shrink: 0;
    color: var(--primary-color);
}

/* Thank You Page */
.thank-you-section {
    background: var(--bg-color);
    min-height: 50vh;
    display: flex;
    align-items: center;
}

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

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

.thank-you-content h1 {
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.next-steps {
    background: var(--bg-gray);
}

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

.step-card {
    flex: 1;
    min-width: 200px;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.step-card .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.step-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* Legal Pages */
.legal-content {
    background: var(--bg-color);
}

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

.legal-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

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

.legal-text a {
    text-decoration: underline;
}

.legal-update {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-style: italic;
    color: var(--text-light);
}

.cookie-table {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.cookie-table h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

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

.cookie-table ul {
    margin-bottom: 1.5rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    section h2 {
        font-size: 1.75rem;
    }

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

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

    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timeline-year {
        width: auto;
        font-size: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }
}
