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

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Container */
.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;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2563EB;
}

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

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

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

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

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

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

.btn-outline:hover {
    background-color: #3B82F6;
    color: white;
}

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

.nav {
    padding: 1rem 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-brand .logo i {
    margin-right: 0.5rem;
    font-size: 2rem;
}

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

.nav-link {
    color: #4B5563;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #4B5563;
    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 h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-icon {
    width: 250px;
    height: 250px;
    margin-top: 2rem;
    opacity: 0.9;
}

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

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

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

.section-header p {
    font-size: 1.1rem;
    color: #6B7280;
}

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

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px 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 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    border: 2px solid #3B82F6;
    transform: scale(1.05);
}

.service-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

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

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

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

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

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: bold;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: #3B82F6;
    margin-top: 1.5rem;
}

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

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

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

.about-icon {
    width: 200px;
    height: 200px;
    opacity: 0.8;
}

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

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

.review-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-stars {
    color: #FCD34D;
    margin-bottom: 1rem;
}

.review-author {
    margin-top: 1.5rem;
    font-weight: 600;
}

.review-author span {
    display: block;
    color: #6B7280;
    font-weight: 400;
    font-size: 0.9rem;
}

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

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

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 2rem auto 0;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    white-space: nowrap;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #3B82F6;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-icon-small {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
}

.contact-form {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3B82F6;
}

/* Footer */
.footer {
    background-color: #1F2937;
    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 h3 {
    margin-bottom: 1rem;
}

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

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

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

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

.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-color: #374151;
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #3B82F6;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1F2937;
    color: white;
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-content h3 {
    margin-bottom: 0.5rem;
}

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

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

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

.cookie-modal-content {
    background-color: white;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.cookie-modal-header h3 {
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6B7280;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
}

.cookie-category div {
    flex: 1;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 25px;
    margin-left: 1rem;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 25px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #3B82F6;
}

input:checked + .toggle-slider:before {
    transform: translateX(25px);
}

.cookie-modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

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

.blog-posts {
    padding: 80px 0;
}

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

.blog-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    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-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-icon {
    width: 120px;
    height: 120px;
    opacity: 0.9;
}

.blog-content {
    padding: 1.5rem;
}

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

.blog-date {
    color: #6B7280;
}

.blog-category {
    background-color: #3B82F6;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

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

.blog-content h2 a {
    color: #1F2937;
    text-decoration: none;
}

.blog-content h2 a:hover {
    color: #3B82F6;
}

.read-more {
    color: #3B82F6;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.read-more:hover {
    color: #2563EB;
}

/* Blog Article Styles */
.blog-article {
    padding: 120px 0 80px;
}

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

.breadcrumb {
    margin-bottom: 1rem;
    color: #6B7280;
}

.breadcrumb a {
    color: #3B82F6;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.article-date {
    color: #6B7280;
}

.article-category {
    background-color: #3B82F6;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.article-intro {
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #374151;
}

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

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

.code-block {
    background-color: #1F2937;
    color: #E5E7EB;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.code-block code {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

code {
    background-color: #F3F4F6;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.article-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: #E5E7EB;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #3B82F6;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.share-btn:hover {
    background-color: #2563EB;
    color: white;
}

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

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

.related-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.related-card h3 {
    margin-bottom: 1rem;
}

.related-card h3 a {
    color: #1F2937;
    text-decoration: none;
}

.related-card h3 a:hover {
    color: #3B82F6;
}

/* Thank You Page */
.thank-you-section {
    padding: 120px 0 80px;
    text-align: center;
}

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

.thank-you-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.success-icon {
    width: 120px;
    height: 120px;
}

.thank-you-info {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: left;
}

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

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

.thank-you-info li i {
    margin-right: 1rem;
    color: #3B82F6;
    width: 20px;
}

.info-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
}

.expectation-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #f0f9ff;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.expectation-icon .info-icon {
    width: 40px;
    height: 40px;
    margin: 0;
}

.thank-you-actions {
    margin: 3rem 0;
}

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

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

.social-follow .social-links {
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #3B82F6;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-btn:hover {
    background-color: #2563EB;
    color: white;
}

/* Featured Content */
.featured-content {
    padding: 80px 0;
    background-color: #f8fafc;
}

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

.featured-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.featured-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.featured-icon-img {
    width: 60px;
    height: 60px;
}

.featured-link {
    color: #3B82F6;
    font-weight: 500;
    text-decoration: none;
}

.featured-link:hover {
    color: #2563EB;
}

.contact-info {
    padding: 80px 0;
    text-align: center;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-details .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

/* Legal Pages */
.legal-content {
    padding: 120px 0 80px;
}

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

.last-updated {
    color: #6B7280;
    font-style: italic;
}

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

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

.legal-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #374151;
}

.legal-body ul,
.legal-body ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

.legal-footer {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

.cookie-table th {
    background-color: #F3F4F6;
    font-weight: 600;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-modal-content {
        margin: 1rem;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .article-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .contact-details {
        flex-direction: column;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .blog-card {
        margin: 0 15px;
    }
    
    .cookie-table {
        font-size: 0.8rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }
}
