/* ========================================
   CSS Reset and Base Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ========================================
   Variables and Utilities
   ======================================== */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --text-color: #333;
    --text-light: #666;
    --background-light: #f8f9fa;
    --background-dark: #2c3e50;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-max-width: 1200px;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

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

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

.btn-secondary {
    background-color: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #d68910;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ========================================
   Header and Navigation
   ======================================== */

.header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar-nav a {
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--secondary-color);
}

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

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

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* ========================================
   Cookie Banner and Modal
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 15px;
    color: white;
}

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

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

.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-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
}

.close:hover {
    color: var(--text-color);
}

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cookie-category p {
    font-size: 14px;
    margin-bottom: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

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

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

input:checked + .slider {
    background-color: var(--secondary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--background-light) 0%, #e8f4f8 100%);
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* ========================================
   Section Headers
   ======================================== */

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

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Services Section
   ======================================== */

.services {
    padding: 80px 0;
    background-color: white;
}

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

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

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

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.service-card li img {
    width: 16px;
    height: 16px;
}

/* ========================================
   About Section
   ======================================== */

.about-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature p {
    margin: 0;
    font-size: 14px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials {
    padding: 80px 0;
    background-color: white;
}

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

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.testimonial-header h4 {
    margin: 0;
    color: var(--primary-color);
}

.testimonial-header p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

.testimonial-rating img {
    width: 16px;
    height: 16px;
}

.testimonial-card > p {
    font-style: italic;
    color: var(--text-light);
}

/* ========================================
   Blog Section
   ======================================== */

.blog-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 14px;
    color: var(--text-light);
}

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

.blog-category {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
}

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

.blog-card h3 a {
    color: var(--primary-color);
    transition: var(--transition);
}

.blog-card h3 a:hover {
    color: var(--secondary-color);
}

.blog-card p {
    margin-bottom: 1rem;
    font-size: 14px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

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

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

/* ========================================
   Contact Section
   ======================================== */

.contact {
    padding: 80px 0;
    background-color: white;
}

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

.contact-info h3,
.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.contact-item img {
    width: 24px;
    height: 24px;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--background-light);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
}

.social-icons img {
    width: 20px;
    height: 20px;
}

/* ========================================
   Forms
   ======================================== */

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

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

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand .logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand .brand-text {
    color: white;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 1rem;
}

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

.footer-section ul li a {
    color: #bdc3c7;
    transition: var(--transition);
}

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

.contact-info-footer p {
    margin-bottom: 8px;
    color: #bdc3c7;
}

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

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}

/* ========================================
   Page Headers
   ======================================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header-content h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header-content p {
    color: #bdc3c7;
    font-size: 1.2rem;
}

/* ========================================
   Legal Content
   ======================================== */

.legal-content {
    padding: 80px 0;
    background-color: white;
}

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

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

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

.legal-section li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.legal-section strong {
    color: var(--text-color);
}

/* ========================================
   Thanks Page
   ======================================== */

.thanks-section {
    padding: 120px 0 80px;
    background-color: var(--background-light);
    text-align: center;
}

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

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

.thanks-icon img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.thanks-content h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

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

.next-steps h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.step-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
    font-size: 14px;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.contact-method img {
    width: 20px;
    height: 20px;
}

.thanks-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================
   Related Articles
   ======================================== */

.related-articles {
    padding: 80px 0;
    background-color: white;
}

.related-articles h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.article-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.article-image {
    height: 150px;
    overflow: hidden;
}

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

.article-content {
    padding: 1.5rem;
}

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

.article-content h3 a {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.article-content h3 a:hover {
    color: var(--secondary-color);
}

.article-content p {
    font-size: 14px;
    margin-bottom: 1rem;
}

/* ========================================
   Blog Page Specific
   ======================================== */

.blog-page {
    padding: 80px 0;
    background-color: white;
}

.blog-content {
    display: grid;
    grid-template-columns: 2fr;
    gap: 20px;
}

.blog-main .blog-grid {
    margin-bottom: 0;
}

.blog-card.featured {
    grid-column: 1 / -1;
}

.blog-card.featured .blog-content {
    padding: 2rem;
}

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

.blog-card.featured h2 a {
    color: var(--primary-color);
}

.blog-card.featured h2 a:hover {
    color: var(--secondary-color);
}

.blog-read-time {
    background-color: var(--accent-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* ========================================
   Blog Sidebar
   ======================================== */

.blog-sidebar {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 2rem;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

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

.category-list span {
    color: var(--text-light);
    font-size: 14px;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-post {
    display: flex;
    gap: 1rem;
}

.popular-post .post-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

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

.popular-post .post-content h4 {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.popular-post .post-content h4 a {
    color: var(--text-color);
}

.popular-post .post-content h4 a:hover {
    color: var(--secondary-color);
}

.popular-post .post-date {
    font-size: 12px;
    color: var(--text-light);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: var(--border-color);
    color: var(--text-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--secondary-color);
    color: white;
}

.cta-widget {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.cta-widget h3 {
    color: white;
}

.cta-widget p {
    color: #bdc3c7;
    margin-bottom: 1rem;
}

/* ========================================
   Newsletter Section
   ======================================== */

.newsletter-section {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.newsletter-text h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: #bdc3c7;
    margin: 0;
}

.newsletter-form form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
    min-width: 250px;
}

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

/* ========================================
   Article Pages
   ======================================== */

.article-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    padding: 120px 0 60px;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 14px;
}

.breadcrumb a {
    color: #bdc3c7;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: #7f8c8d;
    margin: 0 8px;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 14px;
    color: #bdc3c7;
}

.article-date {
    color: var(--accent-color);
}

.article-category {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.article-read-time {
    background-color: var(--accent-color);
    padding: 2px 8px;
    border-radius: 4px;
}

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

.article-subtitle {
    color: #bdc3c7;
    font-size: 1.2rem;
    margin: 0;
}

.article-content {
    padding: 80px 0;
    background-color: white;
}

.article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.article-main {
    max-width: none;
}

.article-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.article-text {
    line-height: 1.8;
}

.article-text h2 {
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem;
    font-size: 1.8rem;
}

.article-text h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

.article-text p {
    margin-bottom: 1.5rem;
    font-size: 16px;
    color: var(--text-light);
}

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

.article-text li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.article-text blockquote {
    background-color: var(--background-light);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-text blockquote p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.article-text cite {
    display: block;
    margin-top: 1rem;
    font-size: 14px;
    color: var(--text-light);
    font-style: normal;
}

.article-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.article-text th,
.article-text td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.article-text th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.article-text tr:hover {
    background-color: var(--background-light);
}

.article-tags {
    margin: 3rem 0 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-tags h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.article-share {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-share h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.share-btn.facebook {
    background-color: #3b5998;
    color: white;
}

.share-btn.twitter {
    background-color: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background-color: #0077b5;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ========================================
   Article Sidebar
   ======================================== */

.article-sidebar {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    height: fit-content;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.author-details p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post {
    display: flex;
    gap: 1rem;
}

.related-post img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.related-post .post-content h4 {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.related-post .post-content h4 a {
    color: var(--text-color);
}

.related-post .post-content h4 a:hover {
    color: var(--secondary-color);
}

.related-post .post-date {
    font-size: 12px;
    color: var(--text-light);
}

/* ========================================
   About Page Specific
   ======================================== */

.about-detail {
    padding: 80px 0;
    background-color: white;
}

.about-detail .about-content {
    display: block;
}

.about-detail .about-text {
    margin-bottom: 3rem;
}

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

.value-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
}

.value-item img {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 14px;
    margin: 0;
}

.services-detail {
    padding: 80px 0;
    background-color: var(--background-light);
}

.services-detail h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.service-detail-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.service-detail-card .service-icon {
    margin-bottom: 1.5rem;
}

.service-detail-card .service-icon img {
    width: 60px;
    height: 60px;
}

.service-detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-detail-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.service-detail-card li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.company-info {
    padding: 80px 0;
    background-color: white;
}

.company-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.company-stats h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
}

.company-details h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.company-contact .contact-item {
    margin-bottom: 1.5rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.cta-content p {
    color: #bdc3c7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ========================================
   Cookie Policy Specific
   ======================================== */

.cookie-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.cookie-table tr:hover {
    background-color: var(--background-light);
}

.cookie-settings-section {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

#manage-cookies-btn {
    margin-top: 1rem;
}

/* ========================================
   Article Content Specific Elements
   ======================================== */

.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.color-item {
    text-align: center;
    padding: 1rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
}

.color-sample {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    border: 3px solid white;
    box-shadow: var(--shadow);
}

.color-item span {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
}

.material-guide {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.room-materials {
    margin-bottom: 2rem;
}

.room-materials:last-child {
    margin-bottom: 0;
}

.room-materials h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.room-materials ul {
    padding-left: 1.5rem;
}

.room-materials li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.mistake-box,
.solution-box {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.mistake-box {
    background-color: #ffeaea;
    border-left: 4px solid #e74c3c;
}

.solution-box {
    background-color: #eafaf1;
    border-left: 4px solid #27ae60;
}

.mistake-box h3,
.solution-box h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.mistake-box ul,
.solution-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.mistake-box li,
.solution-box li {
    margin-bottom: 0.5rem;
}

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

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

.mistake-item {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.mistake-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.mistake-item p {
    margin-bottom: 1rem;
    font-size: 14px;
}

.consequence {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.rule-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.rule-number {
    width: 30px;
    height: 30px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 14px;
}

.rule-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.rule-content p {
    margin: 0;
    font-size: 14px;
}

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

.tech-mistake {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.tech-mistake h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mistake-details p {
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.mistake-details strong {
    color: var(--text-color);
}

.tiling-mistakes {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.tiling-mistakes h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tiling-mistakes ul {
    padding-left: 1.5rem;
}

.tiling-mistakes li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.scheduling-tips {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.scheduling-tips h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.scheduling-tips ol {
    padding-left: 1.5rem;
}

.scheduling-tips li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.quality-checklist {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.quality-checklist h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.final-tip {
    background: linear-gradient(135deg, var(--accent-color), #f1c40f);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
}

.final-tip h3 {
    color: white;
    margin-bottom: 1rem;
}

.final-tip p {
    color: white;
    margin: 0;
}

.step-checklist {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.step-checklist h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.recon-type {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.recon-type h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.recon-type p {
    margin-bottom: 1rem;
    font-size: 14px;
}

.budget-range {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

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

.permit-type {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.permit-type h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.permit-type ul {
    padding-left: 1.5rem;
}

.permit-type li {
    margin-bottom: 0.5rem;
    font-size: 14px;
    color: var(--text-light);
}

.warning-box {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.warning-box h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.warning-box p {
    margin: 0;
    color: var(--text-color);
}

.timeline-example {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.timeline-example h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 1.5rem;
    align-items: center;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.timeline-date {
    min-width: 80px;
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 1rem;
}

.timeline-task {
    color: var(--text-light);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content,
    .company-info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .services-detail-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .blog-content,
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-sidebar,
    .article-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        gap: 1rem;
    }
    
    .navbar-nav.show {
        display: flex;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 70vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .services-grid,
    .services-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input {
        min-width: auto;
        width: 100%;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }
    
    .thanks-actions {
        flex-direction: column;
    }
    
    .thanks-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .mistake-grid,
    .reconstruction-types,
    .permit-guide {
        grid-template-columns: 1fr;
    }
    
    .color-palette {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 90px 0 50px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .rule-item {
        flex-direction: column;
        text-align: center;
    }
    
    .popular-post,
    .related-post {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .color-palette {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline::before {
        left: 5px;
    }
    
    .timeline-item::before {
        left: -15px;
    }
    
    .timeline-date {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .header,
    .footer,
    .cookie-banner,
    .modal,
    .navbar-toggle,
    .btn,
    .social-icons,
    .share-buttons {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    p, li {
        color: black;
    }
    
    .page-header {
        background: none;
        color: black;
        padding: 20px 0;
    }
    
    .article-content {
        padding: 0;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        display: none;
    }
    
    blockquote {
        border-left: 3px solid black;
        background: #f5f5f5;
    }
    
    table {
        border-collapse: collapse;
        width: 100%;
    }
    
    th, td {
        border: 1px solid black;
        padding: 8px;
    }
    
    th {
        background: #f0f0f0;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

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

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

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ========================================
   Animation Classes
   ======================================== */

.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.scale-in {
    transform: scale(0.9);
    opacity: 0;
    animation: scaleIn 0.3s ease forwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========================================
   Loading States
   ======================================== */

.loading {
    position: relative;
    overflow: hidden;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ========================================
   Focus Styles for Accessibility
   ======================================== */

button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ========================================
   High Contrast Mode Support
   ======================================== */

@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --secondary-color: #000;
        --text-color: #000;
        --text-light: #000;
        --border-color: #000;
    }
    
    .btn-primary {
        background-color: #000;
        border: 2px solid #000;
    }
    
    .btn-outline {
        border-color: #000;
        color: #000;
    }
}

/* ========================================
   Reduced Motion Support
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fade-in,
    .slide-up,
    .scale-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
