

/* Blog Cards Styling */
.blog-card {
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background-color: #f8f9fa;
}

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

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

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-primary);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 3px;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-details {
    padding: 25px 20px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-date i {
    color: var(--color-primary);
    font-size: 13px;
}

.blog-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--color-primary);
}

.blog-excerpt {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Read More Button Wrapper */
.blog-read-more-wrapper {
    margin-top: auto;
    padding-top: 10px;
}

/* Blog List Section */
.section-light {
    background: #f8f9fa;
    padding: 80px 0;
}

.section-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-subheading {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination li {
    margin: 0;
}

.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    color: #666;
    text-decoration: none;
    border-radius: 3px;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pagination li a:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.pagination li.active a {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.pagination li.disabled a {
    background: #f8f9fa;
    color: #ccc;
    border-color: #e9ecef;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .section-heading {
        font-size: 42px;
    }
}

@media (max-width: 991px) {
    .section-light {
        padding: 60px 0;
    }
    
    .section-heading {
        font-size: 36px;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .section-light {
        padding: 50px 0;
    }
    
    .section-heading {
        font-size: 32px;
    }
    
    .blog-details {
        padding: 20px 15px 15px;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .blog-title {
        font-size: 15px;
    }
    
    .blog-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .pagination li a {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .section-heading {
        font-size: 28px;
    }
    
    .blog-category {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    .blog-details {
        padding: 15px 12px 12px;
    }
    
    .blog-image {
        height: 160px;
    }
}

/* Blog Details Styling */

.blog-header {
    background: #f8f9fa;
    padding: 80px 0 60px;
    /* margin-top: 70px; */
}

.blog-meta {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta-item i {
    color: var(--color-primary);
    font-size: 14px;
}

.blog-category-tag {
    background: var(--color-primary);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 3px;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-title-main {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 30px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.blog-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.blog-content {
    background: #ffffff;
    padding: 60px 0;
}

.blog-article {
    background: #ffffff;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.blog-article h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin: 30px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-article h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 25px 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.blog-article p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.blog-article ul, .blog-article ol {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-article li {
    margin-bottom: 8px;
}

.blog-article blockquote {
    background: #f8f9fa;
    border-left: 4px solid var(--color-primary);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
    color: #5f5f5f;
}

.blog-article img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Related Blogs Section */
.related-blogs {
    background: #f8f9fa;
    padding: 60px 0;
}

/* Blog Meta Description */
.blog-meta-description {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid var(--color-primary, #007cba);
    border-radius: 5px;
}

.blog-meta-description .lead {
    font-size: 18px;
    font-weight: 500;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Blog Tags */
.blog-tags {
    margin: 40px 0 30px;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
}

.blog-tags h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-tag {
    background: #e9ecef;
    color: #495057;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: var(--color-primary, #007cba);
    color: white;
}

/* Blog Categories */
.blog-categories {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
}

.blog-categories h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.blog-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-category-link {
    background: var(--color-primary, #007cba);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.blog-category-link:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Social Share Buttons */
.blog-social-share {
    margin: 40px 0 30px;
    padding: 30px 0;
    border-top: 2px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.blog-social-share h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.social-btn:hover {
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook {
    background: #3b5998;
}

.social-btn.facebook:hover {
    background: #2d4373;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.twitter:hover {
    background: #0d8bd9;
}

.social-btn.linkedin {
    background: #0077b5;
}

.social-btn.linkedin:hover {
    background: #005885;
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn.whatsapp:hover {
    background: #1ebe57;
}

/* Blog Comments Section */
.blog-comments {
    background: white;
    padding: 60px 0;
    border-top: 1px solid #e9ecef;
}

/* Responsive Styles for New Elements */
@media (max-width: 768px) {
    .blog-meta-description {
        padding: 15px;
        margin-bottom: 20px;
    }

    .blog-meta-description .lead {
        font-size: 16px;
    }

    .social-buttons {
        gap: 10px;
    }

    .social-btn {
        padding: 8px 15px;
        font-size: 12px;
        gap: 6px;
    }

    .tag-list,
    .blog-category-list {
        gap: 8px;
    }

    .blog-tag {
        padding: 5px 10px;
        font-size: 11px;
    }

    .blog-category-link {
        padding: 6px 12px;
        font-size: 12px;
    }

    .blog-tags,
    .blog-categories,
    .blog-social-share {
        margin: 25px 0 20px;
        padding: 15px 0;
    }

    .blog-comments {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .social-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .social-btn {
        justify-content: center;
        text-align: center;
    }

    .tag-list,
    .blog-category-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-tag,
    .blog-category-link {
        display: inline-block;
        margin-bottom: 5px;
    }
}

.related-blogs-title {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Responsive Design for Blog Details */
@media (max-width: 1200px) {
    .blog-title-main {
        font-size: 36px;
    }

    .related-blogs-title {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .blog-header {
        padding: 60px 0 40px;
    }

    .blog-title-main {
        font-size: 32px;
    }

    .blog-featured-image {
        height: 300px;
    }

    .blog-content {
        padding: 40px 0;
    }

    .blog-article {
        padding: 30px 20px;
    }

    .related-blogs {
        padding: 40px 0;
    }

    .related-blogs-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 50px 0 30px;
        margin-top: 60px;
    }

    .blog-title-main {
        font-size: 28px;
    }

    .blog-meta {
        font-size: 13px;
        gap: 15px;
    }

    .blog-featured-image {
        height: 250px;
    }

    .blog-article {
        padding: 25px 15px;
    }

    .blog-article h2 {
        font-size: 24px;
    }

    .blog-article h3 {
        font-size: 20px;
    }

    .blog-article p {
        font-size: 15px;
    }

    .related-blogs-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .blog-title-main {
        font-size: 24px;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .blog-featured-image {
        height: 200px;
    }

    .blog-article {
        padding: 20px 12px;
    }

    .blog-article h2 {
        font-size: 22px;
    }

    .blog-article h3 {
        font-size: 18px;
    }

    .blog-article p {
        font-size: 14px;
    }
}
