/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

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

.btn-outline:hover {
    background-color: #2563eb;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

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

.cookie-consent h3 {
    margin-bottom: 10px;
}

.cookie-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #6b7280;
}

.close:hover {
    color: #1f2937;
}

.cookie-category {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 5px;
}

.cookie-category input {
    margin-right: 10px;
}

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

.navbar {
    padding: 15px 0;
}

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

.nav-logo {
    text-decoration: none;
}

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

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

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

.nav-link:hover {
    color: #2563eb;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.stat-label {
    font-weight: 600;
    color: #6b7280;
}

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

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

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

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

.service-icon {
    margin-bottom: 24px;
}

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

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.service-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: #374151;
    position: relative;
    padding-left: 20px;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

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

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

.pricing-card.featured {
    border: 3px solid #2563eb;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2563eb;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f2937;
}

.pricing-price {
    margin-bottom: 30px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
}

.period {
    color: #6b7280;
    font-size: 1rem;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.pricing-features li:last-child {
    border-bottom: none;
}

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

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

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

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

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
}

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

.author-info h4 {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.author-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

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

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

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

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #6b7280;
}

.blog-category {
    background-color: #e5e7eb;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f2937;
    line-height: 1.3;
}

.blog-excerpt {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #1d4ed8;
}

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

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

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1f2937;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
    line-height: 1.6;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background-color: #f9fafb;
    padding: 40px;
    border-radius: 15px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1f2937;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.error-message {
    color: #dc2626;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

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

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

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

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

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

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

    .nav-menu li {
        margin: 15px 0;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .cookie-buttons .btn {
        width: 200px;
    }
}

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

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

    .services-grid,
    .pricing-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
    }

    .container {
        padding: 0 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Legal pages styling */
.legal-page {
    padding: 120px 0 80px 0;
    min-height: 100vh;
}

.legal-page .container {
    max-width: 800px;
}

.legal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.legal-page h1 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 20px;
    text-align: center;
}

.legal-page h2 {
    font-size: 1.8rem;
    color: #374151;
    margin: 30px 0 15px 0;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.legal-page h3 {
    font-size: 1.4rem;
    color: #4b5563;
    margin: 25px 0 12px 0;
}

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

.legal-page ul, .legal-page ol {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

.legal-page li {
    margin-bottom: 8px;
    color: #374151;
}

.legal-page strong {
    color: #1f2937;
    font-weight: 600;
}

.legal-page .contact-info {
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid #2563eb;
}

/* Blog post styling */
.blog-post {
    padding: 120px 0 80px 0;
    min-height: 100vh;
}

.blog-post .container {
    max-width: 800px;
}

.blog-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
}

.blog-post h1 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #6b7280;
    font-size: 0.9rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-description {
    font-size: 1.1rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 30px;
}

.blog-image {
    text-align: center;
    margin: 30px 0;
}

.blog-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post h2 {
    font-size: 1.8rem;
    color: #374151;
    margin: 35px 0 20px 0;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.blog-post h3 {
    font-size: 1.4rem;
    color: #4b5563;
    margin: 25px 0 15px 0;
}

.blog-post p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #374151;
    text-align: justify;
}

.blog-post ul, .blog-post ol {
    margin: 20px 0 20px 30px;
    line-height: 1.8;
}

.blog-post li {
    margin-bottom: 10px;
    color: #374151;
}

.blog-post strong {
    color: #1f2937;
    font-weight: 600;
}

.blog-post em {
    color: #2563eb;
    font-style: italic;
}

.info-box {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #2563eb;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.warning-box {
    background-color: #fef3c7;
    border: 1px solid #fbbf24;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.tip-box {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-left: 4px solid #10b981;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.blog-navigation {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.back-to-blog {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.back-to-blog:hover {
    background-color: #1d4ed8;
}

/* Blog sidebar and related posts */
.blog-sidebar {
    margin-top: 40px;
    padding: 30px;
    background-color: #f9fafb;
    border-radius: 10px;
}

.related-posts h3 {
    color: #1f2937;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.related-post {
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.related-post:last-child {
    border-bottom: none;
}

.related-post a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post h4 {
    color: #2563eb;
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.4;
}

.related-post:hover h4 {
    color: #1d4ed8;
}

.related-date {
    color: #6b7280;
    font-size: 0.85rem;
}

/* Additional styling for special content boxes */
.example-box {
    background-color: #f9fafb;
    border-left: 4px solid #2563eb;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.example-box h3, .example-box h4 {
    color: #2563eb;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Mobile responsive for legal and blog pages */
@media (max-width: 768px) {
    .legal-page, .blog-post {
        padding: 100px 0 60px 0;
    }
    
    .legal-content, .blog-content {
        padding: 30px 20px;
    }
    
    .legal-page h1, .blog-post h1 {
        font-size: 2rem;
    }
    
    .legal-page h2, .blog-post h2 {
        font-size: 1.5rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .legal-content, .blog-content {
        padding: 20px 15px;
    }
    
    .legal-page h1, .blog-post h1 {
        font-size: 1.8rem;
    }
    
    .legal-page ul, .legal-page ol,
    .blog-post ul, .blog-post ol {
        margin-left: 20px;
    }
}

/* Animation for elements appearing on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.pricing-card,
.testimonial-card,
.blog-card {
    animation: fadeInUp 0.6s ease forwards;
}
