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

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    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;
    line-height: 1.7;
}

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

a:hover {
    color: #2980b9;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.btn-primary {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    color: white;
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
    border-color: #95a5a6;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    border-color: #7f8c8d;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #3498db;
    border-color: #3498db;
}

.btn-outline:hover {
    background-color: #3498db;
    color: white;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

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

.nav-menu a {
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3498db;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #3498db;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
}

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

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

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

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 400px;
    width: 100%;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.page-header-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-header-text h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.page-header-image {
    text-align: center;
}

.page-header-image img {
    max-width: 200px;
    width: 100%;
    filter: invert(1);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f8f9fc;
}

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

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

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

/* Services Preview */
.services-preview {
    padding: 80px 0;
}

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

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

.service-item {
    background: #f8f9fc;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

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

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

/* About Content */
.about-content {
    padding: 80px 0;
}

.content-section {
    margin-bottom: 4rem;
}

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

.stat-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fc;
    border-radius: 8px;
}

.stat-item h3 {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

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

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.benefit-item h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

.cta-section {
    text-align: center;
    background: #f8f9fc;
    padding: 60px 40px;
    border-radius: 12px;
    margin-top: 4rem;
}

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

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.service-main {
    text-align: center;
    margin-bottom: 4rem;
}

.service-main h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-main p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.modules-section {
    margin-bottom: 4rem;
}

.modules-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

.module-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
}

.module-card h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.module-card ul {
    list-style: none;
    padding: 0;
}

.module-card li {
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
    position: relative;
    padding-left: 20px;
}

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

.features-section {
    margin-bottom: 4rem;
}

.features-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

.feature-item {
    background: #f8f9fc;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.feature-item h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.additional-services {
    margin-bottom: 4rem;
}

.additional-services h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.service-card h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

.service-card ul {
    margin-top: 1rem;
}

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

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #f39c12;
}

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

.rating {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-author {
    border-top: 1px solid #ecf0f1;
    padding-top: 20px;
}

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

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

.stats-section {
    background: #f8f9fc;
    padding: 60px 40px;
    border-radius: 12px;
    margin-bottom: 4rem;
    text-align: center;
}

.stats-section h2 {
    margin-bottom: 3rem;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.review-form-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}

.review-form-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.review-form-section p {
    text-align: center;
    margin-bottom: 2rem;
    color: #7f8c8d;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ecf0f1;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #3498db;
    border-color: #3498db;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Blog */
.blog-section {
    padding: 80px 0;
}

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

.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px 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 {
    padding: 40px;
    background: #f8f9fc;
    text-align: center;
}

.blog-image img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.blog-content {
    padding: 30px;
}

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

.blog-date,
.blog-category {
    padding: 4px 8px;
    background: #ecf0f1;
    border-radius: 4px;
}

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

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

.blog-content h2 a:hover {
    color: #3498db;
}

.read-more {
    color: #3498db;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 1rem;
}

.read-more:hover {
    color: #2980b9;
}

.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.newsletter-inputs {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

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

.newsletter-inputs .btn {
    white-space: nowrap;
}

.newsletter-form small {
    display: block;
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.categories-section {
    text-align: center;
}

.categories-section h2 {
    margin-bottom: 2rem;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.category-tag {
    padding: 8px 16px;
    background: #f8f9fc;
    color: #2c3e50;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.category-tag:hover {
    background: #3498db;
    color: white;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 4rem;
}

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

.contact-form-section p {
    margin-bottom: 2rem;
    color: white;
}

.contact-info-section {
    padding: 40px;
    border-radius: 12px;
}

.contact-info-section h2 {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ecf0f1;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-item small {
    color: white;
}

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

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

.faq-section {
    padding: 60px 40px;
    border-radius: 12px;
    margin-bottom: 4rem;
}

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

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

.faq-item {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

.contact-cta {
    text-align: center;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-cta h2 {
    margin-bottom: 1rem;
}

.contact-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Thanks Page */
.thanks-section {
    padding: 80px 0;
    text-align: center;
}

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

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

.thanks-content h1 {
    font-size: 3rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #7f8c8d;
}

.next-steps {
    margin-bottom: 4rem;
    text-align: left;
}

.next-steps h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.steps-list {
    display: grid;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    background: #3498db;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.additional-resources {
    margin-bottom: 4rem;
}

.additional-resources h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.resource-card {
    background: #f8f9fc;
    padding: 30px;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    transition: background-color 0.3s ease;
}

.resource-card:hover {
    background: #ecf0f1;
    color: #2c3e50;
}

.resource-card h3 {
    margin-bottom: 1rem;
    color: #3498db;
}

.contact-reminder {
    background: #f8f9fc;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.contact-reminder h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-reminder p {
    text-align: center;
    margin-bottom: 1rem;
}

.phone-number {
    display: block;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.phone-number:hover {
    color: #2980b9;
}

.contact-reminder small {
    display: block;
    text-align: center;
    color: #7f8c8d;
}

.back-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

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

.breadcrumb {
    margin-bottom: 2rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

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

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

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.article-meta span {
    padding: 4px 8px;
    background: #f8f9fc;
    border-radius: 4px;
}

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

.article-image img {
    max-width: 200px;
    width: 100%;
}

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

.article-content .lead {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 2rem;
    padding-left: 20px;
    border-left: 4px solid #3498db;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.8rem;
}

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

.article-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #34495e;
    font-size: 1.2rem;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.article-content th,
.article-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.article-content th {
    background: #f8f9fc;
    font-weight: 600;
    color: #2c3e50;
}

.article-content .table-header th {
    background: #3498db;
    color: white;
}

.article-content .total td {
    font-weight: bold;
    background: #f8f9fc;
}

.article-content .highlight {
    background: #e8f5e8;
}

/* Special content boxes */
.tip-box,
.warning-box,
.predictions-box,
.checklist-box,
.mistakes-box {
    margin: 2rem 0;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid;
}

.tip-box {
    background: #e8f5e8;
    border-left-color: #27ae60;
}

.warning-box {
    background: #fdf2e9;
    border-left-color: #f39c12;
}

.predictions-box {
    background: #e3f2fd;
    border-left-color: #2196f3;
}

.checklist-box {
    background: #f3e5f5;
    border-left-color: #9c27b0;
}

.mistakes-box {
    background: #ffebee;
    border-left-color: #f44336;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.checklist li:before {
    content: '□';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 1.2rem;
}

/* Article content special elements */
.mistake-card {
    background: white;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    padding: 20px;
    margin: 2rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mistake-card h3 {
    margin-top: 0;
    color: #e74c3c;
}

.mistake-card h3:nth-of-type(2) {
    color: #27ae60;
}

.cost-calculator {
    background: #f8f9fc;
    padding: 20px;
    border-radius: 8px;
    margin: 2rem 0;
}

.comparison-table {
    width: 100%;
    margin: 2rem 0;
}

.hidden-costs {
    margin: 2rem 0;
}

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

.cost-item {
    background: #f8f9fc;
    padding: 20px;
    border-radius: 8px;
}

.cost-item h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

.inspection-checklist {
    margin: 2rem 0;
}

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

.checklist-section {
    background: #f8f9fc;
    padding: 20px;
    border-radius: 8px;
}

.checklist-section h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.location-factors {
    margin: 2rem 0;
}

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

.factor {
    background: #f8f9fc;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.factor h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

.negotiation-tips {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 8px;
    margin: 2rem 0;
}

.negotiation-tips h4 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.credit-mistakes {
    margin: 2rem 0;
}

.credit-comparison {
    margin: 2rem 0;
}

.success-tips {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 8px;
    margin: 2rem 0;
}

.success-tips h3 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.action-plan {
    margin: 3rem 0;
}

.phase {
    background: #f8f9fc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
}

.phase h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

/* District ranking styles */
.ranking-intro {
    text-align: center;
    margin: 3rem 0;
}

.district-ranking {
    display: grid;
    gap: 30px;
    margin: 3rem 0;
}

.district-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid;
}

.district-card.rank-1 {
    border-left-color: #f1c40f;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.district-card.rank-2 {
    border-left-color: #95a5a6;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.district-card.rank-3 {
    border-left-color: #e67e22;
    background: linear-gradient(135deg, #fdf6f0 0%, #ffffff 100%);
}

.district-card.rank-4,
.district-card.rank-5 {
    border-left-color: #3498db;
}

.rank-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.district-card.rank-1 .rank-badge {
    background: #f1c40f;
    color: #2c3e50;
}

.district-card.rank-2 .rank-badge {
    background: #95a5a6;
}

.district-card.rank-3 .rank-badge {
    background: #e67e22;
}

.district-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.price {
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

.rating {
    font-size: 1.1rem;
}

.district-list {
    display: grid;
    gap: 20px;
    margin: 2rem 0;
}

.district-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #f8f9fc;
    padding: 20px;
    border-radius: 8px;
}

.district-item .rank {
    background: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.district-info h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.metro-impact {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    margin: 2rem 0;
}

.metro-impact h4 {
    color: #1976d2;
    margin-bottom: 1rem;
}

.buying-tips {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 8px;
    margin: 2rem 0;
}

.buying-tips h3 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.costs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Article footer */
.article-footer {
    max-width: 800px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid #ecf0f1;
}

.tags {
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    background: #f8f9fc;
    color: #7f8c8d;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.share-buttons {
    margin-bottom: 2rem;
    padding: 20px;
    background: #f8f9fc;
    border-radius: 8px;
}

.share-buttons span {
    font-weight: 500;
    margin-right: 15px;
}

.share-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 0.9rem;
}

.share-btn:hover {
    background: #2980b9;
    color: white;
}

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

.article-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.article-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

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

.legal-text h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.8rem;
}

.legal-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #34495e;
    font-size: 1.4rem;
}

.legal-text h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #34495e;
    font-size: 1.2rem;
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text ul {
    margin-bottom: 1.5rem;
}

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

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

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

.cookie-table th {
    background: #3498db;
    color: white;
    font-weight: 600;
}

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

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

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

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
    line-height: 1.6;
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .page-header-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .modules-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .page-header-text h1 {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .newsletter-inputs {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .back-links {
        flex-direction: column;
        align-items: center;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .costs-grid,
    .factors-grid,
    .checklist-grid {
        grid-template-columns: 1fr;
    }
    
    .district-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .page-header-text h1 {
        font-size: 1.8rem;
    }
    
    .features,
    .services-preview,
    .about-content,
    .services-section,
    .testimonials-section,
    .blog-section,
    .contact-section,
    .thanks-section,
    .blog-article,
    .legal-content {
        padding: 60px 0;
    }
    
    .features-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .article-content h1 {
        font-size: 2rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .thanks-content h1 {
        font-size: 2.2rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    .cookie-banner,
    .navbar,
    .footer,
    .share-buttons,
    .back-to-blog,
    .article-cta {
        display: none;
    }
    
    .article-content {
        max-width: none;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}

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

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        border-color: #000;
    }
    
    .btn-outline {
        color: #000;
        border-color: #000;
    }
    
    .btn-outline:hover {
        background-color: #000;
        color: #fff;
    }
}
