/* Fix horizontal scroll */

.blog-post-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.blog-post-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Main Blog Content */
.blog-main-content {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.blog-featured-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.blog-content-wrapper {
    padding: 40px;
}

.blog-meta-info {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.blog-meta-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.blog-meta-info i {
    color: #3b5998;
}

.blog-category-badge {
    background: linear-gradient(135deg, #3b5998, #d41517);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content h2,
.blog-post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 600;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

/* Sidebar */
.blog-sidebar {
    position: sticky !important;
    top: 20px !important;
}

/* Contact Form */
.sidebar-contact-form {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: center;
}

.sidebar-contact-form p {
    font-size: 14px;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #fff;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #3b5998;
    box-shadow: 0 0 0 3px rgba(143, 18, 20, 0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Related Posts */
.related-posts-widget {
    position: sticky;
    top: 20px background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.related-posts-widget h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3b5998;
}

.related-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.related-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-post-item:hover {
    transform: translateX(5px);
}

.related-post-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-post-info {
    flex: 1;
}

.related-post-date {
    font-size: 12px;
    color: #3b5998;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.related-post-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.related-post-item:hover .related-post-title {
    color: #3b5998;
}

/* Social Share */
.social-share-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px 40px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.social-share-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.social-share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-post-title {
        font-size: 28px;
    }

    .blog-content-wrapper {
        padding: 25px;
    }

    .sidebar-contact-form {
        padding: 25px;
    }

    .related-posts-widget {
        padding: 20px;
    }

    .blog-featured-image {
        height: 300px;
    }
}



.offersec {
    margin-top: 60px;
    margin-bottom: 60px;
}

.call-to-action-two:before {
    background: #8f1214;
}

.offersec li b {
    color: #8f1214;
}


img {
    width: 100%;
}


.social-share {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-share a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #ddd;
    border-radius: 5px;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
}

.social-share .facebook {
    background-color: #3b5998;
}

.social-share .twitter {
    background-color: #1da1f2;
}

.social-share .linkedin {
    background-color: #0077b5;
}

.social-share .whatsapp {
    background-color: #25d366;
}


.main-footer .col-lg-3 {
    color: #fff;
}

.main-footer .col-lg-3 li {
    color: #fff;
}

.main-footer .col-lg-3 li a {
    color: #fff;
}

.table {

    overflow: auto;
}


/*msearch-----------------*/

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 9999;

}

.dropdown-content a {
    color: black;
    padding: 2px 6px;
    text-decoration: none;
    display: block;
    word-wrap: break-word;
    /* Ensures the content wraps if it's too long */
    overflow-wrap: break-word;
    /* Same as word-wrap, but newer name */
    white-space: normal;
    /* Ensures normal white-space behavior (no nowrap) */
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.search-box {
    width: 300px;
    padding: 3px;
    border: 1px solid #ccc;
    margin-right: 10px;
    border-radius: 10px;
}




.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    background: #e31e24;
    color: #fff;
    border: none;
    padding: 12px 35px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 4px;
}

.submit-btn:hover {
    background: #c5161b;
}

.toast-msg {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 15px 25px;
    border-radius: 5px;
    display: none;
    z-index: 9999;
    font-size: 14px;
}

.submit-btn.loading {
    background: #999;
    cursor: not-allowed;
}


/* FAQ Section */
.blog-faq-section {
    margin-top: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
}

.faq-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-align: center;
}

/* Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: #3b5998;
    box-shadow: 0 6px 20px rgba(143, 18, 20, 0.15);
}

/* Question */
.faq-question {
    width: 100%;
    background: #f8f9fa;
    padding: 20px 24px;
    border: none;
    outline: none;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: #3b5998;
    color: #ffffff;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    padding: 0 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    transition: all 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 24px 24px;
}

/* Mobile */
@media (max-width: 768px) {
    .blog-faq-section {
        padding: 25px;
    }

    .faq-title {
        font-size: 22px;
    }

    .faq-question {
        font-size: 15px;
    }
}