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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

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

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

.main-nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 1rem;
}

.main-nav ul.active {
    display: flex;
}

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

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

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

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

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.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(--bg-white);
}

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

.hero-content h1 {
    color: var(--bg-white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: var(--bg-white);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.page-header p {
    font-size: 1.125rem;
    color: var(--text-medium);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

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

/* Cards */
.card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 0.75rem;
}

/* Grid Layouts using Flexbox */
.intro-grid,
.philosophy-cards,
.services-list,
.values-grid,
.team-grid,
.benefits-list,
.trust-grid,
.format-grid,
.benefits-grid,
.stats-grid,
.service-areas-grid,
.industry-grid,
.insight-cards,
.expect-grid,
.next-steps,
.steps-grid,
.overview-highlights,
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.intro-text,
.intro-visual,
.contact-details,
.contact-description {
    flex: 1 1 100%;
}

.intro-visual img {
    max-width: 100%;
    height: auto;
}

.philosophy-cards .card,
.value-card,
.service-item,
.service-card,
.team-member,
.benefit-item,
.trust-item,
.format-card,
.benefit-box,
.area-card,
.insight-card,
.expect-item,
.next-step,
.highlight-item {
    flex: 1 1 100%;
}

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

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

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 500;
}

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

.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

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

.testimonial p {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.testimonial cite {
    font-style: normal;
    color: var(--text-medium);
    font-weight: 600;
}

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

.step,
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    flex-shrink: 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: 1.5rem;
    font-weight: 700;
}

.step h3,
.process-step h3 {
    margin-bottom: 0.5rem;
}

/* Industries */
.industry-grid {
    gap: 1rem;
}

.industry-tag {
    flex: 1 1 100%;
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
}

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

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

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

.timeline-content {
    flex: 1;
    padding-bottom: 2rem;
    border-left: 3px solid var(--border-color);
    padding-left: 2rem;
}

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

/* Services Page */
.service-card {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

.service-header img {
    width: 60px;
    height: 60px;
}

.service-header h3 {
    margin-bottom: 0.25rem;
}

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

.service-body p {
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: disc;
    padding-left: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

/* Contact Page */
.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-item p {
    margin: 0;
}

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

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 1rem;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding-top: 1rem;
}

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

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

.cta-content p {
    color: var(--bg-white);
    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-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

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

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

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

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

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

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

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

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cookie-content p {
    color: var(--bg-white);
    margin: 0;
    text-align: center;
}

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

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

.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: 0.5rem 0 0 2rem;
    font-size: 0.875rem;
}

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

/* Legal Content */
.legal-content {
    padding: 2rem 0;
}

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

.legal-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.legal-text li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

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

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

.thank-you-message img {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

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

.what-to-expect {
    background-color: var(--bg-light);
}

.philosophy-point {
    margin-bottom: 2rem;
}

.philosophy-point h3 {
    margin-bottom: 0.5rem;
}

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

    h2 {
        font-size: 2rem;
    }

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

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

    .main-nav li {
        margin: 0;
    }

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

    .intro-text,
    .intro-visual,
    .contact-details,
    .contact-description {
        flex: 1 1 45%;
    }

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

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

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

    .stat-item {
        flex: 1 1 22%;
    }

    .format-card,
    .benefit-box {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

    .industry-tag {
        flex: 1 1 calc(33.333% - 1rem);
    }

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

    .expect-item,
    .next-step {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

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

    .highlight-item {
        flex: 1 1 calc(33.333% - 1.5rem);
    }

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

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

    .footer-section {
        flex: 1 1 30%;
    }

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

    .cookie-content p {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

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

    section {
        padding: 5rem 0;
    }

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

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

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

    .industry-tag {
        flex: 1 1 calc(20% - 1rem);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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