/* ============================================
   BLOG DETAILS SECTION - SCOPED .bd-
   ============================================ */
.bd-details-section {
    padding: 50px 0;
    background: #ffffff;
}

.bd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Banner */
.bd-banner {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: 0 10px 35px rgba(1, 41, 94, 0.12);
}

.bd-banner img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Layout */
.bd-layout {
    display: flex;
    gap: 35px;
    align-items: flex-start;
}

.bd-main {
    flex: 1;
    min-width: 0;
}

/* Title */
.bd-title {
    font-size: 32px;
    font-weight: 800;
    color: #01295E;
    line-height: 1.3;
    margin: 0 0 18px 0;
}

/* Meta */
.bd-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
    padding-bottom: 22px;
    margin-bottom: 28px;
    border-bottom: 2px solid #eef2f7;
}

.bd-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
}

.bd-meta-item i {
    color: #ECA90D;
    font-size: 15px;
}

/* Content */
.bd-content {
    font-size: 16px;
    line-height: 1.85;
    color: #4a5568;
}

.bd-content p {
    text-align: justify;
}

.bd-content h2,
.bd-content h3,
.bd-content h4 {
    color: #01295E;
    font-weight: 700;
    margin: 30px 0 14px 0;
}

.bd-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.bd-content ul,
.bd-content ol {
    margin: 0 0 18px 22px;
}

.bd-content a {
    color: #ECA90D;
    text-decoration: underline;
}

/* ============================================
   FAQ
   ============================================ */
.bd-faq {
    margin-top: 5px;
}

.bd-faq-title {
    font-size: 22px;
    font-weight: 700;
    color: #01295E;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bd-faq-title i {
    color: #ECA90D;
}

.bd-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bd-faq-item {
    border: 1px solid #eef2f7;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.3s ease;
}

.bd-faq-item.active {
    border-color: rgba(236, 169, 13, 0.35);
    box-shadow: 0 6px 20px rgba(1, 41, 94, 0.06);
}

.bd-faq-question {
    width: 100%;
    text-align: left;
    background: #f8faff;
    border: none;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #01295E;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.bd-faq-question:hover {
    background: rgba(236, 169, 13, 0.08);
}

.bd-faq-question i {
    color: #ECA90D;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.bd-faq-item.active .bd-faq-question i {
    transform: rotate(180deg);
}

.bd-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #fff;
}

.bd-faq-answer p {
    margin: 0;
    padding: 16px 20px;
    font-size: 14px;
    cursor: pointer;
    line-height: 1.7;
    color: #6c757d;
}

/* ============================================
   SIDEBAR - STICKY
   ============================================ */
.bd-sidebar {
    flex: 0 0 300px;
    min-width: 300px;
}

.bd-sidebar-inner {
    position: sticky;
    top: 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.bd-sidebar-card {
    background: #f8faff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 26px 22px;
}

.bd-sidebar-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #01295E;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef2f7;
}

.bd-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bd-sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bd-sidebar-menu li a:hover {
    background: rgba(236, 169, 13, 0.1);
    color: #01295E;
    transform: translateX(4px);
}

.bd-sidebar-menu li a i {
    color: #ECA90D;
    font-size: 12px;
}

/* CTA Card */
.bd-cta-card {
    background: #01295E;
    text-align: center;
}

.bd-cta-card i {
    font-size: 36px;
    color: #ECA90D;
    margin-bottom: 12px;
    display: inline-block;
}

.bd-cta-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
}

.bd-cta-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 18px 0;
}

.bd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ECA90D;
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bd-cta-btn:hover {
    background: #d49a0c;
    transform: translateY(-2px);
    color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .bd-layout {
        flex-direction: column;
    }

    .bd-sidebar {
        flex: 0 0 100%;
        min-width: 0;
        width: 100%;
    }

    .bd-sidebar-inner {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .bd-sidebar-card {
        flex: 1 1 280px;
    }

    .bd-banner img {
        height: 320px;
    }

    .bd-title {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .bd-details-section {
        padding: 40px 0;
    }

    .bd-banner img {
        height: 220px;
    }

    .bd-banner {
        border-radius: 12px;
        margin-bottom: 24px;
    }

    .bd-title {
        font-size: 22px;
    }

    .bd-meta {
        gap: 14px;
        padding-bottom: 16px;
        margin-bottom: 20px;
    }

    .bd-meta-item {
        font-size: 13px;
    }

    .bd-content {
        font-size: 15px;
    }

    .bd-sidebar-inner {
        flex-direction: column;
    }

    .bd-faq-question {
        padding: 13px 16px;
        font-size: 14px;
    }
}
/* ============================================
   RECENT BLOGS SECTION - RESPONSIVE
   ============================================ */
.bd-recent-blogs {
    padding: 40px 0;
    background: #f8faff;
}

.bd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   SECTION HEADING
   ============================================ */
.bd-section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.bd-section-heading span {
    display: inline-block;
    background: rgba(236, 169, 13, 0.12);
    color: #ECA90D;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 22px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.bd-section-heading h2 {
    font-size: 36px;
    font-weight: 800;
    color: #01295E;
    margin-bottom: 6px;
}

.bd-section-heading p {
    font-size: 16px;
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   BLOG ROW - CSS GRID (Better Responsive)
   ============================================ */
.bd-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ============================================
   BLOG CARD
   ============================================ */
.bd-recent-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eef2f7;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bd-recent-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(236, 169, 13, 0.2);
}

/* ============================================
   CARD IMAGE
   ============================================ */
.bd-recent-image {
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.bd-recent-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.bd-recent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bd-recent-card:hover .bd-recent-image img {
    transform: scale(1.06);
}

/* ============================================
   CARD CONTENT
   ============================================ */
.bd-recent-content {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Meta */
.bd-recent-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 10px;
}

.bd-recent-meta span {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bd-recent-meta i {
    color: #ECA90D;
    font-size: 14px;
}

/* Title */
.bd-recent-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px 0;
    line-height: 1.3;
    flex: 1;
}

.bd-recent-content h4 a {
    color: #01295E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bd-recent-content h4 a:hover {
    color: #ECA90D;
}

/* Read More Button */
.bd-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #ECA90D;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(236, 169, 13, 0.25);
}

.bd-read-btn:hover {
    background: #d49a0c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 169, 13, 0.4);
    color: #fff;
}

.bd-read-btn i {
    transition: transform 0.3s ease;
}

.bd-read-btn:hover i {
    transform: translateX(4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .bd-recent-blogs {
        padding: 60px 0;
    }

    .bd-section-heading h2 {
        font-size: 30px;
    }

    .bd-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .bd-recent-blogs {
        padding: 50px 0;
    }

    .bd-section-heading h2 {
        font-size: 26px;
    }

    .bd-section-heading p {
        font-size: 14px;
        padding: 0 10px;
    }

    .bd-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bd-recent-content {
        padding: 16px 18px 20px;
    }

    .bd-recent-content h4 {
        font-size: 16px;
    }

    .bd-recent-meta span {
        font-size: 12px;
    }

    .bd-read-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .bd-section-heading span {
        font-size: 11px;
        padding: 4px 16px;
    }
}

/* Mobile Small */
@media (max-width: 400px) {
    .bd-recent-blogs {
        padding: 40px 0;
    }

    .bd-section-heading h2 {
        font-size: 22px;
    }

    .bd-recent-meta {
        gap: 10px;
    }
}
