html {
    scroll-padding-top: 100px;
}


.blog-bg .img1 {
    height: 80vh;
    display: block;
}


.blog-bg .img2 {
    display: none;
}

.blog .search-bar {
    margin: 20px 0;
    background: #F4F4F4;
    border-radius: 10px;
    border: none;
}

.blog .search-bar input,
.blog .search-bar select {
    border-radius: 10px;
    padding: 10px 20px;
    border: 2px solid #00793A;
}

/* .search-bar button {
    border-radius: 30px;
    background-color: #ffed00;
    color: #333;
    font-weight: bold;
    padding: 10px 30px;
} */

.blog-btn {
    width: fit-content;
    border: 2px solid transparent;
    border-radius: 30px;
    background-image:
        linear-gradient(white, white),
        /* inner fill */
        linear-gradient(to right, #00793A, #ffc107);
    /* border gradient */
    background-origin: border-box;
    background-clip: content-box, border-box;
    padding: 1px 1px;
}

.blog-btn button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #00793A;
    color: white;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 30px;
    border: 3px solid white;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.blog-btn .arrow-circle {
    background: #fff;
    color: #b9bbb9;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


#cardContainer h3 {
    color: #00793A;
    font-weight: bold;
}


.blog-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}


.blog-card .card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 10px 15px;
    font-size: 0.95rem;
    text-decoration: underline;
}

.badge-icon {
    position: absolute;
    top: 10px;
    right: 10px;
}


.tag-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.vertical-line {
    width: 6px;
    height: 40px;
    background-color: #1c7c3d;
    border-radius: 5px;
}

.tag-btn {
    background-color: #1c7c3d;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 8px 25px;
    letter-spacing: 0.5px;
}

.post-image {
    width: 100%;
    object-fit: cover;
}

.related-post img {
    object-fit: cover;
    border-radius: 6px;
}

.related-post-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-content a {
    text-decoration: none;
}

.blog-content h4 {
    font-size: 35px;
}


.blog-content .col-lg-4 a {
    text-decoration: none;
    color: black;
}


.comparisontable-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    color: #ad9797;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
}

.comparisontable-table th,
.comparisontable-table td {
    padding: 12px;
    border: 1px solid #ccc;
}

.comparisontable-table thead tr {
    background-color: #f8f9fa;
    color: #020202;
}

.comparisontable-table tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
    color: #424242;
}

.comparisontable-table tbody tr:nth-child(even) {
    background-color: #edf6f1;
    color: #424242;
}

/* Search Field */

.search-Box_Blog {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.search-Box_Blog .search-input {
    padding: 10px 15px;
    border: 2px solid #00783a;
    border-radius: 8px;
    outline-color: #00783a;
    font-size: 1rem;
    flex: 1;
    min-width: 200px;
}

.search-Box_Blog .blog-search-btn {
    width: fit-content;
    border: 2px solid transparent;
    border-radius: 30px;
    background-image:
        linear-gradient(white, white),
        /* inner fill */
        linear-gradient(to right, #00793A, #ffc107) !important;
    /* border gradient */
    background-origin: border-box;
    background-clip: content-box, border-box;
    padding: 1px 1px;
}

.search-Box_Blog .search-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #00793A;
    color: white;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 30px;
    border: 3px solid white;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#pagination button {
    background-color: #fff;
    /* Green */
    color: #00793A;
    border: none;
    border-radius: 50%;
    /* Circle shape */
    width: 40px;
    height: 40px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#pagination::before{
    content: "<";
    color: #00793A;
    margin-top: 8px;
    margin-right: 15px;
}

#pagination::after{
    content: ">";
    color: #00793A;
    margin-top: 8px;
    margin-left: 15px;
}

#pagination button:hover {
    background-color: #ddf9ea;
    /* Darker green on hover */
    transform: scale(1.1);
}

#pagination button.active {
    background-color: #00793A;
    color: #fff;
    /* Active page darker green */
}