/* 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 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

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

a:hover {
    color: #004499;
}

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

.btn-primary {
    background-color: #0066cc;
    color: white;
}

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

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

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

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

.btn-outline:hover {
    background-color: #0066cc;
    color: white;
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
}

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

.nav-menu a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: #0066cc;
}

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

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

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    color: #0066cc;
    margin-bottom: 1.5rem;
}

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

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

.hero-graphic svg {
    width: 100%;
    height: auto;
    max-width: 500px;
}

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

.services h2 {
    text-align: center;
    color: #0066cc;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 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;
}

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

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

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

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

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

.about h2 {
    color: #0066cc;
    margin-bottom: 2rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

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

.about-graphic svg {
    width: 100%;
    height: auto;
}

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

.reviews h2 {
    text-align: center;
    color: #0066cc;
    margin-bottom: 3rem;
}

.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);
}

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: #0066cc;
    margin-top: 1rem;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
}

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

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

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.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(255,255,255,0.3);
}

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

.contact h2 {
    text-align: center;
    color: #0066cc;
    margin-bottom: 3rem;
}

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

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

.contact-icon {
    color: #0066cc;
}

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

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
footer {
    background-color: #333;
    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 {
    margin-bottom: 1rem;
    color: #0066cc;
}

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

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

.footer-section a {
    color: #ccc;
}

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

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

.social-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0066cc;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    padding: 1rem;
    z-index: 10000;
    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: 2rem;
}

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

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

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

.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-category {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

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

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

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

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

/* Thanks Page */
.thanks-page {
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

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

.thanks-content h1 {
    color: #28a745;
    margin-bottom: 1.5rem;
}

.thanks-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-info-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.contact-info-summary h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    text-align: center;
}

/* Blog Styles */
.blog-header {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    padding: 120px 0 80px;
    text-align: center;
}

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

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

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

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

.blog-card-content {
    padding: 2rem;
}

.blog-card h3 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.blog-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.blog-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    color: #0066cc;
    font-weight: 500;
}

.read-more:hover {
    color: #004499;
}

/* Article Styles */
.article-header {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    padding: 120px 0 80px;
}

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

.article-content h1 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.article-meta {
    color: #666;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

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

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

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

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

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #0066cc;
}

.back-to-blog:hover {
    color: #004499;
}

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

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

.legal-content h1 {
    color: #0066cc;
    margin-bottom: 2rem;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem 15px;
    }
    
    .hero,
    .services,
    .about,
    .reviews,
    .newsletter,
    .contact {
        padding: 60px 0;
    }
    
    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .review-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
