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

:root {
    --primary-color: #4a90a4;
    --primary-dark: #3a7080;
    --secondary-color: #7ab8cc;
    --light-bg: #e8f4f8;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --border-color: #d4e4ea;
    --success: #4caf50;
    --shadow: rgba(74, 144, 164, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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 and Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

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

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

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.legal-hero {
    padding: 2.5rem 0;
}

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

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

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

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

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

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

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Grid Layouts */
.intro-grid,
.features-grid,
.products-showcase,
.benefits-list,
.stats-grid,
.testimonials-grid,
.knowledge-content,
.values-grid,
.approach-highlights,
.timeline,
.industries-grid,
.trust-grid,
.benefits-cols,
.service-grid,
.contact-grid,
.directions-details,
.steps-grid,
.explore-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.intro-grid {
    align-items: center;
}

.intro-text,
.intro-image {
    flex: 1;
    min-width: 280px;
}

.intro-image svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.features-grid,
.values-grid,
.trust-grid {
    justify-content: center;
}

.feature-card,
.value-card,
.trust-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.value-card:hover,
.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px var(--shadow);
}

.feature-icon,
.value-icon,
.trust-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

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

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

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

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

/* Product Highlights */
.products-showcase {
    justify-content: center;
}

.product-item {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    text-align: center;
}

.product-visual {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-visual svg {
    width: 100%;
    max-width: 200px;
    height: auto;
}

/* Benefits */
.benefits-list {
    justify-content: space-between;
}

.benefit-item {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

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

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.stats-grid {
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 200px;
}

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

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Testimonials */
.testimonials-grid {
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 8px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Knowledge Section */
.knowledge-section {
    background-color: var(--light-bg);
}

.knowledge-content {
    justify-content: space-between;
}

.knowledge-item {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
}

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

/* FAQ Section */
.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%;
    padding: 1.2rem 1.5rem;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    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.2rem 1.5rem;
    line-height: 1.7;
    background-color: var(--light-bg);
}

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

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

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

.cta-simple {
    text-align: center;
    background-color: var(--light-bg);
}

.cta-simple h2 {
    margin-bottom: 1rem;
}

.cta-simple p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

/* Company Sections */
.company-intro,
.story-section,
.approach-section,
.team-section,
.company-description {
    background-color: var(--white);
}

.story-content,
.approach-content,
.team-description {
    max-width: 900px;
    margin: 0 auto;
}

.story-content p,
.approach-content p,
.team-description p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.approach-highlights {
    margin-top: 2rem;
    justify-content: space-between;
}

.highlight-item {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
}

/* Timeline */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    flex-direction: column;
    gap: 2rem;
}

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

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

/* Industries */
.industries-section {
    background-color: var(--light-bg);
}

.industries-grid {
    justify-content: space-between;
}

.industry-item {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
}

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

/* Services/Products Page */
.services-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.services-list h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.service-grid {
    justify-content: center;
}

.service-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

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

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

.service-card p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

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

.benefits-cols {
    justify-content: space-between;
}

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

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

/* Comparison Table */
.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

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

.comparison-cell {
    flex: 1;
    padding: 1rem 1.5rem;
    min-width: 200px;
}

.comparison-cell.header {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.comparison-row:nth-child(even) .comparison-cell:not(.header) {
    background-color: var(--light-bg);
}

/* Contact Page */
.contact-info {
    padding: 4rem 0;
}

.contact-grid {
    justify-content: center;
}

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

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

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

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

.contact-card a {
    color: var(--text-dark);
    word-break: break-word;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

.company-description,
.directions-section,
.contact-faq,
.company-info-section {
    padding: 3rem 0;
}

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

.company-description p,
.directions-content > p {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.directions-details {
    max-width: 900px;
    margin: 2rem auto 0;
    justify-content: space-between;
}

.direction-item {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
}

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

.company-details {
    max-width: 600px;
    margin: 0 auto;
}

.company-details p {
    padding: 0.5rem 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Thank You Page */
.thank-you-section {
    padding: 5rem 0;
    text-align: center;
}

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

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

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

.thank-you-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.thank-you-message {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

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

.steps-grid {
    justify-content: center;
}

.step-item {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    text-align: center;
}

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

.explore-section {
    padding: 4rem 0;
}

.explore-section h2 {
    margin-bottom: 0.5rem;
}

.explore-section > .container > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.explore-grid {
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

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

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

.explore-card p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.explore-card a {
    font-weight: 600;
}

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

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

.legal-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.legal-text h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: left;
}

.legal-text h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

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

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

.legal-text ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

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

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

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

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

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

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

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

.footer-col a:hover {
    color: var(--white);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px var(--shadow);
    z-index: 2000;
    display: none;
}

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

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

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

.cookie-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

/* 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: var(--white);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-content > p {
    margin-bottom: 1.5rem;
}

.cookie-options {
    margin-bottom: 2rem;
}

.cookie-option {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 4px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.3rem;
}

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

.cookie-option div {
    flex: 1;
}

.cookie-option strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.cookie-option p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

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

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

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .mobile-toggle {
        display: flex;
    }

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

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

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

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

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

    section h2 {
        font-size: 1.7rem;
    }

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

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

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

    .comparison-cell {
        border-bottom: 1px solid var(--border-color);
    }

    .comparison-cell:last-child {
        border-bottom: none;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons .btn {
        flex: 1;
        min-width: 120px;
    }
}

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

    section {
        padding: 3rem 0;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .thank-you-content h1 {
        font-size: 2rem;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

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