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

:root {
    --primary-color: #2c5f4f;
    --primary-dark: #1e4437;
    --primary-light: #3d7a64;
    --secondary-color: #8b9d83;
    --accent-color: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --text-muted: #6b6b6b;
    --bg-light: #f8f9f7;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

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

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

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

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

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background-color: var(--bg-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
}

.main-nav.active {
    right: 0;
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-nav a {
    font-size: 1.1rem;
    color: var(--text-dark);
    padding: 0.5rem 0;
    display: block;
}

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

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

.hero-content {
    text-align: center;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-visual {
    display: none;
}

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

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #c19d2f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

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

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

.page-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.page-subtitle,
.section-intro-text {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.intro-text {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

/* Grid Layouts using Flexbox */
.services-grid,
.benefits-grid,
.values-grid,
.trust-grid,
.stats-grid,
.industries-list,
.team-expertise,
.contact-grid,
.company-info-grid,
.benefits-comparison,
.commitment-grid,
.next-steps,
.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Service Cards */
.service-card,
.value-card,
.benefit-item,
.trust-item,
.industry-item,
.expertise-item,
.contact-card,
.info-block,
.benefit-point,
.commitment-item,
.next-step,
.step-info {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.value-card:hover,
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon,
.value-icon,
.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img,
.value-icon img,
.contact-icon img {
    width: 100%;
    height: 100%;
}

/* Service Detailed */
.service-detailed {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.service-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon-large {
    width: 80px;
    height: 80px;
}

.service-tagline {
    color: var(--text-muted);
    font-size: 1rem;
    font-style: italic;
}

.service-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 1.5rem;
}

.service-features h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.service-features ul,
.service-description ul {
    list-style: disc;
    padding-left: 1.5rem;
    line-height: 1.8;
}

.service-features li,
.service-description li {
    margin-bottom: 0.5rem;
}

.service-pricing {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    border: 2px solid var(--primary-color);
}

.price-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.price-amount {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-note {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Statistics */
.statistics {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

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

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

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--text-light);
}

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

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

.step,
.flow-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-number,
.flow-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-year {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
}

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

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

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

.faq-item {
    background-color: var(--bg-white);
    margin-bottom: 1rem;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

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

.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: 1000px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    line-height: 1.7;
    color: var(--text-light);
}

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

.cta-content {
    text-align: center;
}

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

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

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

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

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

.footer-section p {
    line-height: 1.6;
    opacity: 0.85;
}

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

.footer-section a {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: bottom 0.3s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.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 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

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

.cookie-modal h2 {
    margin-bottom: 1.5rem;
    text-align: left;
}

.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 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    margin-left: 1.75rem;
}

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

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

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

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

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

.legal-text h4 {
    color: var(--text-dark);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-text ul,
.legal-text ol {
    list-style: disc;
    padding-left: 2rem;
    margin: 1rem 0;
}

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

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

.legal-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.cookie-entry {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.cookie-entry h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

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

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

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

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

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

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

    h2 {
        font-size: 2rem;
    }

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

    .main-nav {
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .main-nav ul {
        flex-direction: row;
        gap: 2rem;
    }

    .main-nav a {
        font-size: 1rem;
    }

    .hero-cta,
    .thank-you-actions,
    .cookie-buttons,
    .cookie-modal-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .services-grid,
    .benefits-grid,
    .values-grid,
    .trust-grid,
    .industries-list,
    .team-expertise,
    .contact-grid,
    .company-info-grid,
    .benefits-comparison,
    .commitment-grid,
    .next-steps,
    .steps-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card,
    .value-card,
    .benefit-item,
    .trust-item,
    .industry-item,
    .expertise-item,
    .contact-card,
    .info-block,
    .benefit-point,
    .commitment-item,
    .next-step,
    .step-info {
        flex: 1 1 calc(50% - 1rem);
    }

    .stats-grid {
        flex-direction: row;
        justify-content: space-around;
    }

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

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

    .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;
    }

    .service-header {
        flex-direction: row;
        align-items: center;
    }
}

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

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

    .hero-content {
        flex: 1;
        text-align: left;
    }

    .hero-visual {
        display: block;
        flex: 1;
    }

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

    .hero-cta {
        justify-content: flex-start;
    }

    .service-card,
    .value-card {
        flex: 1 1 calc(25% - 1.5rem);
    }

    .benefit-item,
    .trust-item,
    .industry-item,
    .expertise-item,
    .benefit-point,
    .commitment-item {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

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

    .about-intro-content,
    .philosophy-content,
    .location-content {
        display: flex;
        gap: 3rem;
        align-items: center;
    }

    .about-text,
    .philosophy-text,
    .location-text {
        flex: 1;
    }

    .about-visual,
    .philosophy-visual,
    .location-details {
        flex: 1;
    }

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

    .story-block {
        flex: 1;
    }
}