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

html {
    font-size: 16px;
    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;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
}

h2 {
    font-size: 2rem;
    color: #1a1a1a;
}

h3 {
    font-size: 1.5rem;
    color: #2a2a2a;
}

h4 {
    font-size: 1.25rem;
    color: #2a2a2a;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004499;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

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

nav {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
}

.nav-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    transition: background-color 0.3s ease;
}

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

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

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

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

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

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

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

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

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

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

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

.btn-primary {
    background-color: #0066cc;
    color: #fff;
}

.btn-primary:hover {
    background-color: #004499;
    color: #fff;
}

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

.btn-secondary:hover {
    background-color: #fff;
    color: #0066cc;
}

.btn-text {
    background: none;
    color: #666;
    padding: 0.75rem 1rem;
}

.btn-text:hover {
    color: #333;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

/* Grid Layouts */
.intro-grid,
.services-grid,
.industries-grid,
.testimonials-grid,
.values-grid,
.team-grid,
.benefits-grid,
.trust-grid,
.achievements-grid,
.cert-list,
.culture-grid,
.departments-grid,
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intro-card,
.service-card,
.industry-item,
.testimonial-card,
.value-card,
.team-member,
.benefit-card,
.trust-item,
.cert-item,
.culture-item,
.department-card,
.contact-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card:hover,
.testimonial-card:hover,
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.intro-icon,
.contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

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

/* Philosophy Section */
.philosophy-section {
    background-color: #f8f9fa;
}

.philosophy-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.philosophy-text p {
    font-size: 1.125rem;
    line-height: 1.8;
}

.philosophy-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item,
.stat-box {
    text-align: center;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #666;
}

/* Services */
.services-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-feature {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-visual {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

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

.service-details h3 {
    margin-top: 1.5rem;
}

/* Services List Page */
.service-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.service-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.service-subtitle {
    font-size: 1.125rem;
    color: #666;
    font-weight: 400;
}

.service-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price-label {
    font-size: 0.875rem;
    color: #666;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0066cc;
}

.service-description,
.service-details {
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    font-size: 1.125rem;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9375rem;
}

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

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

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #0066cc;
}

.timeline-item {
    position: relative;
}

.timeline-year {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 80px;
    padding: 0.25rem 0.5rem;
    background-color: #0066cc;
    color: #fff;
    font-weight: 700;
    text-align: center;
    border-radius: 4px;
    margin-left: -40px;
}

.timeline-content {
    padding-left: 2rem;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-step {
    display: flex;
    gap: 1.5rem;
}

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

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

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

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

.faq-icon {
    font-size: 1.5rem;
    color: #0066cc;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

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

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

/* Team Stats */
.team-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.member-role {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Achievements */
.achievement-item {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.achievement-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.achievement-label {
    display: block;
    font-size: 1rem;
    color: #666;
}

/* Contact */
.contact-note {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

.office-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-box {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

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

.detail-row {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-label {
    font-weight: 600;
    color: #666;
    margin-bottom: 0.25rem;
}

.detail-value {
    color: #1a1a1a;
}

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

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

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

.thank-you-text {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

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

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

.step-card {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.step-card .step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

/* Legal Pages */
.legal-header {
    background-color: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}

.last-updated {
    color: #666;
    font-size: 0.9375rem;
}

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

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.legal-section ul,
.legal-section ol {
    margin-bottom: 1rem;
}

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

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

.cta-content h2 {
    color: #fff;
    margin-bottom: 1rem;
}

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

.cta-content .inline-link {
    color: #fff;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section a {
    color: #ccc;
}

.footer-section a:hover {
    color: #fff;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #999;
    font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    color: #fff;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

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

.cookie-banner-content p {
    margin: 0;
    font-size: 0.9375rem;
}

.cookie-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-modal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal-content {
    background-color: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-modal-header h2 {
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    color: #333;
}

.cookie-modal-body {
    padding: 1.5rem;
}

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

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category h3 {
    margin: 0;
    font-size: 1.125rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #0066cc;
}

input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.toggle-switch.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.toggle-switch.disabled .toggle-slider {
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Tablet Styles */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .mobile-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
    }

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

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

    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }

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

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

    .industries-grid,
    .team-grid,
    .benefits-grid,
    .trust-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .industry-item,
    .team-member,
    .benefit-card,
    .trust-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .philosophy-content {
        flex-direction: row;
        align-items: center;
    }

    .philosophy-text {
        flex: 1;
    }

    .philosophy-stats {
        flex: 0 0 300px;
    }

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

    .service-feature.reverse {
        flex-direction: row-reverse;
    }

    .service-visual {
        flex: 0 0 40%;
    }

    .service-details {
        flex: 1;
    }

    .service-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .service-price {
        align-items: flex-end;
        text-align: right;
    }

    .contact-grid,
    .departments-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    .office-content {
        flex-direction: row;
    }

    .office-text {
        flex: 1;
    }

    .office-details {
        flex: 0 0 350px;
    }

    .thank-you-actions {
        flex-direction: row;
        justify-content: center;
    }

    .steps-grid {
        flex-direction: row;
    }

    .step-card {
        flex: 1;
    }

    .team-stats,
    .achievements-grid {
        flex-direction: row;
    }

    .achievement-item {
        flex: 1;
    }

    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    .cookie-banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-banner-actions {
        flex-direction: row;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .intro-card,
    .testimonial-card {
        flex: 1 1 calc(33.333% - 1.34rem);
    }

    .industries-grid,
    .trust-grid {
        flex-direction: row;
    }

    .industry-item,
    .trust-item {
        flex: 1 1 calc(33.333% - 1.34rem);
    }

    .team-grid,
    .benefits-grid,
    .cert-list,
    .culture-grid {
        flex-direction: row;
    }

    .team-member,
    .benefit-card,
    .cert-item,
    .culture-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .contact-grid,
    .departments-grid {
        flex-direction: row;
    }

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

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

    .achievement-item {
        flex: 1 1 calc(16.666% - 1.67rem);
    }
}
