/* 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;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

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

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

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

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

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

.btn-secondary {
    background-color: #ecf0f1;
    color: #2c3e50;
    border: 2px solid #bdc3c7;
}

.btn-secondary:hover {
    background-color: #d5dbdb;
    border-color: #95a5a6;
    color: #2c3e50;
    transform: translateY(-2px);
}

.cta-button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* Header and Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    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;
    gap: 12px;
}

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

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

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

.nav-link {
    font-weight: 500;
    color: #555;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #e74c3c;
}

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

/* Banner Section */
.banner {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

.banner-text h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.banner-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

.banner-svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

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

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

.section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: block;
}

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

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

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-card h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

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

.service-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: block;
}

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

/* Testimonials Section */
.testimonials {
    background-color: #f8f9fa;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #e74c3c;
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}

.testimonial-author strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Blog Section */
.blog-preview {
    background-color: #fff;
}

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

.blog-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    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.15);
}

.blog-icon {
    width: 60px;
    height: 60px;
    margin: 1.5rem 1.5rem 1rem;
}

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

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

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

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

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

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

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

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

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

.subscription-form {
    display: grid;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.form-group input:focus {
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

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

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

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    padding: 8px 16px;
    background-color: #3498db;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: #ecf0f1;
    margin-bottom: 1rem;
}

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

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

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    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: 2rem;
}

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

.cookie-buttons button {
    padding: 8px 16px;
    font-size: 14px;
}

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

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

.cookie-option p {
    margin: 0.5rem 0 0 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Blog Pages */
.blog-header {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.articles-grid {
    display: grid;
    gap: 2rem;
}

.article-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-image {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.article-icon {
    width: 80px;
    height: 80px;
}

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

.article-content h2 {
    margin-bottom: 1rem;
}

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

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

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.article-meta .date {
    font-weight: 500;
}

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

.read-more {
    color: #e74c3c;
    font-weight: 500;
    text-decoration: none;
}

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

/* Article Page */
.article-page {
    padding: 2rem 0;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background-color: #f8f9fa;
    border-radius: 10px;
}

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

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-hero-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: block;
}

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

.article-content .lead {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #34495e;
}

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

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

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ecf0f1;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

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

.legal-content h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.last-updated {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #34495e;
}

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

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

.contact-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #3498db;
}

.cookie-table {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.cookie-table h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.cookie-settings-section {
    text-align: center;
    margin: 2rem 0;
}

/* Thank You Page */
.thank-you {
    padding: 4rem 0;
    text-align: center;
}

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

.thank-you-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: block;
}

.thank-you-content h1 {
    color: #27ae60;
    margin-bottom: 1.5rem;
}

.benefits-list {
    text-align: left;
    max-width: 400px;
    margin: 2rem auto;
    list-style-type: none;
}

.benefits-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .banner-text h1 {
        font-size: 2rem;
    }
    
    .info-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .article-content {
        padding: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-nav {
        flex-direction: column;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 60px 0;
        min-height: 500px;
    }
    
    .banner-text h1 {
        font-size: 1.8rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .info-card,
    .service-card,
    .testimonial-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 0.5rem;
        padding: 1.5rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .cookie-banner,
    .modal,
    header,
    footer,
    .article-nav {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
