/* WEPRO Blog Styles */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #4a90e2 0%, #50c9c3 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.blog-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Blog Container */
.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Blog Controls */
.blog-controls {
    margin-bottom: 40px;
    text-align: center;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 30px;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-input::placeholder {
    color: #999;
}

/* Category Filters */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.filter-btn:hover {
    border-color: #4a90e2;
    color: #4a90e2;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* Blog Content Wrapper */
.blog-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Fixed Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Fixed Article Cards */
.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.article-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 300px;
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-card.featured .article-image {
    height: 100%;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
    backdrop-filter: blur(10px);
}

.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.article-card.featured .article-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.article-content h2 {
    /* Fix text overflow */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #2c3e50;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-overflow: ellipsis;
}

.article-card.featured .article-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
}

.article-content h2 a {
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.article-content h2 a:hover {
    color: #4a90e2;
    transform: translateY(-1px);
}

.article-excerpt {
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.5;
    font-size: 14px;
    flex-grow: 1;
    /* Fix text overflow */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-card.featured .article-excerpt {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    align-content: space-around;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* Article page specific metadata styling */
.article-hero-section .article-meta {
    color: rgba(255, 255, 255, 0.9);
}

/* Blog cards metadata */
.article-card .article-meta {
    color: #7f8c8d;
}

.article-meta span {
    display: flex;
    align-items: row;
    gap: 6px;
    padding: 4px 0;
}

.article-meta i {
    color: #50c9c3;
    font-size: 14px;
}

/* Article hero section icons */
.article-hero-section .article-meta i {
    color: rgba(255, 255, 255, 0.8);
}

/* Blog cards icons */
.article-card .article-meta i {
    color: #50c9c3;
}

.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more:hover {
    opacity: 0.9;
    color: white;
    text-decoration: none;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 320px;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.sidebar-widget h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget h3 i {
    color: #4a90e2;
}

/* Newsletter Widget */
.newsletter-widget p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #4a90e2;
}

.newsletter-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
    text-align: center;
}

/* Booking Widget */
.booking-widget p {
    color: #666;
    margin-bottom: 20px;
}

.quick-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.service-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    text-align: center;
}

.service-quick-btn:hover {
    border-color: #4a90e2;
    color: #4a90e2;
    transform: translateY(-2px);
}

.service-quick-btn i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #4a90e2;
}

.service-quick-btn span {
    font-size: 0.8rem;
    font-weight: 600;
}

.service-quick-btn small {
    color: #888;
    font-weight: 400;
}

/* Popular Widget */
.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-article {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.popular-article:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.popular-article img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.popular-content h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #333;
}

.popular-meta {
    font-size: 0.75rem;
    color: #888;
}

/* Areas Widget */
.service-areas {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.area-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
}

.area-item strong {
    color: #333;
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.area-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.no-results-content i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results-content h3 {
    margin-bottom: 15px;
    color: #666;
}

.no-results-content p {
    color: #888;
    margin-bottom: 30px;
}

.suggested-searches h4 {
    margin-bottom: 15px;
    color: #666;
    font-size: 1rem;
}

.suggestion-btn {
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.suggestion-btn:hover {
    background: #4a90e2;
    color: white;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background: white;
    color: #4a90e2;
    border: 2px solid #4a90e2;
}

.btn-secondary:hover {
    background: #4a90e2;
    color: white;
}

.full-width {
    width: 100%;
}

/* ARTICLE PAGE STYLES */

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 20px;
    margin-bottom: 0;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-left: 10px;
    color: #666;
}

.breadcrumb a {
    color: #4a90e2;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Complete Article Page Layout Fix */
.article-page {
    padding-top: 100px;
    min-height: 100vh;
}

/* New Article Structure */
.article-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    padding-bottom: 0;
}

.article-hero-section {
    background: linear-gradient(135deg, #4a90e2 0%, #50c9c3 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.article-hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.article-hero-section .category-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.article-hero-section h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-hero-section .article-meta {
    margin-bottom: 30px;
    opacity: 0.9;
}

.article-hero-section .social-share {
    justify-content: center;
    margin-top: 20px;
}

.article-main-content {
    background: white;
    margin-top: -30px;
    border-radius: 30px 30px 0 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.article-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.article-content {
    flex: 2;
    width: 100%;
    max-width: 800px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Article Footer */
.article-footer {
    background: #f8f9fa;
    padding: 60px 20px 0;
    border-top: 1px solid #e9ecef;
    margin-bottom: 0;
}

.article-footer .article-tags,
.article-footer .article-author,
.article-footer .social-share-footer {
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* Mobile Responsiveness for New Article Structure */
@media (max-width: 768px) {
    .article-hero-section {
        padding: 40px 15px;
    }

    .article-hero-section h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .article-layout {
        flex-direction: column;
        gap: 30px;
        padding: 40px 15px;
    }

    .article-content {
        max-width: -webkit-fill-available;
    }

    .article-sidebar {
        max-width: -webkit-fill-available;
        position: static;
        order: -1;
    }

    .article-footer {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .article-hero-section h1 {
        font-size: 1.8rem;
    }

    .article-layout {
        padding: 30px 15px;
    }
}

.article-main {
    flex: 2;
    width: 100%;
    max-width: 800px;
}

.blog-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Article Header */
.article-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.article-header .category-tag {
    position: static;
    display: inline-block;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333;
}

.article-header .article-meta {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-share span {
    font-weight: 600;
    color: #666;
}

/* Article hero section share text */
.article-hero-section .social-share span {
    color: rgba(255, 255, 255, 0.9);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.link { background: #666; }

/* Article Content Wrapper */
.article-content-wrapper {
    width: 100%;
}

.article-content {
    width: 100%;
    max-width: 800px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Ensure no horizontal overflow */
.article-content img,
.article-main img {
    max-width: 100%;
    height: auto;
}

.article-sidebar {
    flex: 1;
    width: 100%;
    max-width: 350px;
    position: sticky;
    top: 120px;
}

/* Article Main */
.article-main {
    padding: 40px;
}

/* Fix content alignment */
.article-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* Removed duplicate h2 style - using the main one above */

.article-content p {
    line-height: 1.6;
    margin: 15px 0;
    color: #444;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.featured-image {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-image figcaption {
    padding: 15px;
    background: #f8f9fa;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    font-style: italic;
}

/* Article Content */
.article-content {
    line-height: 1.7;
    color: #444;
}

.intro-paragraph {
    font-size: 1.1rem;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #4a90e2;
    border-radius: 0 8px 8px 0;
}

/* Removed another duplicate h2 style - using the main one above */

.article-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    color: #333;
}

.article-content h4 {
    font-size: 1.2rem;
    margin: 25px 0 10px 0;
    color: #333;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
}

/* Inline CTAs */
.quick-cta-inline {
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
}

.quick-cta-inline .cta-content h3 {
    margin-bottom: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quick-cta-inline .cta-content p {
    margin: 0;
    opacity: 0.95;
}

.quick-cta-inline a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

/* Expert Quote */
.expert-quote {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 5px solid #4a90e2;
}

.expert-quote blockquote {
    margin: 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
}

.expert-quote cite {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #4a90e2;
    font-style: normal;
}

/* Checklist Sections */
.checklist-section {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.checklist-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-section h3 i {
    color: #4a90e2;
}

.checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.checklist-category h4 {
    margin-bottom: 15px;
    color: #666;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 5px;
}

.checklist-item:hover {
    background: #f8f9fa;
}

.checklist-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* CTA Box Article */
.cta-box-article {
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
}

.cta-box-article h3 {
    margin-bottom: 15px;
    color: white;
}

.cta-box-article p {
    margin-bottom: 25px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.cta-buttons a,
.cta-buttons button {
    max-width: 100%;
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
}

.cta-buttons .btn-primary {
    background: white;
    color: #4a90e2;
}

.cta-buttons .btn-primary:hover {
    background: #f0f0f0;
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #4a90e2;
}

/* Comparison Table */
.comparison-table {
    margin: 30px 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table th {
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: white;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

/* Tip Box */
.tip-box {
    background: #e8f4fd;
    border: 1px solid #b3d9f7;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
}

.tip-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #1e5a8b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tip-box h4 i {
    color: #4a90e2;
}

.tip-box ul {
    margin-bottom: 0;
}

/* Local Tip */
.local-tip {
    background: #f0f9f0;
    border: 1px solid #c3e6c3;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
}

.local-tip h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2d5a2d;
    display: flex;
    align-items: center;
    gap: 10px;
}

.local-tip h4 i {
    color: #50c9c3;
}

/* Maintenance Schedule */
.maintenance-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.schedule-period {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.schedule-period:hover {
    border-color: #4a90e2;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.schedule-period h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-period h3 i {
    color: #4a90e2;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.final-cta h3 {
    margin-bottom: 15px;
    color: white;
    font-size: 1.8rem;
}

.final-cta p {
    margin-bottom: 30px;
    opacity: 0.95;
    font-size: 1.1rem;
}

.final-cta .cta-buttons {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.final-cta .cta-buttons .btn-primary,
.final-cta .cta-buttons .btn-secondary {
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.final-cta .btn-primary.large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    line-height: 1.5;
    color: #000;
}

.cta-note > * {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Article Footer */
.article-footer {
    padding: 40px 40px 0;
    border-top: 1px solid #f0f0f0;
    background: #f8f9fa;
    margin-bottom: 0;
}

.article-tags {
    margin-bottom: 30px;
}

.tags-label {
    font-weight: 600;
    color: #666;
    margin-right: 15px;
}

.tag {
    display: inline-block;
    background: #e0e0e0;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.8rem;
    margin: 5px 5px 5px 0;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #4a90e2;
    color: white;
}

.article-author {
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.author-info h4 {
    margin-bottom: 10px;
    color: #333;
}

.author-info p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.social-share-footer h4 {
    margin-bottom: 15px;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-buttons .share-btn {
    width: auto;
    height: auto;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Article Sidebar */
.article-sidebar {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: flex-start;
}

.article-sidebar > * {
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    margin: 0 auto;
}

.article-sidebar .cta-box {
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.article-sidebar .cta-box h3 {
    margin-bottom: 15px;
    color: white;
}

.article-sidebar .cta-box p {
    margin-bottom: 20px;
    opacity: 0.95;
}

.service-highlight {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.price-badge {
    background: white;
    color: #4a90e2;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 15px;
}

.service-includes {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-includes li {
    padding: 5px 0;
    color: white;
    opacity: 0.95;
}

.service-note {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 15px;
}

.service-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    text-align: center;
}

.service-link:hover {
    border-color: #4a90e2;
    color: #4a90e2;
    transform: translateY(-2px);
}

.service-link i {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #4a90e2;
}

.service-link span {
    font-size: 0.8rem;
    font-weight: 600;
}

.newsletter-sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.newsletter-sidebar h4 {
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-sidebar h4 i {
    color: white;
}

.newsletter-sidebar p {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.related-articles {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Enhanced related articles grid layout */
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-articles h4 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-articles h4 i {
    color: #4a90e2;
}

.related-article {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.related-article:hover {
    background: #f8f9fa;
    border-color: #4a90e2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.1);
}

.related-article img {
    width: 100%;
    height: -webkit-fill-available;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-article:hover img {
    transform: scale(1.05);
}

.related-content h5 {
    margin: 0 0 5px 0;
    font-size: 0.85rem;
    line-height: 1.3;
    color: #333;
}

.related-content span {
    font-size: 0.75rem;
    color: #888;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-content-wrapper,
    .article-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .article-sidebar {
        order: 2;
        position: static;
        max-width: -webkit-fill-available;
        margin: 0 auto;
    }

    .article-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .blog-sidebar {
        order: -1;
        max-width: 100%;
        margin: 0 auto;
    }

    .sidebar-widget {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .blog-content-wrapper,
    .article-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .article-container {
        flex-direction: column;
        gap: 30px;
    }

    .article-sidebar {
        order: 2;
        position: static;
    }

    .article-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    .category-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .article-card.featured {
        grid-template-columns: 1fr;
    }

    .article-card.featured .article-image {
        height: 200px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-header {
        padding: 20px;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .article-main {
        padding: 20px;
    }

    .article-sidebar {
        padding: 20px;
    }

    .social-share {
        flex-wrap: wrap;
        gap: 10px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .quick-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-links {
        grid-template-columns: 1fr;
    }

    .checklist {
        grid-template-columns: 1fr;
    }

    .maintenance-schedule {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .blog-container,
    .article-container {
        padding: 20px 15px;
    }

    .blog-hero {
        padding: 40px 15px;
    }

    .blog-hero h1 {
        font-size: 1.6rem;
    }

    .article-header,
    .article-main {
        padding: 15px;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .quick-services {
        grid-template-columns: 1fr;
    }

    .service-quick-btn {
        padding: 20px;
    }

    .final-cta,
    .cta-box-article {
        padding: 25px 20px;
    }

    .article-footer {
        padding: 20px;
    }
}

/* Loading States */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Service Area Map Styles */
.service-area-map {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 20px;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.service-area-map .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.service-area-map h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.service-area-map > .container > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.map-container {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    background: white;
    padding: 10px;
}

.map-container iframe {
    border-radius: 10px;
    width: 100%;
    height: 300px;
}

.service-areas-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.area-item {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.area-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: #4a90e2;
}

.area-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #4a90e2;
    font-weight: 700;
}

.area-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Enhanced Newsletter Styles */
.newsletter-signup-enhanced {
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.newsletter-content > p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 1;
    color: white;
}

.newsletter-benefits {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    text-align: left;
}

.newsletter-benefits li {
    padding: 8px 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 25px auto 20px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 12px 20px;
    background: white;
    color: #4a90e2;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.form-disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 0;
}

/* Contact Options Styles */
.contact-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.contact-options .btn-primary,
.contact-options .btn-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

.contact-options .btn-primary {
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: white;
}

.contact-options .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.contact-options .btn-secondary {
    background: #25D366;
    color: white;
    border: none;
}

.contact-options .btn-secondary:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Mobile Optimizations for New Elements */
@media (max-width: 768px) {
    .service-area-map {
        padding: 40px 15px;
    }

    .service-area-map h2 {
        font-size: 1.6rem;
    }

    .service-areas-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .newsletter-signup-enhanced {
        padding: 30px 20px;
        margin: 30px 0;
    }

    .newsletter-benefits {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form .form-group {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-form button {
        width: 100%;
    }

    .contact-options {
        flex-direction: column;
        gap: 10px;
    }

    .contact-options .btn-primary,
    .contact-options .btn-secondary {
        width: 100%;
    }
}

/* Unified Footer */
.footer-unified {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: #50c9c3;
    margin-bottom: 20px;
    font-size: 18px;
}

.contact-item,
.office-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 14px;
}

.icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.chatbot-link {
    color: #50c9c3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.chatbot-link:hover {
    color: #4a90e2;
    text-decoration: underline;
}

.service-areas {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #50c9c3;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #50c9c3;
}

/* Mobile footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* WhatsApp Button Override for Blog Pages - Match Chatbase Exact Size */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 18px;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-button {
    background: #25D366;
    color: white;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(37, 211, 102, 0.4);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    gap: 0;
}

.whatsapp-button:hover {
    background: #20b954;
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-button i {
    font-size: 28px;
}

.whatsapp-text {
    display: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Mobile WhatsApp Button Sizing */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 90px;
        right: 18px;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 14px;
    }

    .whatsapp-button i {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 12px;
    }

    .whatsapp-button i {
        font-size: 32px;
    }
}

/* Fixed Newsletter Sidebar */
.newsletter-sidebar {
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    border-radius: 15px;
    padding: 25px;
    color: white;
    margin: 30px 0;
    max-width: 100%;
    box-sizing: border-box;
}

.free-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.newsletter-header h3 {
    margin: 10px 0 15px 0;
    font-size: 22px;
    color: white;
}

.newsletter-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: white;
}

.newsletter-benefits {
    margin: 20px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 14px;
}

.check {
    color: #90EE90;
    margin-right: 8px;
    font-weight: bold;
}

.newsletter-form {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.newsletter-form button {
    background: white;
    color: #4a90e2;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

.newsletter-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 15px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.testimonial-quote {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.testimonial-quote em {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.testimonial-quote small {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

/* Fixed CTA Box */
.cta-box {
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    border-radius: 15px;
    padding: 25px;
    color: white;
    margin: 30px 0;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.cta-box h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: white;
}

.cta-box p {
    font-size: 14px;
    margin: 0 0 20px 0;
    color: rgba(255,255,255,0.9);
}

.cta-box .btn-primary {
    background: white;
    color: #4a90e2;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    width: calc(100% - 20px);
    max-width: 250px;
    box-sizing: border-box;
}

.cta-box .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
    text-decoration: none;
    color: #4a90e2;
}

/* Comprehensive Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .newsletter-sidebar,
    .cta-box {
        margin: 20px 10px;
        padding: 20px 15px;
    }

    .newsletter-form input,
    .newsletter-form button {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .service-areas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .map-container-large iframe {
        height: 300px;
    }

    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    /* Sidebar optimizations */
    .blog-sidebar {
        max-width: 100%;
        margin: 0 auto;
    }

    /* Article layout mobile */
    .article-container {
        padding: 15px;
        flex-direction: column;
        gap: 20px;
    }

    .article-sidebar {
        position: static;
        order: 2;
    }

    .article-hero h1 {
        font-size: 28px;
    }

    .article-content {
        padding: 25px 20px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Improved Service Area Map Section */
.service-area-map {
    background-color: #f8f9fa;
    padding: 80px 20px;
    margin: 60px 0 0 0;
}

.service-area-map .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-area-map h2 {
    text-align: center;
    font-size: 36px;
    color: #4a90e2;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-area-map > div > p {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.map-container-full {
    max-width: 1000px;
    margin: 0 auto 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.kerry-coverage-info {
    max-width: 800px;
    margin: 0 auto;
}

.coverage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.area-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.area-card:hover {
    transform: translateY(-5px);
}

.area-card h3 {
    color: #4a90e2;
    margin-bottom: 15px;
    font-size: 20px;
}

.area-card p {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.6;
}

.area-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.area-features li {
    padding: 5px 0;
    color: #666;
}

.area-features li:before {
    content: "✓ ";
    color: #50c9c3;
    font-weight: bold;
}

.btn-area {
    background: linear-gradient(to right, #4a90e2, #50c9c3);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: opacity 0.3s;
    width: 100%;
    margin-top: auto;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-area:hover {
    opacity: 0.9;
}

/* Service Area Map Responsive */
@media (max-width: 1024px) {
    .service-areas-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .area-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .service-area-map {
        padding: 40px 0;
    }

    .service-area-map h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .service-areas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .map-container-large iframe {
        height: 300px;
    }
}

/* Additional Mobile Optimization Improvements */
@media (max-width: 768px) {
    /* Improved mobile typography */
    body {
        font-size: 16px; /* Prevents zoom on iOS */
        line-height: 1.5;
    }

    /* Touch-friendly tap targets */
    .article-card a,
    .btn-primary,
    .btn-secondary,
    .filter-btn,
    .social-share button,
    .newsletter-form button {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }

    /* Improved mobile blog hero */
    .blog-hero {
        padding: 40px 15px;
    }

    .blog-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .blog-hero p {
        font-size: 1.1rem;
    }

    /* Mobile-optimized article cards */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-card {
        padding: 20px;
        min-height: auto;
    }

    .article-card .article-image {
        margin-bottom: 15px;
    }

    .article-card .article-image img {
        height: 200px;
        object-fit: cover;
    }

    /* Improved mobile text truncation */
    .article-card .article-content h2 {
        -webkit-line-clamp: 3;
        line-clamp: 3;
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .article-card .article-excerpt {
        -webkit-line-clamp: 4;
        line-clamp: 4;
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 15px;
        min-height: auto;
    }

    .article-card .article-content {
        padding: 20px;
        min-height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .article-meta span {
        font-size: 0.85rem;
    }

    /* Mobile search improvements */
    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 20px 12px 45px;
        border-radius: 25px;
    }

    .search-icon {
        left: 15px;
    }

    /* Mobile filter buttons */
    .category-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .filter-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    /* Mobile sidebar optimizations */
    .blog-sidebar {
        margin-top: 30px;
    }

    .sidebar-widget {
        padding: 20px;
        margin-bottom: 20px;
    }

    /* Mobile quick service buttons */
    .quick-services {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .service-quick-btn {
        padding: 12px 8px;
        font-size: 0.85rem;
        text-align: center;
    }

    .service-quick-btn span small {
        display: block;
        font-size: 0.75rem;
    }

    /* Mobile article content improvements */
    .article-main {
        padding: 20px 15px;
    }

    .article-main h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .article-main h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .article-main h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    /* Mobile CTA improvements */
    .cta-box,
    .final-cta {
        padding: 20px 15px;
        margin: 20px 0;
    }

    .cta-box .btn-primary,
    .final-cta .btn-primary {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }

    /* Mobile table improvements */
    .comparison-table {
        font-size: 0.9rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table table {
        min-width: 500px;
    }

    /* Mobile navigation improvements */
    .nav-links {
        padding: 20px;
        gap: 15px;
    }

    .nav-links li a {
        padding: 12px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: auto;
        display: block;
    }

    /* Mobile modal improvements */
    .modal-content {
        margin: 20px;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Improved mobile performance */
    * {
        -webkit-tap-highlight-color: transparent;
    }

    img {
        will-change: transform;
    }

    .article-card:hover {
        transform: none; /* Disable hover effects on mobile */
    }

    .service-area-card:hover {
        transform: none;
    }

    /* Mobile loading optimizations - Lazy loading for images */
    .article-image img,
    .popular-article img {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .article-image img.loaded,
    .popular-article img.loaded {
        opacity: 1;
    }
    
    .article-image img[loading="lazy"],
    .popular-article img[loading="lazy"] {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .article-image img[loading="lazy"]:not([data-loaded="false"]),
    .popular-article img[loading="lazy"]:not([data-loaded="false"]) {
        opacity: 1;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    /* Container adjustments */
    .blog-container {
        padding: 20px 15px;
    }

    /* Smaller hero on very small screens */
    .blog-hero {
        padding: 30px 10px;
    }

    .blog-hero h1 {
        font-size: 1.8rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    /* Single column layout for service areas */
    .quick-services {
        grid-template-columns: 1fr;
    }

    /* Smaller article cards */
    .article-card {
        padding: 15px;
    }

    .article-card .article-image img {
        height: 180px;
    }

    /* Compact sidebar widgets */
    .sidebar-widget {
        padding: 15px;
    }

    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    /* Mobile breadcrumb */
    .breadcrumb ol li {
        font-size: 0.85rem;
    }

    /* Smaller modal padding */
    .modal-content {
        padding: 20px 15px;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .blog-hero {
        padding: 30px 20px;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .articles-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .article-card .article-image img {
        height: 160px;
    }
}

/* High DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .article-image img,
    .popular-article img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .whatsapp-float {
        animation: none;
    }
}


/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .search-input {
        background: #2c3e50;
        color: white;
        border-color: #34495e;
    }

    .search-input::placeholder {
        color: #bdc3c7;
    }

    .filter-btn {
        background: #34495e;
        color: white;
        border-color: #2c3e50;
    }

    .filter-btn.active {
        background: #4a90e2;
    }
}

/* Print Styles */
@media print {
    .blog-sidebar,
    .article-sidebar,
    .social-share,
    .social-share-footer,
    .cta-box,
    .cta-box-article,
    .final-cta,
    .newsletter-widget,
    .booking-widget,
    .service-area-map,
    .newsletter-signup-enhanced {
        display: none;
    }

    .article-content-wrapper {
        grid-template-columns: 1fr;
    }

    .article-main {
        padding: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}