/* CSS Variables for Hand-drawn Style */
:root {
    --primary-color: #2ECC71;
    --secondary-color: #27AE60;
    --accent-color: #F39C12;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --background-light: #FEFEFE;
    --background-gray: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #E3E6EA;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --hand-drawn-font: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
}

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

body {
    font-family: var(--hand-drawn-font);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

/* Hand-drawn style animations and effects */
.hand-drawn {
    position: relative;
}

.hand-drawn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transform: rotate(-0.5deg);
    z-index: -1;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    color: var(--text-dark);
}

h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

h3 {
    font-size: 2rem;
    color: var(--text-dark);
}

h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-service, .btn-newsletter, .btn-submit, .btn-save, .btn-close, .btn-accept-all, .btn-necessary, .btn-custom {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #E8F8F5 0%, #D5EDDF 100%);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Page Hero */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

/* Sections */
.about, .services, .testimonials, .newsletter, .contact, .stats, .values, .team, .history, .achievements, .cta, .blog-section, .about-content {
    padding: 80px 0;
}

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

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

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.about-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover::before {
    opacity: 1;
}

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

.about-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Services Section */
.services {
    background: var(--background-gray);
}

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

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

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

.service-icon img {
    width: 80px;
    height: 80px;
}

.service-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.btn-service {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 12px 25px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 1rem;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow-light);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: 1rem;
    left: 2rem;
    opacity: 0.3;
}

.testimonial-content {
    margin-bottom: 2rem;
    font-style: italic;
    padding-top: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #2C3E50, #34495E);
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter p {
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    position: relative;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-dark);
    outline: none;
}

.form-group input::placeholder {
    color: var(--text-light);
}

.btn-newsletter {
    background: var(--accent-color);
    color: var(--white);
    white-space: nowrap;
    padding: 15px 30px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

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

.footer-section a {
    color: #BDC3C7;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495E;
    color: #BDC3C7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 2rem;
    box-shadow: 0 -5px 20px var(--shadow-medium);
    z-index: 10000;
    border-top: 3px solid var(--primary-color);
}

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

.cookie-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-accept-all {
    background: var(--primary-color);
    color: var(--white);
}

.btn-necessary {
    background: var(--text-light);
    color: var(--white);
}

.btn-custom {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.cookie-category {
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

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

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-save {
    background: var(--primary-color);
    color: var(--white);
    flex: 1;
}

.btn-close {
    background: var(--text-light);
    color: var(--white);
    flex: 1;
}

/* About Page Specific Styles */
.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

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

.value-card, .achievement-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.value-card i, .achievement-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow-light);
    text-align: center;
}

.member-photo {
    margin-bottom: 1.5rem;
}

.member-photo i {
    font-size: 4rem;
    color: var(--primary-color);
}

.member-role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    top: -10px;
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow-light);
    margin-left: 60%;
    width: 35%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 5%;
    margin-right: 60%;
}

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

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease;
}

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

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

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-date {
    color: var(--text-light);
}

.blog-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.blog-content h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-content h2 a {
    color: var(--text-dark);
    text-decoration: none;
}

.blog-content h2 a:hover {
    color: var(--primary-color);
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    color: var(--secondary-color);
}

.blog-newsletter {
    background: var(--background-gray);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 4rem;
}

.blog-newsletter h3 {
    margin-bottom: 1rem;
}

.blog-newsletter .newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 1.5rem auto 0;
}

.blog-newsletter input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    outline: none;
}

.blog-newsletter input:focus {
    border-color: var(--primary-color);
}

/* Article Styles */
.article-header {
    padding: 120px 0 60px;
    background: var(--background-gray);
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-meta > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content {
    padding: 4rem 0;
}

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

.featured-image {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.content-wrapper h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-wrapper h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.content-wrapper h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.content-wrapper li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Tables */
.cost-table, .technology-table, .comparison-table, .efficiency-table, .retention-table, .legal-table, .payment-table, .warranty-table, .impact-table, .jobs-table, .materials-table, .cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.cost-table th, .technology-table th, .comparison-table th, .efficiency-table th, .retention-table th, .legal-table th, .payment-table th, .warranty-table th, .impact-table th, .jobs-table th, .materials-table th, .cookies-table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.cost-table td, .technology-table td, .comparison-table td, .efficiency-table td, .retention-table td, .legal-table td, .payment-table td, .warranty-table td, .impact-table td, .jobs-table td, .materials-table td, .cookies-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cost-table tr:hover, .technology-table tr:hover, .comparison-table tr:hover, .efficiency-table tr:hover, .retention-table tr:hover, .legal-table tr:hover, .payment-table tr:hover, .warranty-table tr:hover, .impact-table tr:hover, .jobs-table tr:hover, .materials-table tr:hover, .cookies-table tr:hover {
    background: var(--background-gray);
}

/* Special Content Boxes */
.highlight-box, .prediction-box, .case-study, .investment-case, .roi-calculation, .price-projection, .export-potential, .cta-box {
    background: var(--background-gray);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid var(--primary-color);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

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

.related-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: transform 0.3s ease;
}

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

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

.related-card h4 {
    padding: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.related-card h4 a {
    color: var(--text-dark);
    text-decoration: none;
}

.related-card h4 a:hover {
    color: var(--primary-color);
}

.related-card p {
    padding: 0 1rem 1rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Thanks Page */
.thanks-page {
    padding: 120px 0 80px;
    background: var(--background-gray);
    min-height: 100vh;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.success-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.thanks-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.subscriber-info {
    background: var(--background-gray);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: left;
}

.next-steps {
    margin: 3rem 0;
}

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

.step-card {
    background: var(--background-gray);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.step-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.social-follow {
    margin: 3rem 0;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    margin: 0.5rem;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.facebook {
    background: #1877F2;
    color: var(--white);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #F56040, #E1306C);
    color: var(--white);
}

.social-btn.linkedin {
    background: #0A66C2;
    color: var(--white);
}

.social-btn.youtube {
    background: #FF0000;
    color: var(--white);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--background-gray);
    padding: 1.5rem;
    border-radius: 15px;
}

.contact-method i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
    background: var(--white);
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.document-info {
    background: var(--background-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

.legal-document h2 {
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-document h3 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-document h4 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-footer {
    background: var(--background-gray);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-light);
}

.company-details, .authority-contact {
    background: var(--background-gray);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.cookie-controls {
    background: var(--background-gray);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow-light);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-grid, .about-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }

    .modal-content {
        width: 95%;
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-year {
        left: 20px;
        transform: none;
    }

    .timeline-content {
        margin-left: 60px;
        width: auto;
        margin-right: 0;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .blog-newsletter .newsletter-form {
        flex-direction: column;
    }

    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .thanks-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .about-card, .service-card, .testimonial-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .cookie-banner {
        padding: 1rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .thanks-content {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .steps-grid .step-card {
        padding: 1rem;
    }

    .legal-document {
        padding: 0 1rem;
    }

    table {
        font-size: 0.8rem;
    }

    .cost-table td, .technology-table td, .comparison-table td, .efficiency-table td, .retention-table td, .legal-table td, .payment-table td, .warranty-table td, .impact-table td, .jobs-table td, .materials-table td, .cookies-table td {
        padding: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .cookie-banner, .cookie-modal {
        display: none !important;
    }

    .hero, .page-hero {
        padding: 2rem 0;
    }

    .hero-title, h1 {
        font-size: 2rem;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    a {
        color: var(--text-dark);
        text-decoration: underline;
    }

    .btn-primary, .btn-secondary, .btn-service, .btn-newsletter, .btn-submit {
        background: none;
        color: var(--text-dark);
        border: 1px solid var(--text-dark);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #000000;
        --text-dark: #000000;
        --text-light: #000000;
        --background-light: #ffffff;
        --white: #ffffff;
        --border-color: #000000;
    }
}

/* Dark mode support */
/* @media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #FFFFFF;
        --text-light: #BDC3C7;
        --background-light: #2C3E50;
        --background-gray: #34495E;
        --white: #34495E;
        --border-color: #4A5568;
    }

    .hero {
        background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    }

    .about-card, .service-card, .testimonial-card, .blog-card, .contact-form, .modal-content, .thanks-content {
        background: #34495E;
        color: #FFFFFF;
    }
} */
