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

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2c5aa0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e4080;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #2c5aa0;
    text-decoration: none;
    border: 2px solid #2c5aa0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    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;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.btn-cookie {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-cookie.accept {
    background-color: #4CAF50;
    color: white;
}

.btn-cookie.accept:hover {
    background-color: #45a049;
}

.btn-cookie.necessary {
    background-color: #ff9800;
    color: white;
}

.btn-cookie.necessary:hover {
    background-color: #e68900;
}

.btn-cookie.custom {
    background-color: #2196F3;
    color: white;
}

.btn-cookie.custom:hover {
    background-color: #1976D2;
}

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

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

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

.cookie-option {
    margin: 15px 0;
}

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

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    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: 100;
}

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

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

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

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

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

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

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
    color: white;
    padding: 80px 0;
}

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

.banner-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

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

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #2c5aa0;
}

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

.service-card {
    background-color: white;
    padding: 40px;
    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-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

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

/* About Preview */
.about-preview {
    padding: 80px 0;
}

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

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

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

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

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

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #2c5aa0;
}

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

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

.testimonial-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-card h4 {
    color: #2c5aa0;
    font-weight: 600;
}

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

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    min-width: 200px;
}

.newsletter-form button {
    padding: 12px 24px;
    background-color: #fff;
    color: #2c5aa0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Blog Preview */
.blog-preview {
    padding: 80px 0;
}

.blog-preview h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #2c5aa0;
}

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

.blog-card {
    background-color: 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 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

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

.blog-category {
    background-color: #2c5aa0;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

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

.blog-card h2 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

.read-more {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1e4080;
}

.blog-more {
    text-align: center;
}

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

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #2c5aa0;
}

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

.contact-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.contact-info img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

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

.contact-details p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.social-links h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
}

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

.social-icons a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2c5aa0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #1e4080;
    transform: translateY(-2px);
}

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

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

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

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

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

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

.footer-section a:hover {
    color: #2c5aa0;
}

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

/* Page Header */
.page-header {
    background-color: #2c5aa0;
    color: white;
    padding: 60px 0;
    text-align: center;
}

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

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Detail */
.about-detail {
    padding: 80px 0;
}

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

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

.about-text ul {
    margin-bottom: 30px;
}

.about-text li {
    margin-bottom: 10px;
}

/* History */
.history {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.history h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #2c5aa0;
}

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

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.timeline-year {
    background-color: #2c5aa0;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    color: #2c5aa0;
    margin-bottom: 10px;
}

/* Team */
.team {
    padding: 80px 0;
}

.team h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #2c5aa0;
}

.team > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.value-item {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.value-item h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

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

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

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

.article-category {
    background-color: #2c5aa0;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

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

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

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

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

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

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

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

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

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

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

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

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

.thanks-icon img {
    width: 100px;
    height: 100px;
}

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

.thanks-info {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: left;
}

.thanks-info h2 {
    color: #2c5aa0;
    margin-bottom: 20px;
    text-align: center;
}

.thanks-info ul {
    list-style: none;
    padding: 0;
}

.thanks-info li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.thanks-info li:last-child {
    border-bottom: none;
}

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

.thanks-social {
    margin-bottom: 40px;
}

.thanks-social h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2c5aa0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #1e4080;
    transform: translateY(-2px);
}

/* Recommended Content */
.recommended-content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.recommended-content h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #2c5aa0;
}

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

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

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

.content-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

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

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

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

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

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

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

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

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

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

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

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

.cookie-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.cookie-settings {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.cookie-settings h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .banner-text h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-detail .about-content {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        min-width: auto;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-year {
        align-self: flex-start;
    }
    
    .team-values {
        grid-template-columns: 1fr;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thanks-actions .btn-primary,
    .thanks-actions .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-buttons .btn-cookie {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .banner-text h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services h2,
    .testimonials h2,
    .newsletter h2,
    .blog-preview h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card,
    .value-item,
    .content-card {
        padding: 20px;
    }
    
    .newsletter {
        padding: 60px 0;
    }
    
    .newsletter-form {
        gap: 10px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .thanks-icon img {
        width: 80px;
        height: 80px;
    }
}
