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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #2E5266;
    margin-bottom: 1rem;
}

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

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

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

a {
    color: #4A90A4;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2E5266;
}

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

.btn-primary {
    background-color: #4A90A4;
    color: white;
}

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

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

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

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

.btn-outline:hover {
    background-color: #4A90A4;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2E5266;
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

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

.cookie-content h3 {
    color: white;
    margin-bottom: 10px;
}

.cookie-content p {
    color: #E8F4FD;
    margin-bottom: 15px;
}

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

.cookie-buttons .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E5266;
    text-decoration: none;
}

.nav-brand .logo svg {
    margin-right: 10px;
}

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

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a.active {
    color: #FFA500;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2E5266;
    margin: 3px 0;
    transition: 0.3s;
}

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

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

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

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

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

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

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

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

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

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

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

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background-color: #F8FFFE;
    border: 1px solid #E8F4FD;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

/* About Section */
.about {
    padding: 80px 0;
    background-color: #F8FFFE;
}

.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: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFA500;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

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

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

.review-card {
    background-color: #F8FFFE;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #FFA500;
}

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

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

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

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

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

.newsletter-content p {
    color: #E8F4FD;
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.newsletter-form small {
    color: #E8F4FD;
    font-size: 0.9rem;
}

.newsletter-form small a {
    color: #FFA500;
}

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

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

.contact-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.contact-card h3 {
    color: #2E5266;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FFA500;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info a {
    color: #4A90A4;
    font-weight: 600;
}

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

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

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

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

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-content-text {
    padding: 1.5rem;
}

.blog-date {
    color: #FFA500;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-card h2 {
    margin: 0.5rem 0 1rem 0;
    font-size: 1.3rem;
}

.blog-card h2 a {
    color: #2E5266;
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: #4A90A4;
}

.read-more {
    color: #4A90A4;
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    color: #2E5266;
}

/* Article Styles */
.article {
    padding: 40px 0 80px 0;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: #666;
}

.breadcrumb a {
    color: #4A90A4;
}

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

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

.article-date {
    color: #FFA500;
    font-weight: 600;
    font-size: 0.9rem;
}

.article-lead {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    line-height: 1.7;
}

.article-image {
    margin: 2rem 0;
    text-align: center;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FFA500;
}

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

.article-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

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

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

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

.article-cta h3 {
    color: #2E5266;
    margin-bottom: 1rem;
}

.article-sidebar {
    max-width: 300px;
    position: sticky;
    top: 120px;
}

.related-articles {
    background-color: #F8FFFE;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #E8F4FD;
}

.related-articles h3 {
    margin-bottom: 1rem;
    color: #2E5266;
}

.related-articles ul {
    list-style: none;
}

.related-articles li {
    margin-bottom: 0.5rem;
}

.related-articles a {
    color: #4A90A4;
    text-decoration: none;
    font-size: 0.9rem;
}

.related-articles a:hover {
    color: #2E5266;
}

/* Thank You Page */
.thank-you {
    padding: 80px 0;
    background: linear-gradient(135deg, #E8F4FD 0%, #FFF8E1 100%);
}

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

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you h1 {
    font-size: 3rem;
    color: #2E5266;
    margin-bottom: 0.5rem;
}

.thank-you h2 {
    color: #4A90A4;
    margin-bottom: 2rem;
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.thank-you-list {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 3rem auto;
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.thank-you-list li {
    margin-bottom: 0.5rem;
    color: #555;
}

.thank-you-next-steps {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background-color: #FFA500;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: #2E5266;
}

.step-content p {
    font-size: 0.9rem;
    color: #666;
}

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

.thank-you-contact {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-item strong {
    color: #2E5266;
}

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

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

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2E5266;
}

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

.legal-subtitle {
    color: #4A90A4;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FFA500;
    color: #2E5266;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #4A90A4;
}

.legal-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2E5266;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

.company-info {
    background-color: #F8FFFE;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #FFA500;
    margin: 1.5rem 0;
    font-style: normal;
}

.contact-details {
    background-color: #F8FFFE;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.cookie-settings-panel {
    background: linear-gradient(135deg, #E8F4FD 0%, #FFF8E1 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.cookie-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

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

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

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

.cookie-table tbody tr:hover {
    background-color: #F8FFFE;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo svg {
    margin-right: 10px;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #E8F4FD;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #E8F4FD;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: #FFA500;
}

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

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

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

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

/* 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-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #E8F4FD;
    border-radius: 8px;
}

.cookie-category h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #4A90A4;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .article {
        padding: 20px 0 60px 0;
    }
    
    .article .container {
        display: block;
    }
    
    .article-content {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .article-sidebar {
        position: static;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .thank-you h1 {
        font-size: 2rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .cookie-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .cookie-banner, .newsletter {
        display: none;
    }
    
    .article-cta {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }
    
    .service-card, .review-card, .contact-card {
        border: 2px solid #2E5266;
    }
}

/* Reduced Motion */
@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 */
.btn:focus,
input:focus,
a:focus {
    outline: 2px solid #FFA500;
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
