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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

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

.btn-outline:hover {
    background-color: #3498db;
    color: white;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.nav {
    display: flex;
    gap: 30px;
}

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

.nav a:hover,
.nav a.active {
    color: #3498db;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 80px;
}

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

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

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

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

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

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

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

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

.services h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

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

.service-item {
    background: white;
    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-item:hover {
    transform: translateY(-5px);
}

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

.service-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

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

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

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

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

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

/* Company Info */
.company-info {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.info-text h2 {
    margin-bottom: 30px;
}

.info-text p {
    margin-bottom: 20px;
    color: #555;
}

.info-image img {
    width: 100%;
    max-width: 400px;
}

/* Mission Section */
.mission {
    padding: 80px 0;
}

.mission h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

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

.mission-item {
    text-align: center;
    padding: 30px;
}

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

.mission-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

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

.history h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

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

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
    height: fit-content;
}

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

.timeline-content p {
    color: #555;
}

/* Values Section */
.values {
    padding: 80px 0;
}

.values h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

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

.value-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

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

.value-item p {
    color: #555;
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.team h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.team p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: #555;
}

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

.blog-preview h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

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

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

.blog-content {
    padding: 30px;
}

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

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

.blog-content h3 a:hover {
    color: #3498db;
}

.blog-content p {
    color: #555;
    margin-bottom: 15px;
}

.date {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.blog-more {
    text-align: center;
    margin-top: 60px;
}

/* Blog Articles */
.blog-articles {
    padding: 80px 0;
}

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

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

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

.article-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.article-content {
    padding: 30px;
}

.article-date {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.article-content h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.article-content h2 a {
    color: #2c3e50;
}

.article-content h2 a:hover {
    color: #3498db;
}

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

.read-more {
    color: #3498db;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Blog Categories */
.blog-categories {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.blog-categories h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

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

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

.category-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.category-item h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.category-item p {
    color: #555;
}

/* Article Page */
.article-page {
    padding: 80px 0;
    margin-top: 80px;
}

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

.article-header .article-date {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.article-lead {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

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

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

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

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

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

.article-footer {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.article-tags {
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    background-color: #ecf0f1;
    color: #2c3e50;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

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

.article-share span {
    font-weight: 500;
}

.article-share a {
    color: #3498db;
    text-decoration: underline;
}

/* Related Articles */
.related-articles {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

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

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

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

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card h3 {
    padding: 20px;
    margin-bottom: 0;
}

.related-card h3 a {
    color: #2c3e50;
}

.related-card h3 a:hover {
    color: #3498db;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

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

.testimonial-item {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

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

.testimonial-item blockquote {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-item blockquote p {
    color: #555;
}

.testimonial-item cite {
    font-weight: 500;
    color: #2c3e50;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 20px;
    color: white;
}

.newsletter p {
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

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

.contact h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

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

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

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

.contact-details h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-details p {
    margin-bottom: 10px;
    color: #555;
}

.social-links {
    text-align: center;
}

.social-links h3 {
    margin-bottom: 30px;
    color: #2c3e50;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    display: block;
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons img {
    width: 100%;
    height: 100%;
}

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

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

.footer-section h3 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #bdc3c7;
}

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

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

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

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

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

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

.legal-page h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

.last-updated {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 60px;
}

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

.legal-section h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.legal-section h3 {
    margin-bottom: 15px;
    color: #34495e;
}

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

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

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

.legal-section strong {
    color: #2c3e50;
}

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

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

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

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

.thanks-message {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.thanks-details h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.thanks-details ul {
    list-style: none;
}

.thanks-details li {
    margin-bottom: 15px;
    color: #555;
}

.thanks-details strong {
    color: #2c3e50;
}

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

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

.related-content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.related-content h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

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

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

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

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

.related-content .related-item h3 {
    margin-bottom: 15px;
}

.related-content .related-item h3 a {
    color: #2c3e50;
}

.related-content .related-item h3 a:hover {
    color: #3498db;
}

.related-content .related-item p {
    color: #555;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    z-index: 1000;
    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: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
}

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

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

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

.modal.show {
    display: block;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 40px;
    border: none;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h3 {
    margin-bottom: 30px;
    color: #2c3e50;
}

.cookie-option {
    margin-bottom: 20px;
}

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

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

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-controls {
    text-align: center;
    margin: 40px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .info-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .article-share {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .mission-grid,
    .values-grid,
    .blog-grid,
    .articles-grid,
    .categories-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year {
        align-self: start;
    }
}
