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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

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

h3 {
    font-size: 1.5rem;
    color: #4a5568;
}

h4 {
    font-size: 1.25rem;
    color: #4a5568;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c5282;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.btn-primary {
    background-color: #3182ce;
    color: #fff;
}

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

.btn-secondary {
    background-color: transparent;
    color: #3182ce;
    border: 2px solid #3182ce;
}

.btn-secondary:hover {
    background-color: #3182ce;
    color: #fff;
}

.btn-tertiary {
    background-color: #e2e8f0;
    color: #4a5568;
}

.btn-tertiary:hover {
    background-color: #cbd5e0;
    color: #2d3748;
}

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

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    color: #4a5568;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #3182ce;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #4a5568;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8rem 0 4rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

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

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background-color: #f7fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.service-icon i {
    font-size: 3rem;
    color: #3182ce;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2d3748;
}

.service-card p {
    color: #666;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #3182ce;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: #f7fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-icon {
    margin-bottom: 1rem;
}

.testimonial-icon img {
    width: 40px;
    height: 40px;
}

.testimonial-icon i {
    font-size: 2rem;
    color: #3182ce;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
    color: #2d3748;
}

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

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: #fff;
    text-align: center;
}

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

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.privacy-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.privacy-notice input[type="checkbox"] {
    margin: 0;
}

.privacy-notice a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: #3182ce;
    margin-top: 0.25rem;
    min-width: 24px;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.contact-item p {
    margin: 0;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3182ce;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #4a5568;
    color: #fff;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #3182ce;
}

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

.footer-bottom p {
    color: #cbd5e0;
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2d3748;
    color: #fff;
    padding: 1rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-content p {
    margin: 0;
    color: #cbd5e0;
}

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

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

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

.cookie-modal-content {
    background-color: #fff;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.cookie-modal-header h3 {
    margin: 0;
    color: #2d3748;
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

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

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

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

.cookie-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.cookie-toggle input[type="checkbox"] {
    margin-right: 0.5rem;
}

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

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

/* Blog Styles */
.blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6rem 0 3rem;
    text-align: center;
}

.blog-header h1 {
    color: #fff;
    margin-bottom: 1rem;
}

.blog-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.blog-articles {
    padding: 4rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.5rem 1.5rem 0;
}

.article-date,
.article-category {
    font-size: 0.875rem;
    color: #666;
}

.article-category {
    background-color: #e2e8f0;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.article-card h2 {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.article-card h2 a {
    color: #2d3748;
    text-decoration: none;
}

.article-card h2 a:hover {
    color: #3182ce;
}

.article-card p {
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3182ce;
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    color: #2c5282;
}

/* Article Page */
.article-page {
    padding: 6rem 0 2rem;
}

.article-header {
    margin-bottom: 3rem;
}

.breadcrumb {
    margin-bottom: 1rem;
    color: #666;
}

.breadcrumb a {
    color: #3182ce;
}

.article-lead {
    font-size: 1.25rem;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 2rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.article-content li {
    margin-bottom: 0.5rem;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background-color 0.3s ease;
}

.share-btn.linkedin {
    background-color: #0077b5;
    color: #fff;
}

.share-btn.twitter {
    background-color: #1da1f2;
    color: #fff;
}

.share-btn.facebook {
    background-color: #1877f2;
    color: #fff;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Legal Pages */
.legal-page {
    padding: 6rem 0 2rem;
}

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

.legal-header h1 {
    margin-bottom: 0.5rem;
}

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

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

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

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

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

.contact-info {
    background-color: #f7fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #3182ce;
}

/* Cookie Table */
.cookie-table {
    margin: 1.5rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-table th {
    background-color: #f7fafc;
    font-weight: 600;
    color: #2d3748;
}

.cookie-settings-link {
    margin: 2rem 0;
    text-align: center;
}

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

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

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-icon i {
    font-size: 4rem;
    color: #38a169;
}

.thank-you h1 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.thank-you-info {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.thank-you-info h3 {
    margin-bottom: 1rem;
    color: #2d3748;
}

.thank-you-info ul {
    list-style: none;
    text-align: left;
}

.thank-you-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.thank-you-info i {
    color: #3182ce;
    width: 16px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-navigation {
        flex-direction: column;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

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

    .form-group {
        flex-direction: column;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

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

    section {
        padding: 3rem 0;
    }

    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

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

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .share-buttons,
    .article-navigation {
        display: none;
    }

    .article-page,
    .legal-page {
        padding-top: 0;
    }

    * {
        color: #000 !important;
        background-color: #fff !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-card,
    .testimonial-card,
    .article-card {
        border: 2px solid #000;
    }

    .btn-primary {
        background-color: #000;
        border: 2px solid #000;
    }

    .btn-secondary {
        border: 2px solid #000;
        color: #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #3182ce;
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid #2c5282;
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}
