/* Blog Page Styles */

/* Blog Listing Page */
.blog-listing {
    padding: 60px 0;
    background: #f8fafc;
}

.blog-intro {
    text-align: center;
    margin-bottom: 50px;
}

.blog-intro h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 15px;
}

.blog-intro p {
    color: #6b7280;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #7c3aed;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-card-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #6b7280;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: #7c3aed;
}

.blog-card-content h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-content h3 a:hover {
    color: #7c3aed;
}

.blog-card-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

/* Blog CTA Section */
.blog-cta {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    padding: 60px 0;
    text-align: center;
}

.blog-cta .cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.blog-cta .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.blog-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-cta .cta-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Blog Article Page */
.blog-article-banner {
    text-align: center;
}

.blog-category-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.blog-article-banner h1 {
    font-size: 2.5rem;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.3;
}

.blog-article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.9);
}

.blog-article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Blog Content */
.blog-article {
    padding: 60px 0;
    background: #f8fafc;
}

.blog-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.blog-main-content {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.blog-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-text {
    padding: 40px;
}

.lead-paragraph {
    font-size: 1.2rem;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.blog-text h2 {
    font-size: 1.75rem;
    color: #1f2937;
    margin: 40px 0 20px;
    padding-top: 20px;
}

.blog-text h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

.blog-text p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Service Highlight Boxes */
.service-highlight-box {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-left: 4px solid #7c3aed;
    padding: 25px;
    margin: 20px 0;
    border-radius: 0 12px 12px 0;
}

.service-highlight-box h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5b21b6;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-highlight-box h3 i {
    color: #7c3aed;
}

.service-highlight-box p {
    color: #6b7280;
    margin: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.feature-item i {
    font-size: 2.5rem;
    color: #7c3aed;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #1f2937;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Info Callout */
.info-callout {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    align-items: flex-start;
}

.info-callout > i {
    font-size: 2rem;
    color: #d97706;
    flex-shrink: 0;
}

.info-callout h4 {
    color: #92400e;
    margin-bottom: 8px;
}

.info-callout p {
    color: #78350f;
    margin: 0;
}

/* Special Needs List */
.special-needs-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.special-needs-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.special-needs-list li:last-child {
    border-bottom: none;
}

.special-needs-list i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Blog CTA Box */
.blog-cta-box {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    margin-top: 40px;
}

.blog-cta-box h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.blog-cta-box > p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-cta-box .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-cta-box .cta-btn.whatsapp {
    background: #25D366;
    color: white;
}

.blog-cta-box .cta-btn.whatsapp:hover {
    background: #128C7E;
}

.blog-cta-box .cta-btn.services {
    background: white;
    color: #7c3aed;
}

.blog-cta-box .cta-btn.services:hover {
    background: #f5f3ff;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #7c3aed;
}

.sidebar-whatsapp {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #25D366;
    color: white;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.sidebar-whatsapp:hover {
    background: #128C7E;
}

.sidebar-whatsapp i {
    font-size: 2rem;
}

.sidebar-whatsapp span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.sidebar-whatsapp strong {
    display: block;
    font-size: 1.1rem;
}

.sidebar-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-services li {
    margin-bottom: 12px;
}

.sidebar-services li:last-child {
    margin-bottom: 0;
}

.sidebar-services a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4b5563;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-services a:hover {
    background: #f5f3ff;
    color: #7c3aed;
}

.sidebar-services i {
    width: 20px;
    color: #7c3aed;
}

.coming-soon {
    color: #9ca3af;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .blog-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .blog-intro h2 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-article-banner h1 {
        font-size: 1.75rem;
    }
    
    .blog-article-meta {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .blog-featured-image {
        height: 250px;
    }
    
    .blog-text {
        padding: 25px;
    }
    
    .lead-paragraph {
        font-size: 1.1rem;
    }
    
    .blog-text h2 {
        font-size: 1.4rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-callout {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-cta-box {
        padding: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .blog-cta-box .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .blog-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-listing {
        padding: 40px 0;
    }
    
    .blog-intro h2 {
        font-size: 1.6rem;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .blog-text {
        padding: 20px;
    }
    
    .service-highlight-box {
        padding: 20px;
    }
    
    .feature-item {
        padding: 20px;
    }
}

/* Blog Page Footer Fixes */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-about .footer-brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.footer-about .footer-brand span {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.footer-about p {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-services li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a,
.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover,
.footer-contact a:hover {
    color: #a855f7;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
}

.footer-contact i {
    color: #a855f7;
    width: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
}

.footer-bottom p {
    color: #64748b;
    margin: 0;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
