.back {
    background: var(--primary-color);
}

h3 {
    font-size: 25px;
}
h4 {
    font-size: 20px;
}
h5 {
    font-size: 18px;
}
h6 {
    font-size: 16px;
}

a{
  text-decoration: none !important;
  color: #3a8afd;
}

a{
  text-decoration: none !important;
  color: #3a8afd;
}

.social-icons .icnSo {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 4px;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.5s ease;
}
.social-icons .icnSo:hover {
    transform: scale(1.2); /* Increases icon size */
}
.warning-box {
    background: #fef2f2;
    border: 2px solid #ef4444;
}
.red-side-bar {
    border-left: 5px solid #ef4444;
    border-radius: 18px;
    background: #fff;
}
.blue-side-bar {
    border-left: 5px solid var(--bs-blue) !important;
    border-radius: 18px;
    background: #fff;
}
.green-side-bar {
    border-left: 5px solid var(--primary-color);
    border-radius: 18px;
    background: #fff;
}
.step-badge {
    background: #ef4444;
    color: #fff;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.22rem;
}
.card-icn {
    background: var(--primary-color);
    color: #fff;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.22rem;
}

.card-icn-red {
    background: #ef4444;
    color: #fff;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.22rem;
}
.success-box {
    background: #f0fdf4;
    border: 2px solid #3acc70;
}
.form-scrollable {
    overflow-y: auto;
    position: sticky;
    top: 80px;
}
.section-para p {
    font-size: 1.1rem;
    color: #4b5563;
    margin: 0 auto;
    font-weight: 500;
}
.success-box1 {
    background: #f0fdf4;
    border: 3px solid #3acc70;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
}
.num5 {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.3rem;
    flex-shrink: 0; /* Prevent shrinking in flex containers */
}

.relatedCard .card {
    border: 1.4px solid rgb(179, 174, 174);
    transition: border-color 0.5s;
}
.relatedCard h5 {
    font-size: 17px;
    font-weight: 600;
}
.relatedCard:hover .card {
    border: 2px solid var(--primary-color);
}

.cardH {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* .cardH:hover {
  transform: translateY(-5px);
} */

.cardBorHov {
    border: 1.4px solid rgb(179, 174, 174);
    transition: border-color 0.5s;
}
.cardBorHov:hover {
    border: 2px solid var(--primary-color);
}

.pagination .page-link {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: #eaf5ee;
    color: #0a5f36;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Adjust as needed */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.imgB {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.7s ease;
}
.img-g {
    width: 100%;
    height: 200px;
    display: block;
    margin: 0 auto;
    transition: transform 0.7s ease;
}
.card:hover .img-g {
    transform: scale(1.1);
}
.card:hover .imgB {
    transform: scale(1.1);
}

.primary-box {
    background: #eff6ff;
    border: 2px solid #70a4f8;
}

.orange-box {
    background: #fef3c7;
    border: 2px solid #f8bc51;
}

/* .form-check-input {
    transform: scale(0.6);
    margin-right: 8px;
  } */

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

.custom-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: "•";
    font-size: 1.4rem;
    line-height: 1;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.toc-box {
    background: linear-gradient(145deg, #f7fcf9 0%, #eef7ff 100%);
    border: 1px solid #d8e9de;
    /* border-left: 5px solid #00000069; */
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

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

.toc-list li {
    margin-bottom: 10px;
}
.toc-title{
    font-weight: 700;
    color: #000;
    font-size: 2rem;
}

.toc-list li:last-child {
    margin-bottom: 0;
}

.toc-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    line-height: 1.5;
    transition: color 0.25s ease, transform 0.25s ease;
}



.toc-list a:hover {
    transform: translateX(3px);
}


@media (max-width: 768px) {
    .section-para p {
        font-size: 0.98rem !important;
    }
    .blog-page-single p {
        text-align: justify;
    }

    .num5 {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

     .toc-box {
        padding: 18px 16px;
        border-left-width: 5px;
    }

    .toc-title {
        font-size: 1.25rem;
    }

    .toc-list a {
        font-size: 0.97rem;
    }
}
