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

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

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

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

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

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

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

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: #2c5aa0;
}

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

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

.btn-primary:hover {
    background-color: #2c5aa0;
    color: white;
}

.btn-secondary {
    background-color: #718096;
    color: white;
}

.btn-secondary:hover {
    background-color: #4a5568;
    color: white;
}

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

.btn-outline:hover {
    background-color: #3182ce;
    color: white;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px 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;
}

.nav-brand a {
    color: #1a365d;
    text-decoration: none;
}

.nav-brand h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.nav-brand span {
    font-size: 0.9rem;
    color: #718096;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #2d3748;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3182ce;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2d3748;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f7fafc;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a365d;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card i,
.service-card .service-icon {
    font-size: 3rem;
    color: #3182ce;
    margin-bottom: 1rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 1rem;
}

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

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    gap: 2rem;
}

.stat {
    text-align: center;
}

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

.stat p {
    color: #718096;
    font-weight: 500;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: #f7fafc;
}

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

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #f6ad55;
    margin-bottom: 1rem;
}

.reviewer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.reviewer strong {
    color: #1a365d;
}

.reviewer span {
    color: #718096;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background-color: #1a365d;
    color: white;
    text-align: center;
}

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

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 2rem auto 0;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.3);
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i,
.contact-item .contact-icon {
    font-size: 1.5rem;
    color: #3182ce;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.contact-icon {
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #1a365d;
}

.contact-form {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 10px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #1a365d;
    color: white;
    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 {
    color: white;
    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 {
    color: white;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #3182ce;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a img {
    width: 24px;
    height: 24px;
    margin: 8px;
    border-radius: 0;
}

.social-links a:hover {
    background-color: transparent;
}

.social-links a:hover {
    background-color: #2c5aa0;
}

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

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.blog-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-articles {
    padding: 80px 0;
}

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

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.article-image i,
.article-image .article-image-svg {
    font-size: 3rem;
}

.article-image-svg {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto;
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #718096;
}

.article-meta .category {
    background-color: #e2e8f0;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

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

.article-content h2 a {
    color: #1a365d;
    text-decoration: none;
}

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

.read-more {
    color: #3182ce;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Article Page Styles */
.article-page {
    padding: 120px 0 80px;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #718096;
}

.breadcrumb a {
    color: #3182ce;
}

.article-intro {
    font-size: 1.2rem;
    color: #4a5568;
    font-style: italic;
}

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

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

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

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

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

.article-conclusion {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.article-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

.article-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.article-navigation {
    text-align: center;
    margin-top: 3rem;
}

/* Thank You Page Styles */
.thank-you {
    padding: 120px 0 80px;
    text-align: center;
}

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

.thank-you-content i,
.thank-you-content .thank-you-icon {
    font-size: 4rem;
    color: #48bb78;
    margin-bottom: 2rem;
}

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

.thank-you-content h1 {
    color: #1a365d;
    margin-bottom: 1rem;
}

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

/* Legal Content Styles */
.legal-content {
    padding: 120px 0 80px;
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h1 {
    margin-bottom: 2rem;
}

.last-updated {
    color: #718096;
    font-style: italic;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

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

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

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

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

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #718096;
}

/* Cookie Management Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a365d;
    color: white;
    padding: 1rem;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

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

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

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

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.2rem;
}

.cookie-option p {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 0.5rem;
    margin-left: 1.5rem;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.cookie-settings {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

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

.cookie-table {
    overflow-x: auto;
    margin: 1rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 5px;
    overflow: hidden;
}

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

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

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: top 0.3s ease;
        padding: 1rem 0;
    }

    .nav-menu.active {
        top: 100%;
    }

    .nav-menu li {
        padding: 0.5rem 2rem;
    }

    .nav-toggle {
        display: block;
    }

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

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

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

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

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

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

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

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .thank-you-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .services,
    .about,
    .reviews,
    .newsletter,
    .contact,
    .blog-articles {
        padding: 60px 0;
    }

    .cookie-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

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

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .nav-toggle,
    .social-links {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

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

/* Focus styles for keyboard navigation */
*:focus {
    outline: 2px solid #3182ce;
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #3182ce;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }

    .service-card,
    .review-card,
    .article-card {
        border: 2px solid #333;
    }
}
