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

/* Header and Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(44, 90, 160, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

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

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

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2C5AA0;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, #2C5AA0 0%, #1e3f73 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.hero-background svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

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

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #FFD700;
    color: #2C5AA0;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #2C5AA0;
    transform: translateY(-2px);
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    color: #2C5AA0;
    margin: 20px 0 15px;
    font-weight: 700;
}

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

/* Company Info Section */
.company-info {
    background: #f8f9fa;
}

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

.company-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.15);
}

.company-card h3 {
    font-size: 1.5rem;
    color: #2C5AA0;
    margin: 20px 0 15px;
}

.company-card p {
    color: #666;
    line-height: 1.8;
}

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

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.1);
}

.service-card h3 {
    font-size: 1.4rem;
    color: #2C5AA0;
    margin: 20px 0 15px;
}

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

/* Guides Section */
.guides {
    background: #f8f9fa;
}

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

.guide-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
    transition: transform 0.3s ease;
}

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

.guide-card h3 {
    font-size: 1.5rem;
    color: #2C5AA0;
    margin: 20px 0 15px;
}

.guide-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.guide-link {
    display: inline-block;
    background: #2C5AA0;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.guide-link:hover {
    background: #1e3f73;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.review-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: #FFD700;
    font-family: serif;
}

.stars {
    margin-bottom: 20px;
}

.review-card p {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;
}

.reviewer strong {
    color: #2C5AA0;
    font-weight: 600;
}

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

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #2C5AA0 0%, #1e3f73 100%);
    color: #fff;
}

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

.newsletter-text h2 {
    font-size: 2.5rem;
    margin: 20px 0 15px;
    color: #fff;
}

.newsletter-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}

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

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.btn-newsletter {
    background: #FFD700;
    color: #2C5AA0;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-newsletter:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

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

.contact-item h4 {
    color: #2C5AA0;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #2C5AA0;
}

.btn-contact {
    background: #2C5AA0;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    justify-self: start;
}

.btn-contact:hover {
    background: #1e3f73;
}

/* Footer */
.footer {
    background: #1a1a1a;
    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-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-section h4 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

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

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

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

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

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
}

/* Cookie Banner and Modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2C5AA0;
    color: #fff;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-text h3 {
    margin-bottom: 10px;
    color: #FFD700;
}

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

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-accept-all {
    background: #FFD700;
    color: #2C5AA0;
}

.btn-necessary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-settings {
    background: #fff;
    color: #2C5AA0;
}

.btn-accept-all:hover,
.btn-settings:hover {
    transform: translateY(-2px);
}

.btn-necessary:hover {
    background: #fff;
    color: #2C5AA0;
}

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

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

.cookie-modal-content {
    background: #fff;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-modal-header h3 {
    color: #2C5AA0;
    font-size: 1.5rem;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.close-modal:hover {
    color: #2C5AA0;
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-category {
    margin-bottom: 30px;
}

.cookie-switch {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.cookie-switch input[type="checkbox"] {
    display: none;
}

.slider {
    position: relative;
    width: 50px;
    height: 25px;
    background: #ccc;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-switch input:checked + .slider {
    background: #2C5AA0;
}

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

.cookie-switch input:disabled + .slider {
    background: #FFD700;
    opacity: 0.7;
}

.cookie-info strong {
    color: #2C5AA0;
    display: block;
    margin-bottom: 5px;
}

.cookie-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-modal-footer {
    padding: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.btn-save {
    background: #2C5AA0;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-save:hover {
    background: #1e3f73;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
    transition: transform 0.3s ease;
}

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

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #2C5AA0 0%, #FFD700 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-content {
    padding: 30px;
}

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

.blog-card h3 {
    color: #2C5AA0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.blog-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-link {
    color: #2C5AA0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Article Page Styles */
.article-header {
    background: linear-gradient(135deg, #2C5AA0 0%, #1e3f73 100%);
    color: #fff;
    padding: 150px 0 80px;
    text-align: center;
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.article-meta {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

.article-content h2 {
    color: #2C5AA0;
    font-size: 2rem;
    margin: 40px 0 20px;
    font-weight: 600;
}

.article-content h3 {
    color: #2C5AA0;
    font-size: 1.5rem;
    margin: 30px 0 15px;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 20px;
    color: #555;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    color: #555;
}

.article-content blockquote {
    background: #f8f9fa;
    border-left: 5px solid #FFD700;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.back-to-blog {
    display: inline-block;
    background: #2C5AA0;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 40px;
    transition: background 0.3s ease;
}

.back-to-blog:hover {
    background: #1e3f73;
}

/* Thanks Page Styles */
.thanks-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f8f9fa;
}

.thanks-content {
    max-width: 600px;
    padding: 60px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.1);
}

.thanks-content h1 {
    color: #2C5AA0;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thanks-content p {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

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

.legal-content h1 {
    color: #2C5AA0;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.legal-content h2 {
    color: #2C5AA0;
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.legal-content h3 {
    color: #2C5AA0;
    font-size: 1.3rem;
    margin: 30px 0 15px;
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

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

.legal-content li {
    margin-bottom: 10px;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-form {
        justify-content: center;
    }
    
    .newsletter-form input {
        min-width: 200px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .services-grid,
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .cookie-modal-content {
        width: 95%;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 20px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    section {
        padding: 40px 0;
    }
}
