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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

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

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

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background-color: #f8fafc;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

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

.btn-outline:hover {
    background-color: #667eea;
    color: white;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding-left: 32px;
    padding-right: 32px;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1e293b;
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

.hero-image img {
    width: 100%;
    height: auto;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-header h2 {
    color: #1e293b;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: #667eea;
}

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

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #64748b;
    font-weight: 500;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: #f8fafc;
}

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

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    width: 80px;
    height: 80px;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-date {
    color: #64748b;
}

.blog-category {
    color: #667eea;
    font-weight: 500;
}

.blog-content h3 {
    margin-bottom: 1rem;
}

.blog-content h3 a {
    color: #1e293b;
}

.blog-content h3 a:hover {
    color: #667eea;
}

.read-more {
    color: #667eea;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

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

.contact-details {
    margin-top: 2rem;
}

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

.contact-item svg {
    width: 24px;
    height: 24px;
    color: #667eea;
    margin-top: 4px;
}

.contact-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

/* Footer */
.footer {
    background-color: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand .brand-text {
    color: white;
}

.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: #94a3b8;
    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: block;
    width: 40px;
    height: 40px;
    background-color: #334155;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #667eea;
}

.social-links img {
    width: 20px;
    height: 20px;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content h3 {
    color: white;
    margin-bottom: 1rem;
}

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

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

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

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

.cookie-categories {
    margin: 1.5rem 0;
}

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

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Page Header (for subpages) */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

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

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

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

/* About Page Styles */
.about-page {
    padding: 80px 0;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-section.reverse {
    direction: rtl;
}

.about-section.reverse > * {
    direction: ltr;
}

.about-image svg {
    width: 100%;
    height: auto;
    max-width: 400px;
}

.values-section {
    margin-bottom: 6rem;
}

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

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

.value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: #667eea;
}

.team-section {
    margin-bottom: 6rem;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.team-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.expertise-areas h3 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.expertise-item {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #64748b;
}

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

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

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

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    min-width: 80px;
}

.timeline-content h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

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

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Thanks Page */
.thanks-page {
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

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

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-icon svg {
    width: 100px;
    height: 100px;
}

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.thanks-details {
    margin-bottom: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.thanks-info {
    margin-bottom: 3rem;
}

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

.thanks-actions {
    margin-bottom: 3rem;
}

.thanks-actions .btn {
    margin: 0 0.5rem;
}

.social-follow h3 {
    margin-bottom: 1rem;
}

.social-follow p {
    margin-bottom: 1.5rem;
}

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

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

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

.legal-section h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.legal-section h3 {
    color: #374151;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-section h4 {
    color: #4b5563;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

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

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

.contact-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.cookie-table {
    margin: 2rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

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

.cookie-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #374151;
}

/* Article Styles */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 80px;
}

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

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-read-time {
    opacity: 0.8;
}

.article-header h1 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.article-excerpt {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.article-author {
    margin-bottom: 2rem;
}

.author-info h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.author-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.article-content {
    padding: 80px 0;
}

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

.article-body {
    max-width: none;
}

.article-body .lead {
    font-size: 1.2rem;
    color: #374151;
    font-weight: 500;
    margin-bottom: 2rem;
}

.article-body h2 {
    color: #1e293b;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.article-body h3 {
    color: #374151;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-body h4 {
    color: #4b5563;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-body ul,
.article-body ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

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

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

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

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.related-article {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.related-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-article img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.related-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.related-content h4 a {
    color: #1e293b;
}

.related-content h4 a:hover {
    color: #667eea;
}

.related-date {
    font-size: 0.9rem;
    color: #64748b;
}

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

.share-btn {
    width: 40px;
    height: 40px;
    background-color: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.share-btn:hover {
    background-color: #e2e8f0;
}

.share-btn img {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .about-section.reverse {
        direction: ltr;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

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

    .about-stats,
    .team-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

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

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

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

    .article-sidebar {
        position: static;
    }

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

    .contact-info-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .thanks-actions .btn {
        display: block;
        margin: 0.5rem 0;
    }

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-year {
        min-width: auto;
    }
}

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

    h1 {
        font-size: 2rem;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card,
    .contact-form,
    .sidebar-section {
        padding: 1.5rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .article-excerpt {
        font-size: 1.1rem;
    }
}

/* Animation utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

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

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