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

html {
    scroll-behavior: smooth;
}

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;
    margin-bottom: 1rem;
    color: #1a365d;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: #2b6cb0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e4a8c;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #2b6cb0 0%, #1e4a8c 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(43, 108, 176, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 108, 176, 0.3);
    color: white;
}

.btn-secondary {
    background: #718096;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

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

.btn-outline {
    background: transparent;
    color: #2b6cb0;
    padding: 12px 24px;
    border: 2px solid #2b6cb0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #2b6cb0;
    color: white;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 500;
    color: #4a5568;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav a:hover {
    color: #2b6cb0;
    border-bottom-color: #2b6cb0;
}

.header-contact {
    font-weight: 600;
    color: #2b6cb0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 120px 0 80px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

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

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 3rem;
    text-align: center;
}

/* Companies Section */
.companies {
    background: #f7fafc;
}

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

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

.company-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

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

.company-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

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

.company-card ul {
    list-style: none;
    margin-top: 1rem;
}

.company-card li {
    padding: 0.5rem 0;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.company-card li:last-child {
    border-bottom: none;
}

.company-card li:before {
    content: "✓";
    color: #38a169;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid #2b6cb0;
}

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

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

/* Blog Section */
.blog {
    background: #f7fafc;
}

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

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

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

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

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

.blog-content h3 a {
    color: #1a365d;
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: #2b6cb0;
}

.read-more {
    color: #2b6cb0;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #2b6cb0;
}

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

.testimonial-author strong {
    color: #1a365d;
    display: block;
    margin-bottom: 0.25rem;
}

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

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
    color: white;
    text-align: center;
}

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

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 12px;
}

.contact-item h3 {
    color: #2b6cb0;
    margin-bottom: 1rem;
}

.social-media {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.social-links a {
    padding: 10px 20px;
    background: #2b6cb0;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #1e4a8c;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a365d;
    color: white;
    padding: 60px 0 20px;
}

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

.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;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

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

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

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

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

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

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    justify-content: center;
    align-items: center;
}

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

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

.close {
    float: right;
    font-size: 2rem;
    cursor: pointer;
    color: #718096;
}

.close:hover {
    color: #1a365d;
}

.cookie-category {
    margin: 1rem 0;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

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

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

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

/* Legal Pages */
.legal-content {
    padding: 120px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

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

.last-updated {
    color: #718096;
    font-style: italic;
    margin-bottom: 2rem;
}

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

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

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

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

.contact-box {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #2b6cb0;
}

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

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

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.next-steps {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: left;
}

.next-steps ul {
    list-style: none;
}

.next-steps li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

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

/* Article Pages */
.article-content {
    padding: 120px 0 80px;
}

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

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0 2rem;
    color: #718096;
    flex-wrap: wrap;
}

.article-hero-image {
    width: 200px;
    height: 200px;
    margin: 2rem auto;
    display: block;
}

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

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

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

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

.article-body ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

.highlight-box {
    background: #e6fffa;
    border-left: 4px solid #38b2ac;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.expert-quote {
    background: #fed7d7;
    border-left: 4px solid #e53e3e;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.expert-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.expert-quote cite {
    font-weight: 600;
    color: #2d3748;
}

.article-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.article-tags {
    margin-bottom: 1rem;
}

.tag {
    background: #e2e8f0;
    color: #2d3748;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    display: inline-block;
}

.article-share {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.article-share a {
    background: #2b6cb0;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.article-share a:hover {
    background: #1e4a8c;
}

.related-articles {
    background: #f7fafc;
    padding: 60px 0;
}

/* Cookie Policy Tables */
.cookie-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .nav {
        display: none;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .company-grid,
    .services-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .thank-you-actions {
        flex-direction: column;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .company-card,
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .legal-content {
        padding: 100px 0 60px;
    }
    
    .thank-you {
        padding: 100px 0 60px;
    }
    
    .article-content {
        padding: 100px 0 60px;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .social-media,
    .article-share,
    .related-articles {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .article-content {
        padding: 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
    }
    
    .highlight-box,
    .expert-quote {
        break-inside: avoid;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2b6cb0;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
