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

:root {
    --primary: #1a5276;
    --primary-dark: #0e3a52;
    --secondary: #3498db;
    --accent: #e67e22;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --text: #34495e;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --border: #dce1e5;
    --shadow: rgba(0, 0, 0, 0.1);
    --success: #27ae60;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

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

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

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

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

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

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Mobile Menu */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

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

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

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

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

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px var(--shadow);
    padding: 20px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    display: block;
    padding: 10px 15px;
    color: var(--dark);
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: var(--light);
    color: var(--primary);
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-text {
    max-width: 600px;
}

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

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

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-visual svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Section Styles */
.section {
    padding: 60px 0;
}

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

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

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

/* Cards */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.card {
    flex: 1 1 100%;
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

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

.card h3 {
    margin-bottom: 15px;
}

.card p {
    color: var(--text-light);
}

/* Service Cards */
.service-card {
    flex: 1 1 100%;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
}

.service-card-header {
    padding: 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.service-card-body {
    padding: 25px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 15px;
}

/* Features */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.feature {
    flex: 1 1 100%;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.feature-content h4 {
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Statistics */
.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat {
    flex: 1 1 45%;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
}

.section-dark .stat-number {
    color: var(--white);
}

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

/* Testimonials */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.testimonial {
    flex: 1 1 100%;
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content {
    padding-top: 30px;
    font-style: italic;
    margin-bottom: 20px;
}

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

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Process Steps */
.process {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.process-step {
    flex: 1 1 100%;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

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

.process-content h4 {
    margin-bottom: 8px;
}

.process-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

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

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

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-light);
}

/* Values */
.values {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.value {
    flex: 1 1 100%;
    padding: 30px;
    background-color: var(--light);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.value h4 {
    margin-bottom: 10px;
}

.value p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

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

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    background-color: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
}

.timeline-year {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-content h4 {
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-block {
    flex: 1 1 100%;
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow);
}

.contact-block h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-block svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: var(--primary);
    margin-top: 3px;
}

.contact-item span {
    color: var(--text);
}

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

.cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -4px 15px var(--shadow);
    z-index: 9999;
    display: none;
}

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

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

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background-color: var(--success);
    color: var(--white);
}

.cookie-btn-accept:hover {
    background-color: #219a52;
}

.cookie-btn-reject {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.cookie-btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-preferences {
    background-color: transparent;
    color: var(--white);
    text-decoration: underline;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.cookie-modal-content {
    background-color: var(--white);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    padding: 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin-bottom: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 5px;
    line-height: 1;
}

.cookie-modal-close:hover {
    color: var(--dark);
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.cookie-category:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

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

.cookie-category h4 {
    margin-bottom: 0;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

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

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

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--success);
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-category p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.cookie-modal-footer {
    padding: 25px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

/* Thank You Page */
.thank-you {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

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

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

.thank-you h1 {
    margin-bottom: 20px;
}

.thank-you p {
    max-width: 500px;
    margin: 0 auto 30px;
    color: var(--text-light);
}

/* Legal Pages */
.legal {
    padding: 60px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal h1 {
    margin-bottom: 30px;
}

.legal h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal h3 {
    font-size: 1.25rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal p, .legal ul, .legal ol {
    margin-bottom: 15px;
}

.legal ul, .legal ol {
    padding-left: 25px;
}

.legal li {
    margin-bottom: 8px;
}

.legal-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Industries */
.industries {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.industry-tag {
    padding: 12px 20px;
    background-color: var(--light);
    border-radius: 30px;
    font-weight: 500;
    color: var(--dark);
    transition: all 0.3s ease;
}

.industry-tag:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Quote Section */
.quote-section {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.quote-text {
    font-size: 1.75rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.quote-author {
    font-weight: 600;
    opacity: 0.9;
}

/* Comparison Table */
.comparison {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

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

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background-color: var(--light);
}

/* Highlighted Panel */
.highlight-panel {
    background: linear-gradient(135deg, var(--accent) 0%, #d35400 100%);
    color: var(--white);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.highlight-panel h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.highlight-panel p {
    opacity: 0.95;
    margin-bottom: 25px;
}

/* Icon Grid */
.icon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.icon-item {
    flex: 1 1 45%;
}

.icon-item svg {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.icon-item h4 {
    margin-bottom: 10px;
}

.icon-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (min-width: 576px) {
    .card {
        flex: 1 1 calc(50% - 15px);
    }

    .service-card {
        flex: 1 1 calc(50% - 15px);
    }

    .testimonial {
        flex: 1 1 calc(50% - 15px);
    }

    .contact-block {
        flex: 1 1 calc(50% - 15px);
    }

    .footer-section {
        flex: 1 1 calc(50% - 20px);
    }
}

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

    .hero {
        padding: 100px 0;
    }

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

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

    .hero-text {
        flex: 1;
    }

    .hero-visual {
        flex: 1;
    }

    .section {
        padding: 80px 0;
    }

    .card {
        flex: 1 1 calc(33.333% - 20px);
    }

    .feature {
        flex: 1 1 calc(50% - 15px);
    }

    .process-step {
        flex: 1 1 calc(50% - 15px);
    }

    .stat {
        flex: 1 1 calc(25% - 25px);
    }

    .value {
        flex: 1 1 calc(50% - 15px);
    }

    .icon-item {
        flex: 1 1 calc(25% - 25px);
    }

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

    .nav {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .service-card {
        flex: 1 1 calc(33.333% - 20px);
    }

    .testimonial {
        flex: 1 1 calc(33.333% - 20px);
    }

    .footer-section {
        flex: 1 1 calc(25% - 30px);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus:not(:focus-visible) {
    outline: none;
}

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