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

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

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

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

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

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

.btn-tertiary {
    background: #95a5a6;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 3px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

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

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

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

.navigation {
    display: flex;
    gap: 2rem;
}

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

.navigation a:hover,
.navigation a.active {
    color: #e74c3c;
}

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

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}

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

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #000;
}

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

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

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

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

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

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

.service-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #e74c3c;
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

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

/* About Section */
.about-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

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

.about-text h2,
.about-text p {
    color: white;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
}

.stat h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.stat p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: #f8f9fa;
}

.reviews h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.review-card strong {
    color: #000;
}

/* Blog Sections */
.blog-preview,
.blog-articles {
    padding: 80px 0;
    background: #ffffff;
}

.blog-preview h2,
.blog-articles h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.blog-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.blog-card h3 {
    margin-bottom: 0.5rem;
}

.blog-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.read-more:hover {
    color: #c0392b;
}

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

/* Hero sections for other pages */
.about-hero,
.blog-hero {
    background: linear-gradient(135deg, #000, #34495e);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.about-hero-content,
.blog-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-hero h1,
.blog-hero h1 {
    color: white;
    font-size: 3rem;
}

.about-hero p,
.blog-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.about-hero-image img,
.blog-hero-image img {
    width: 100%;
    max-width: 300px;
}

/* Mission, History, Team, Values sections */
.mission,
.history,
.team,
.values {
    padding: 80px 0;
}

.mission {
    background: #f8f9fa;
}

.mission-content,
.team-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-text {
    text-align: left;
    margin-top: 2rem;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e74c3c;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #e74c3c;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    font-weight: 700;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-stat {
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.team-stat h3 {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.value-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

/* Subscription Section */
.subscription,
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #34495e, #000);
    color: white;
    text-align: center;
}

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

.subscription p,
.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

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

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

.subscription-form button,
.newsletter-form button {
    padding: 12px 24px;
}

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

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.contact-item h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

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

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

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Article pages */
.article-header {
    background: #f8f9fa;
    padding: 120px 0 40px;
    margin-top: 70px;
}

.article-breadcrumb {
    margin-bottom: 1rem;
    color: #7f8c8d;
}

.article-breadcrumb a {
    color: #e74c3c;
    text-decoration: none;
}

.article-meta {
    color: #7f8c8d;
    margin-top: 1rem;
}

.article-content {
    padding: 60px 0;
    background: white;
}

.article-image {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.article-intro {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
    border-left: 4px solid #e74c3c;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.article-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.article-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #34495e;
}

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

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

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

.related-articles h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.related-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    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: 1rem 1rem 0.5rem;
    margin-bottom: 0.5rem;
}

.related-card a {
    display: block;
    padding: 0 1rem 1rem;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

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

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

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

.thank-you h1 {
    color: #2ecc71;
    margin-bottom: 1.5rem;
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #555;
}

.thank-you-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    text-align: left;
}

.thank-you-info h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.thank-you-info li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.thank-you-info li svg {
    margin-right: 1rem;
    flex-shrink: 0;
}

.thank-you-contact {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

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

.contact-option {
    display: flex;
    align-items: center;
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-option:hover {
    color: #c0392b;
}

.contact-option svg {
    margin-right: 0.5rem;
}

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

.services-preview {
    padding: 60px 0;
    background: white;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Legal Pages */
.legal-content {
    padding: 120px 0 80px;
    margin-top: 70px;
    background: #f8f9fa;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-updated {
    color: #7f8c8d;
    font-style: italic;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.legal-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.legal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #34495e;
}

.legal-text h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #7f8c8d;
}

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

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

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ecf0f1;
    font-style: italic;
    color: #7f8c8d;
    text-align: center;
}

.cookie-settings-button {
    text-align: center;
    margin-top: 2rem;
}

/* Cookie Banner and Modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    color: white;
    padding: 1rem;
    z-index: 9999;
    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: 2rem;
}

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

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

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

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.cookie-option input {
    margin-right: 1rem;
}

.cookie-option label {
    flex: 1;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navigation {
        gap: 1rem;
    }
    
    .hero-content,
    .about-content,
    .about-hero-content,
    .blog-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        min-width: 60px;
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .subscription-form,
    .newsletter-form {
        flex-direction: column;
    }
    
    .subscription-form input,
    .newsletter-form input {
        min-width: auto;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .sections {
        padding: 60px 0;
    }
    
    .legal-text {
        padding: 2rem 1rem;
    }
    
    .service-card,
    .review-card,
    .blog-card {
        margin: 0 10px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal {
        display: none;
    }
    
    .hero,
    .article-header {
        margin-top: 0;
        padding-top: 40px;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 1px solid #000;
        background: none;
        color: #000;
    }
}
