/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 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;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: #1a3a6b;
}

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

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

.btn-primary:hover {
    background-color: #1a3a6b;
    color: white;
}

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

.btn-secondary:hover {
    background-color: #545b62;
    color: white;
}

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

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

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

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

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

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: #2c5aa0;
}

/* Main content offset for fixed header */
body {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

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

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

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

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

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

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

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

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

.section-header h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

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

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

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

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

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

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text ul {
    list-style: none;
    padding-left: 0;
}

.about-text li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
}

.about-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.stat h3 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.stat p {
    color: #666;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: #f8f9fa;
    padding: 80px 0;
}

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

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
}

.testimonial-author strong {
    color: #2c5aa0;
}

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

/* Newsletter Section */
.newsletter {
    background-color: #2c5aa0;
    color: white;
    padding: 80px 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-text h2 {
    color: white;
    margin-bottom: 20px;
}

.newsletter-text p {
    color: rgba(255,255,255,0.9);
}

.newsletter-form {
    display: grid;
    gap: 15px;
}

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

.newsletter-form button {
    padding: 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #218838;
}

/* Blog Section */
.blog {
    padding: 80px 0;
}

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

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

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card {
    padding: 30px;
}

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

.blog-card h3 a {
    color: #2c5aa0;
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: #1a3a6b;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.blog-date {
    color: #999;
}

.blog-link {
    color: #2c5aa0;
    font-weight: 600;
}

/* Contact Section */
.contact {
    background-color: #f8f9fa;
    padding: 80px 0;
}

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

.contact-item h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

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

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

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

.footer-section h4 {
    color: #2c5aa0;
    margin-bottom: 20px;
}

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

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

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

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

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: rgba(255,255,255,0.8);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

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

/* Legal Pages */
.legal-page {
    padding: 40px 0 80px;
}

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

.legal-content h1 {
    color: #2c5aa0;
    margin-bottom: 10px;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 40px;
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content h2 {
    color: #2c5aa0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.legal-content h3 {
    color: #333;
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

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

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

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

.thanks-icon {
    margin-bottom: 30px;
}

.thanks-content h1 {
    color: #2c5aa0;
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.thanks-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Blog Pages */
.blog-page {
    padding: 40px 0 80px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: block;
}

.page-header h1 {
    color: #2c5aa0;
    margin-bottom: 20px;
}

.page-header p {
    color: #666;
    font-size: 1.2rem;
}

.blog-articles {
    display: grid;
    gap: 40px;
}

.blog-article {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 40px;
}

.article-header h2 {
    margin-bottom: 15px;
}

.article-header h2 a {
    color: #2c5aa0;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.article-category {
    background-color: #f8f9fa;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.article-excerpt {
    color: #666;
    margin-bottom: 20px;
}

.read-more {
    color: #2c5aa0;
    font-weight: 600;
}

/* Article Pages */
.article-page {
    padding: 40px 0 80px;
}

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

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #2c5aa0;
}

.article-header {
    margin-bottom: 40px;
}

.article-header h1 {
    color: #2c5aa0;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
}

.article-body {
    line-height: 1.8;
}

.article-lead {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.article-body h2 {
    color: #2c5aa0;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body h3 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f8f9fa;
}

.article-tags {
    margin-bottom: 30px;
}

.tag {
    background-color: #f8f9fa;
    color: #2c5aa0;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 10px;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-btn {
    background-color: #2c5aa0;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.share-btn:hover {
    background-color: #1a3a6b;
    color: white;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.nav-btn {
    background-color: #f8f9fa;
    color: #2c5aa0;
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: #e9ecef;
    color: #1a3a6b;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    padding: 20px;
    z-index: 1000;
    display: none;
}

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

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

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

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

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

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

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

.modal-content h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
}

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f8f9fa;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cookie-category input[type="checkbox"] {
    transform: scale(1.2);
}

.cookie-category p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        padding: 1rem 15px;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .article-share {
        flex-wrap: wrap;
    }
    
    .article-meta {
        flex-wrap: wrap;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .blog-card,
    .testimonial,
    .blog-article {
        padding: 20px;
    }
    
    .newsletter-form {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}
