button.btn.btn-primary {
    border-color: #038e9e !important;
    background-color: #038e9e !important;
    border-radius: 0 0 10px !important;
}


/* Main Content Layout */
.main-content {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

img.imagerecent {
    border-radius: 10px;
    object-fit: cover;
    width: 100px;
    height: 70px;
}

.recent-post {
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.form-control {
    margin-bottom: 0px;
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 10px 0 0 10px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Updated Table of Contents */
.toc-container {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    /* position: sticky; */


}

.toc-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #155E95;
    color: black;
    display: flex;
    align-items: center;
}



.toc-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.toc-list li {
    margin-bottom: 0.75rem;
    position: relative;
    transition: all 0.2s ease;
}

.toc-list li:hover {
    transform: translateX(5px);
}

.toc-list a {
    color: black;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.toc-list a:hover {
    color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.05);
    padding-left: 1rem;
}

.toc-list a.active {
    color: white;
    background-color: var(--primary-color);
    font-weight: 600;
    padding-left: 1rem;
}


.toc-list .sub-item {
    padding-left: 1.5rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

@keyframes highlight {
    0% {
        background-color: rgba(67, 97, 238, 0.1);
    }

    100% {
        background-color: var(--primary-color);
    }
}

.toc-list a.active {
    animation: highlight 0.3s ease-out;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 12px;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    background-color: #038e9e;
    color: white;
}



.popular-tags {
    margin-top: 30px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar ul li a {
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    color: #475569;
    transition: all 0.3s;
}

.category-count {
    background-color: #e2e8f0;
    color: #1a202c;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.sidebar h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #155e95;
    color: black;
}

.sidebar {
    margin-bottom: 18px;
    /* width: 280px; */
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* position: sticky; */
    top: 30px;
    height: fit-content;
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}


.widget-title {
    border-bottom: 2px solid #155e95;
    color: #212529;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.popular-posts {
    list-style: none;
    padding-left: 0;
}

.popular-post-item {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #155E95;
}

.popular-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-thumb {
    flex: 0 0 80px;
    margin-right: 15px;
}

.post-thumb img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.post-info h6 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.post-info h6 a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-info h6 a:hover {
    color: var(--primary-color);
}

.post-date {
    font-size: 0.8rem;
    color: #8d99ae;
}

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

.tag {
    padding: 5px 12px;
    border-radius: 4px;
    background-color: #038e9e;
    color: white;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: black;
    color: white;
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-input {
    height: 45px;
    border-radius: 4px;
    padding: 0 15px;
    margin-bottom: 10px;
    border: 1px solid #155E95;
}

.newsletter-button {
    height: 45px;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Article Content */
.article-container {
    padding: 2.5rem;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: black;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    scroll-margin-top: 2rem;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.75rem 0 1rem;
    scroll-margin-top: 2rem;
}

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

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content img {
    height: auto;
    object-fit: scale-down;
    max-width: 100%;
    border-radius: 8px;

}

.article-content blockquote {
    /* border-left: 4px solid var(--primary-color); */
    padding: 1rem 0 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    background-color: rgba(67, 97, 238, 0.05);
    border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
    margin-bottom: 0;
}

.article-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.article-content a:hover {
    border-bottom: 1px solid var(--primary-color);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .sidebar-widget {
        margin-top: 12px;
    }



    .article-container {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {

    .article-content img {
        margin: auto;
    }



    .author-info {
        margin-bottom: 1rem;
    }

    .meta-item {
        margin-bottom: 0.5rem;
    }

    .article-content h2 {
        margin: 1rem 0;
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #C4D9FF;
    transition: width 0.3s ease;
}

/* Hero Section Styles */
.blog-hero {
    position: relative;
    background-color: white;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}



.category-badge:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}






.author-info {
    gap: 10px;
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}



.author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
}

.meta-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-right: 1.5rem;
}

.meta-item i {
    margin-right: 8px;
    font-size: 0.95rem;
}

.social-share {
    display: flex;
    align-items: baseline;

}



.share-buttons {
    display: flex;
}

.share-button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    display: inline-flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}





@media (max-width: 900px) {

    .blog-title {
        font-size: 24px !important;
    }


    .author-name {
        color: black !important;
    }

    .meta-item {
        color: black !important;
    }



    .share-button {
        color: black !important;
        background-color: #f0f0f0 !important;
    }
}

.faq-header {
    padding-left: 2.5rem;
    text-align: left;
    position: relative;
}

.faq-title {
    color: #000000;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-subtitle {
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.faq-divider {
    height: 4px;
    width: 70px;
    background: #038e9e;
    margin: 0 auto;
}

.accordion-item {
    border: none;
    border-radius: 12px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-button {
    padding: 20px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    color: black;
    background-color: white;
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #038e9e 0%, #02b5c9 100%);
    color: white;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #038e9e;
    z-index: 3;
}

.accordion-button::after {
    background-size: 18px;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-body {
    font-size: 18px;
    padding: 25px 30px;
    line-height: 32px;
    color: #555;
    background-color: white;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.highlight {
    background-color: rgba(3, 142, 158, 0.1);
    color: #038e9e;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 2rem;
    }

    .accordion-button {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .accordion-body {
        padding: 20px;
    }
}

#table-of-contents {
    font-family: Outfit, sans-serif;
    padding: 1rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
    max-width: 300px;
    font-family: Arial, sans-serif;
}

#table-of-contents .toc-title {
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: 2px solid #005aa7;
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
}

#table-of-contents .toc-list {
    list-style-type: disc;
    padding-left: 20px !important;
    margin: 0;
}

#table-of-contents .toc-list li {
    margin-bottom: 0.5rem;
}

#table-of-contents .toc-list li ul {
    list-style-type: circle;
    padding-left: 20px;
    margin-top: 0.3rem;
}

#table-of-contents .toc-list a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: inline-block;
    transition: color 0.2s ease;
}

#table-of-contents .toc-list a:hover {
    color: #005aa7;
}

#table-of-contents .toc-list a.active {
    font-weight: bold;
}

#table-of-contents button {
    margin-top: 10px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #333;
    background-color: white;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

#table-of-contents button:hover {
    background-color: #f0f0f0;
}

/* Updated Sticky Table of Contents Styles */
#table-of-contents-sticky {
    position: fixed;
    top: 120px;

    width: 300px;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.8rem;
    height: 480px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(3, 142, 158, 0.1);
    backdrop-filter: blur(10px);
}

#table-of-contents-sticky.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

#table-of-contents-sticky .toc-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #038e9e;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

#table-of-contents-sticky .toc-title::before {
    content: '📌';
    font-size: 1.4rem;
}

#table-of-contents-sticky .toc-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#table-of-contents-sticky .toc-list li {
    margin-bottom: 0.3rem;
    /* Reduced from 0.6rem */
}

#table-of-contents-sticky .toc-list a {
    color: #444;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 0.4rem 0.8rem;
    /* Reduced from 0.6rem 1rem */
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
    /* Reduced from 4px */
}

#table-of-contents-sticky .toc-list a:hover {
    color: #038e9e;
    background: rgba(3, 142, 158, 0.05);
    transform: translateX(5px);
}

#table-of-contents-sticky .toc-list a.active {
    color: white;
    background: linear-gradient(135deg, #038e9e, #02b5c9);
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(3, 142, 158, 0.15);
}

#table-of-contents-sticky button.toc-btn-sticky {
    width: 100%;
    padding: 0.8rem;
    margin-top: 1rem;
    border: none;
    background: linear-gradient(135deg, #038e9e, #02b5c9);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

#table-of-contents-sticky button.toc-btn-sticky:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 142, 158, 0.2);
}

#table-of-contents-sticky::-webkit-scrollbar {
    width: 5px;
}

#table-of-contents-sticky::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 35px;

}

#table-of-contents-sticky::-webkit-scrollbar-thumb {
    background: #038e9e;
    border-radius: 35px;
}

#table-of-contents-sticky::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #02b5c9, #038e9e);
}

.heading-level-2-sticky {
    padding-left: 0.8rem;
    /* Reduced from 1.2rem */
}

.heading-level-3-sticky {
    padding-left: 1.6rem;
    /* Reduced from 2.4rem */
}

.heading-level-4-sticky {
    padding-left: 2.4rem;
    /* Reduced from 3.6rem */
}

/* Responsive styles */
@media (max-width: 992px) {
    #table-of-contents-sticky {
        display: none !important;
    }
}

.hero-bg {
    height: 600px !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center top;
    z-index: -2;
}


.mobile-hero-image {
    display: none;
    width: 100%;
    height: auto;
    object-fit: cover;
}




.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(43 45 47 / 40%) 0%, rgb(43 45 47 / 55%) 100%);
    z-index: -1;
    height: 600px;
}


.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-end;

}

.category-badge {
    background-color: #038e9e;
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .blog-subtitle {
        color: black !important;
    }
}

@media (max-width: 768px) {
    .blog-subtitle {
        font-size: 1rem;
    }
}

.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

@media (max-width: 900px) {
    .post-meta {
        display: flex;
        flex-direction: row !important;
    }
}

@media (max-width: 768px) {
    .post-meta {
        flex-direction: column;
        gap: 1rem;
    }
}


.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.author-name {
    color: white;
    font-weight: 500;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}


.share-label {
    color: white;
    font-weight: 500;
}


.hero-section-contactus {
    padding: 80px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {


    .blog-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding-bottom: 2rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .mobile-hero-image {
        /* padding: 0 20px;
        margin-top: 1rem; */
        display: block;
        margin-bottom: 1rem !important;
    }

    ul {
        padding-left: 0px !important;
    }

    .overlay {
        display: none;
    }

    .share-label {
        color: black;
        font-size: 20px;

    }

    .social-share {
        flex-wrap: wrap;
        gap: 0rem !important;
    }

    .share-button {
        margin-left: 10px;
        gap: 0rem !important;
    }

    .hero-section-contactus {
        margin-bottom: 1rem;
        border-radius: 0px;
        padding: 20px 13px;
        display: flex;
        flex-direction: column;
    }

    .hero-bg {
        display: none;
    }

    .hero-content {
        border-radius: 0 0 20px 20px;
        background: white;
        padding: 2rem 0rem;
    }

    .blog-title {
        color: #333;
        font-size: 1.8rem;
    }

    .blog-subtitle {
        color: #666;
    }

    .post-meta {
        color: #444;
    }

    .category-badge {
        margin-bottom: 1rem;
    }
}

@media (max-width: 420px) {
    .share-button {
        margin-left: 5px !important;
        margin-right: 5px;
    }

}

ul {
    padding-left: 10px;
}