/*
Theme Name: Abym Theme
Author: Vikash Deep
Version: 1.0
*/
body.single {
    --primary: #244c44;
    --secondary: #17a578;
    --gradient: linear-gradient(45deg, #244c44, #17a578);
}
body.single .post-banner {
    background: var(--gradient) !important;
	min-height: 390px;
    display: flex;
    justify-content: center;
    align-items: center;
}
body.single .single-search-box input#searchsubmit {
    background: var(--gradient);
}
body.single .single-form .btn.btn-primary,
body.single .single-form .btn-primary {
    background: var(--gradient);
    border-color: var(--primary);
}
body.single .single-form .btn.btn-primary:hover,
body.single .single-form .btn-primary:hover {
    background: var(--gradient);
    border-color: var(--primary);
    filter: brightness(0.95);
}
body.single .hr-line:before {
    background: var(--gradient);
}
body.single .single-resentpost-box h4,
body.single .toc-box h4,
body.single .latest-heading {
    color: var(--primary);
}
body.single .card.rounded.border-0 {
    border-top: 0px solid var(--primary) !important;
    box-shadow: 0 12px 28px rgba(36, 76, 68, 0.12);
    overflow: hidden;
}
body.single .card.rounded.border-0 .card-img-top {
    background: var(--gradient);
}
body.single img.card-img-top,
body.single .latest-img,
body.single .main-banner-img {
    background: var(--gradient);
}
body.home img.card-img-top,
body.home .latest-img,
body.home .main-banner-img,
body.blog img.card-img-top,
body.blog .latest-img,
body.blog .main-banner-img {
    background: var(--card-gradient, transparent);
}
body.single .card.rounded.border-0 .card-title {
    color: var(--primary);
}
body.single .card.rounded.border-0 .category-text a,
body.single .card.rounded.border-0 .card-body p:last-child {
    color: var(--secondary) !important;
}
a{
    text-decoration: none!important;
}
main.main-section {
    padding: 0 10%;
}
.header-sec {
    background: linear-gradient(186.93deg, #1382f3 5.6%, #015dbb 94.76%);
    max-width: 90%;
    border-radius: 50px;
}
a.nav-link.contect-header-btn {
    color: #2563eb;
    background: rgba(255, 255, 255, 1);
    padding: 8px 30px;
    border-radius: 20px;
}
header li.nav-item {
    padding: 0 10px;
    font-size: 15px;
}
.container-fluid.header-sec.py-0.px-4 {
    margin-top: -35px;
}
.footer-menu-heading {
    font-size: 1.125rem;
    font-weight: 600;
}
footer li.nav-item a {
    font-size: 1rem;
    color: #c8c8c8!important;
    padding: 3px 0;
}
a.connect-btn-1 {
    background: #f64504;
    padding: 8px 55px 11px;
    text-decoration: none;
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
}
.post-banner {
    margin-top: -43px;
    padding: 70px 6% 20px;
}
.single-search-box, .single-resentpost-box, .single-form {
    background: #f4f7fb;
    border-radius: 10px;
}
.single-search-box input#s {
    width: 62%;
    border: 1px solid #0707071f;
    padding: 7px;
    border-radius: 5px;
    margin-right: 10px;
}
.single-search-box input#searchsubmit {
    padding: 5px 15px;
    background-color: #f64504;
    color: #fff;
    border: 1px solid #fff;
}
.hr-line {
    border: 1px solid #e9e9ea;
    margin: 10px 0;
    position: relative;
}
.hr-line:before {
    content: "";
    background: #f64504;
    width: 20%;
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
}
.single-content {
    /* box-shadow: 0px 0px 4px #0707071a; */
    padding: 20px;
    border-radius: 5px;
}
.card{
    transition: all .9s ease-in-out;
}
.card:hover{
transform: scale(1.03);
}
.category-text a{
    color: #000!important;
}
img.card-img-top {
    height: 250px;
    object-fit: contain;
    border-radius: 5px;
    padding: 20px;
}
.main-banner-img {
    height: 400px;
    width: 100%;
    object-fit: contain;
}
.latest-heading {
    font-size: 3.5rem;
    font-weight: 700;
}
.subheading-color {
    color: #00000069;
}
.latest-img {
    height: 250px;
    width: 100%;
    object-fit: contain;
    padding: 20px;
}
.cat-heading {
    border-bottom: 1px solid #0707073d;
    padding-bottom:30px;
    margin-bottom: 20px;
}
.cat-heading1{
    padding: 5px 20px;
    border: 1px solid;
    color: #000;
    border-radius: 10px;
    display: inline-block;
	margin-bottom:10px;
}

.newslatter input{
    border: 0;
}
h2.news-latter-text {
    font-size: 2.5rem;
    font-weight: 700;
}
.newslatter {
    background: #4a5ee5;
}
.subscribe-btn {
    background: #ec5b56;
    color: #fff;
    padding: 10px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}
.email_wrapper {
    background: #fff;
    padding: 6px;
    border-radius: 5px;
    position: relative;
}
.nav .nav-item button.active {
  background-color: transparent;
  color: #0092ff !important;
}
.nav .nav-item button {
  color: #000 !important;
}
.nav .nav-item button.active::after {
  content: "";
  border-bottom: 2px solid #0092ff;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -1px;

}
.side-list-post {
    border-bottom: 1px solid #07070740;
    margin-bottom: 18px;
}
.download-btn button {
    background-color: #fff;
    border-style: none;
    border-radius: 5px;
    padding: 11px 15px;
    min-width: 212px;
    cursor: pointer;
    transition: .3s ease-in-out all;
    -webkit-transition: .3s ease-in-out all;
    -moz-transition: .3s ease-in-out all;
    -o-transition: .3s ease-in-out all;
}
span.text {
    font-size: 20px;
    font-weight: 600;
}
.toc-box {
    position: sticky;
    top: 100px;
    border: 1px solid rgba(36, 76, 68, 0.12);
    padding: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbf9 100%);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(14, 37, 31, 0.08);
}

.toc-header {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(36, 76, 68, 0.12);
}

.toc-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary);
}

.toc-header h4 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

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

.toc-box li {
    margin-bottom: 8px;
}

/* .toc-box li.h3 {
    margin-left: 18px;
} */

.toc-box a {
    text-decoration: none;
    color: #070707;
	font-size: 15px;
	display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    line-height: 1.45;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.toc-link-indicator {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    background: rgba(36, 76, 68, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.toc-link-label {
    flex: 1;
    min-width: 0;
}

li.h2 {
    font-size: 16px;
}
body.single .toc-box li.active > a {
    color: #fff;
    font-weight: 700;
    background: var(--gradient);
    box-shadow: 0 14px 28px rgba(36, 76, 68, 0.18);
    transform: translateX(4px);
}

body.single .toc-box li.active > a .toc-link-indicator {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.15);
}

body.single .toc-box li.active.h3 > a {
    color: #fff;
}

body.single .toc-box li:not(.active) > a:hover {
    background: rgba(36, 76, 68, 0.07);
    color: var(--primary);
}

body.single .toc-box li:not(.active) > a:hover .toc-link-indicator {
    background: var(--secondary);
}
.navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl{
	background:linear-gradient(186.93deg, #1382f3 5.6%, #015dbb 94.76%)!important;
}
@media (max-width: 768px) {
    .toc-box {
        top: 80px;
        margin-bottom: 24px;
        padding: 16px;
    }

    .toc-header h4 {
        font-size: 20px;
    }

    .toc-box li.h3 {
        margin-left: 10px;
    }
}
.navbar-toggler{
border:none;
}

.navbar-toggler:focus{
box-shadow:none;
}

.contect-header-btn{
background:#0d6efd;
color:#2563eb !important;
padding:8px 18px;
border-radius:25px;
}

.contect-header-btn:hover{
background:#084298;
filter: none;
}
nav.navbar.navbar-expand-lg.py-0 {
    margin-top: -35px;
}
::-webkit-scrollbar {
    width: 7px!important;
    height: 7px;
    border-radius: 10px
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(186.93deg,#1382f3 5.6%,#015dbb 94.76%);
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1!important;
    border-radius: 10px
}
/* submenu */
.navbar-nav li {
position: relative;
}

/* hide submenu */
.navbar-nav .sub-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
background: #000;
padding: 10px 0;
min-width: 200px;
list-style: none;
}


/* submenu links */
.sub-menu li a{
color:#fff;
padding:8px 15px;
display:block;
text-decoration:none;
}

.sub-menu li a:hover{
background:#111;
}
.navbar-nav li:hover > a img{
transform: rotate(180deg);
transition:0.3s;
}

#theme-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9998;
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#theme-fab svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

#theme-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
}

#theme-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

#theme-modal {
    width: min(100%, 760px);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.tm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.tm-header h3 {
    margin: 0;
    font-size: 28px;
}

#tm-close {
    border: 0;
    background: #f4f7fb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.tm-subtitle,
.tm-footer {
    color: #5f6773;
}

#tm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.tm-swatch {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.tm-swatch.active {
    outline: 3px solid #111;
    outline-offset: 3px;
}

.tm-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
}

.tm-swatch.active .tm-check {
    display: flex;
}

.tm-check svg {
    width: 16px;
    height: 16px;
}

.tm-swatch-label {
    margin: 8px 0 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.tm-custom-section {
    background: #f4f7fb;
    border-radius: 18px;
    padding: 18px;
}

.tm-custom-label {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

.tm-custom-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tm-color-group {
    flex: 1 1 220px;
}

.tm-color-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.tm-color-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
}

.tm-color-wrap input[type="color"] {
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.tm-custom-arrow {
    font-size: 28px;
    font-weight: 700;
}

#tm-custom-preview {
    height: 64px;
    border-radius: 14px;
    margin: 18px 0 14px;
    background: var(--gradient);
}

#tm-apply-custom {
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    color: #fff;
    background: var(--gradient);
    font-weight: 700;
    cursor: pointer;
}

@media(max-width:991px){
.accordion-button::after {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='white' fill='none' viewBox='0 0 24 24' stroke-width='2'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
	div#mainMenu {
    background: #000;
}
.navbar-nav li:hover > .sub-menu{
display:block;
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23F64504' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
    transform: var(--bs-accordion-btn-icon-transform);
}
	/* hide close icon by default */
.navbar-toggler .close-icon{
display:none;
}

/* when menu open */
.navbar-toggler:not(.collapsed) .open-icon{
display:none;
}

.navbar-toggler:not(.collapsed) .close-icon{
display:inline-block;
}
.navbar-nav{
padding-top:15px;
}

.contect-header-btn{
display:inline-block;
margin-top:10px;
}
nav.navbar.navbar-expand-lg.py-0 {
    margin-top: 0px;
}
}
@media (max-width: 768px) {
    .header-sec {
    background: var(--gradient)!important;
    max-width: 100%!important;
    border-radius: 0!important;
}
.latest-heading {
    font-size: 2rem;
    font-weight: 700;
}
.container-fluid.header-sec.py-0.px-4 {
    margin-top: 0px;
}
a.nav-link.contect-header-btn {
    display: none;
}
p.text-center.text-white.pt-3.pb-5.mb-0 {
    display: none;
}
.navbar-toggler-icon {
    background-image: url('http://localhost/abym-blog/wp-content/uploads/2025/12/mobile-header.53e872ee.png')!important;

}
button.navbar-toggler.collapsed {
    padding: 0!important;
}
a.navbar-brand {
    max-width: 275px;
    width: 67%;
}
a.navbar-brand img{
    max-width: 150px!important;
}
.single-blog-heading, .breadcrumbs{
    text-align: center;
}
.single-search-box input#s {
    width: 62%;
}
button.accordion-button {
    background: transparent;
    padding: 10px;
}
.accordion-item {
    background: transparent;
    color: #fff;
    border: 0;
    padding: 5px 0;
}
button.accordion-button {
    color: #fff !important;
}
.accordion-flush>.accordion-item>.accordion-header .accordion-button, .accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed {
    border-radius: 0;
    background: transparent;
    border: 0 !important;
    background: #2424;
}
.cat-heading1 {
    padding: 3px 12px;
    border: 1px solid;
    font-size: 14px;
}
	.main-banner-img {
    height: auto;
}
main.main-section {
    padding: 0;
}
	.latest-img {
    height: auto;
}
#theme-fab {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
}
#theme-modal {
    padding: 18px;
    border-radius: 16px;
}
.tm-header h3 {
    font-size: 22px;
}
}
@media (max-width: 350px) {
    a.navbar-brand {
        max-width: 200px;
        width: 66%;
    }
}