/* ==================== */
/* Blog Section (Homepage) */
/* ==================== */

.blog-section {
    padding: 5rem 0;
    background: var(--bg-secondary, #f0f4f8);
}

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

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e1e4e8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: #0066cc;
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
}

.blog-image {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 191, 255, 0.1));
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.85rem;
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: #0066cc;
}

.blog-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0066cc;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 0.75rem;
}

.read-more::after {
    content: '→';
}

/* ==================== */
/* Blog Detail Page */
/* ==================== */

.blog-detail-page {
    padding-top: 100px;
    padding-bottom: 5rem;
    background: #f0f4f8;
    min-height: 100vh;
}

.blog-detail-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e4e8;
}

.blog-detail-header {
    margin-bottom: 2rem;
    text-align: center;
}

.blog-meta {
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-detail-header .blog-title {
    font-size: 2rem;
    color: #333333;
    line-height: 1.3;
    font-weight: 700;
}

.blog-detail-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555555;
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
}

.blog-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e1e4e8;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: #0066cc;
}

.error-message {
    text-align: center;
    padding: 3rem;
    color: #dc2626;
}

/* ==================== */
/* Why Us / Features */
/* ==================== */

.features {
    background: #f0f4f8;
    padding: 5rem 0;
}

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

.feature-card {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #0066cc;
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.15);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 102, 204, 0.1);
    border: 2px solid #0066cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333333;
}

.feature-card p {
    color: #555555;
    line-height: 1.7;
}

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

.about {
    background: #ffffff;
    padding: 5rem 0;
}

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

.about-text .section-title {
    text-align: left;
}

.about-text p {
    color: #555555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f0f4f8;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #555555;
    font-size: 0.95rem;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e1e4e8;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.about-image-placeholder {
    background: linear-gradient(135deg, #0066cc 0%, #00bfff 100%);
    padding: 4rem;
    text-align: center;
    color: white;
}

.about-image-placeholder span {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
}

.about-image-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
}

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

.footer {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
    max-width: 350px;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand .brand-icon {
    font-size: 2rem;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: unset;
}

.footer-info p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links h3,
.footer-contact h3 {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #0066cc;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #0066cc;
    transform: translateX(5px);
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    background: transparent;
    border-top: none;
}

.footer-bottom p {
    margin: 0;
}

/* SEO Footer Section (Homepage) */
.footer-content {
    margin-bottom: 3rem;
}

.footer-title {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

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

.service-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.service-category:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 102, 204, 0.3);
}

.service-category h3 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.seo-text {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.8;
}

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

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text .section-title {
        text-align: center;
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-detail-container {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .blog-detail-header .blog-title {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-info {
        max-width: 100%;
    }

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }

    .services-grid-footer {
        grid-template-columns: 1fr;
    }
}