/* 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;
}

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

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-submit, .btn-accept-all, .btn-necessary, .btn-settings, .btn-save, .btn-cancel {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary, .btn-submit, .btn-accept-all, .btn-save {
    background-color: #2c5aa0;
    color: #fff;
}

.btn-primary:hover, .btn-submit:hover, .btn-accept-all:hover, .btn-save:hover {
    background-color: #1e3d6f;
    transform: translateY(-2px);
}

.btn-secondary, .btn-necessary, .btn-settings, .btn-cancel {
    background-color: #f8f9fa;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-secondary:hover, .btn-necessary:hover, .btn-settings:hover, .btn-cancel:hover {
    background-color: #2c5aa0;
    color: #fff;
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c5aa0;
    color: #fff;
    padding: 20px;
    z-index: 1000;
    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-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-buttons button {
    margin: 5px;
}

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

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

.cookie-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
}

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

/* 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: 999;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

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

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

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: #333;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav a:hover {
    color: #2c5aa0;
}

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

.nav a:hover::after {
    width: 100%;
}

.header-contact .phone-link {
    background-color: #2c5aa0;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
}

.header-contact .phone-link:hover {
    background-color: #1e3d6f;
}

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

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

.hero-text h1 {
    color: #2c5aa0;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

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

/* Services Section */
.services {
    background-color: #f8f9fa;
}

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

.service-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 60px;
    height: 60px;
}

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

.service-card p {
    color: #666;
    line-height: 1.6;
}

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

.about-text h2 {
    color: #2c5aa0;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.about-features {
    list-style: none;
}

.about-features li {
    color: #666;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    gap: 30px;
}

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

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

.stat-label {
    color: #666;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    background-color: #f8f9fa;
}

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

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    margin-bottom: 20px;
}

.testimonial-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

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

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

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

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

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

.blog-icon {
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
}

.blog-icon img {
    width: 50px;
    height: 50px;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin-bottom: 10px;
}

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

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

.blog-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

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

.blog-link:hover {
    color: #1e3d6f;
}

/* Contact Section */
.contact {
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 20px;
}

.contact-icon img {
    width: 40px;
    height: 40px;
}

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

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

.contact-item a {
    color: #2c5aa0;
}

.contact-item a:hover {
    color: #1e3d6f;
}

/* Contact Form */
.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

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

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

/* Footer */
.footer {
    background-color: #2c5aa0;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

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

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

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

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

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

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

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

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

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

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

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

.legal-content ul li, .legal-content ol li {
    margin-bottom: 8px;
    color: #666;
}

.legal-actions {
    margin-top: 40px;
    text-align: center;
}

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

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

.thank-you-icon {
    margin-bottom: 30px;
}

.thank-you h1 {
    color: #2c5aa0;
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.confirmation-details {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: left;
}

.confirmation-details h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
}

.confirmation-details p {
    margin-bottom: 10px;
    color: #333;
}

.thank-you-actions {
    margin: 40px 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-reminder {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.contact-reminder h3 {
    color: #856404;
    margin-bottom: 10px;
}

.contact-reminder p {
    color: #856404;
    margin: 0;
}

/* Blog Article Pages */
.blog-article {
    padding: 120px 0 80px;
    margin-top: 70px;
}

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

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

.article-date {
    background-color: #f8f9fa;
    padding: 5px 10px;
    border-radius: 15px;
}

.article-category {
    background-color: #2c5aa0;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
}

.article-intro {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.article-image img {
    width: 100px;
    height: 100px;
}

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

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

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

.article-content h4 {
    color: #555;
    margin-top: 25px;
    margin-bottom: 12px;
}

.article-content ul, .article-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.article-content ul li, .article-content ol li {
    margin-bottom: 8px;
    color: #666;
}

.article-cta {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.article-cta h3 {
    color: #fff;
    margin-bottom: 15px;
}

.article-cta p {
    color: #ccc;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: #fff;
    color: #2c5aa0;
}

.cta-buttons .btn-primary:hover {
    background-color: #f8f9fa;
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-buttons .btn-secondary:hover {
    background-color: #fff;
    color: #2c5aa0;
}

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

.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.nav-back {
    color: #2c5aa0;
    font-weight: 600;
}

.nav-back:hover {
    color: #1e3d6f;
}

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

.article-share span {
    color: #666;
    font-weight: 600;
}

.share-link {
    color: #2c5aa0;
    font-size: 0.9rem;
    padding: 5px 10px;
    border: 1px solid #2c5aa0;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.share-link:hover {
    background-color: #2c5aa0;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .article-share {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .service-card,
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .legal-page,
    .thank-you,
    .blog-article {
        padding: 100px 0 60px;
    }
}

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

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .testimonial-card,
    .blog-card {
        border: 2px solid #333;
    }
}
