/* Dots container */
.tncfbk-slider .slick-dots {
    position: relative;
    bottom: 0;
    padding: 15px 0;
    text-align: center;
    list-style: none;
    margin: 0;
    margin-top: 54px;
}

/* Individual dot */
.tncfbk-slider  .slick-dots li {
    display: inline-block;
    margin: 0 5px;
    padding: 0;
    width: 62px;
    height: 62px;

}

/* Dot image styling */
.tncfbk-slider  .slick-dots li img.slick-dot-image {
    cursor: pointer;
    max-width: 40px;
}

/* Active dot image */
.tncfbk-slider  .slick-dots li.slick-active {
    border-radius: 2px;
    background:#0055D4;
}

.tncfbk-slider  .slick-dots li {
     background: rgba(255, 255, 255, 0.08);
     border-radius: 2px;
}

/* Fallback number dots */
.tncfbk-slider  .slick-dots li button {
    display: none; /* Hide default number buttons if images exist */
}

.tncfbk-slider  .slick-dots li:not(.has-dot-image) button {
    display: block; /* Show only for slides without images */
}

.tncfbk-slider  .slick-dots {
    z-index: 100;
    position: relative;
}


.tncfbk-slider  .slick-slide {
    border-radius: 8px;
    padding:10px;
}

.pdfbk_slide_title {
    color: #FFF;
    text-align: center;
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; 
    padding-top: 28px;
}


.tncfbk-slider .slick-dots li img.slick-dot-image {
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.tncfbk-slider  ul.slick-dots {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
} 



/*** pdfbk demo page style start **/


        .tncfbk_smth_scroll_container {
            display: flex;
        }

        /* Sidebar Styles */
        .tncfbk_smth_scroll_sidebar {
            width: 332px;
            border-radius: 10px;
			background: #1D4551;
            position: fixed;
            height:calc(100vh - 40px);
            overflow-y: auto;
            z-index: 1000;
            padding-top: 30px;
        }

        .tncfbk_smth_scroll_sidebar_header {
            padding: 0 2rem 2rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .tncfbk_smth_scroll_sidebar_title {
            color: white;
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .tncfbk_smth_scroll_nav_menu {
            list-style: none;
            padding: 1rem 0;
        }

        .tncfbk_smth_scroll_nav_item {
            margin-bottom: 0.5rem;
        }

        .tncfbk_smth_scroll_nav_link {
            display: flex;
            align-items: center;
            padding-top: 20px;
            padding-bottom: 20px;
            padding-left: 20px;
            text-decoration: none;
            transition: all 0.3s ease;
            border-radius: 12px;
            margin: 0 0.5rem;
            color:#6F888F;
            /* Paragraph/16/Medium */
            font-family: "DM Sans";
            font-size: 16px;
            font-style: normal;
            font-weight: 500;
            line-height: 150%; /* 24px */
            gap:12px;
            align-items: center;
        }

        .tncfbk_smth_scroll_nav_link:hover:not(.active) {
            color: white;
        }

         .tncfbk_smth_scroll_nav_link:hover:not(.active) svg path {
            color:#fff;
        }

        .tncfbk_smth_scroll_nav_link.active {
            background: #fff;
            color: #1a1a1a;
            border-radius: 50px 0 0 50px;
            color:#1D4551;
            margin-right: 0px;
        }
         .tncfbk_smth_scroll_nav_link {
            margin-right: 0px;
         }

        .tncfbk_smth_scroll_nav_link.active .tncfbk_smth_scroll_nav_icon {
          
        }

        .tncfbk_smth_scroll_nav_link.active .tncfbk_smth_scroll_nav_text {
            color: #1a1a1a;
            font-weight: 600;
        }

       

        .tncfbk_smth_scroll_nav_link:not(.active) .tncfbk_smth_scroll_nav_icon {
           
        }

        .tncfbk_smth_scroll_nav_text {
            font-size: 0.95rem;
            font-weight: 500;
        }

        .tncfbk_smth_scroll_nav_subtitle {
            font-size: 0.8rem;
            opacity: 0.7;
            margin-top: 2px;
        }

    

        /* Main Content */
        .tncfbk_smth_scroll_main_content {
            flex: 1;
            margin-left:496px;
            padding: 2rem;
            background: white;
        }

        .tncfbk_smth_scroll_section {
            margin-bottom: 4rem;
            scroll-margin-top: 2rem;
        }

        .tncfbk_smth_scroll_section_title {
           color:#1D4551;
            /* H3 */
            font-family: Inter;
            font-size: 34px;
            font-style: normal;
            font-weight: 600;
            line-height: 140%; /* 47.6px */
        }

        .tncfbk_smth_scroll_section_description {
           color:#4A5F66;
            /* Paragraph/18/Regular */
            font-family: "DM Sans";
            font-size: 18px;
            font-style: normal;
            font-weight: 400;
            line-height: 160%; /* 28.8px */
            max-width: 643px;
            padding-top:8px;
        }

        .tncfbk_smth_scroll_preview_grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .tncfbk_smth_scroll_preview_item {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 1.5rem;
            border: 1px solid #e9ecef;
            transition: transform 0.3s ease;
        }

        .tncfbk_smth_scroll_preview_item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .tncfbk_smth_scroll_preview_image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            border-radius: 8px;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #1976d2;
            font-weight: 600;
            position: relative;
            overflow: hidden;
        }

     

        .tncfbk_smth_scroll_preview_label {
            font-weight: 600;
            color: #1a4a4a;
            text-align: center;
            font-size: 1.1rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .tncfbk_smth_scroll_sidebar {
                transform: translateX(-105%);
                transition: transform 0.3s ease;
            }

            .tncfbk_smth_scroll_sidebar.open {
                transform: translateX(0);
            }

            .tncfbk_smth_scroll_main_content {
                margin-left: 0;
            }

           .tncfbk_smth_scroll_mobile_toggle {
                display: block;
                position: fixed;
                left: 8px;
                z-index: 1001;
                background: #1a4a4a;
                color: white;
                border: none;
                border-radius: 4px;
                cursor: pointer;
                font-size: 18px;
                top: 168px;
            }

            .tncfbk_smth_scroll_preview_grid {
                grid-template-columns: 1fr;
            }
        }

        @media (min-width: 769px) {
            .tncfbk_smth_scroll_mobile_toggle {
                display: none;
            }
        }

        /* Smooth Scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Custom Scrollbar */
        .tncfbk_smth_scroll_sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .tncfbk_smth_scroll_sidebar::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
        }

        .tncfbk_smth_scroll_sidebar::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
        }

        .tncfbk_smth_scroll_sidebar::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }

        .tncfbk_smth_scroll_nav_item  {
            list-style: none;
        }


    .tncfbk_smth_scroll_nav_link.active::after {
        content: "";
        position: absolute;
        top: -24px;
        right: 0px;
        background: red;
        height: 25px;
        width: 25px;
        background: url(http://tncflipbook.local/wp-content/uploads/2025/08/curve.png);
        display: block;
        background-size: 100% 100%;
        top: calc(100% - 1px);
        right: 0;
        left: auto;
        z-index: 6;
        transform: rotateX(180deg);
    }


    .tncfbk_smth_scroll_nav_link.active::before {
        content: "";
        position: absolute;
        top: -24px;
        right: 0px;
        background: red;
        height: 25px;
        width: 25px;
        background: url(http://tncflipbook.local/wp-content/uploads/2025/08/curve.png);
        display: block;
        background-size: 100% 100%;
    }
        

    .tncfbk_smth_scroll_nav_menu  {
        padding: 0px;
    }

.tncfbk_smth_scroll_sidebar {

    padding-left:0px;
}

.tncfbk_smth_scroll_nav_link {
    position: relative;
}



/* Default state - show default icon, hide others */
.tncfbk_smth_scroll_nav_link .tncfbk_smth_scroll_nav_icon {
    display: none; /* Hide all icons by default */
}

.tncfbk_smth_scroll_nav_link .tncfbk_smth_scroll_nav_icon.default {
    display: block; /* Show default icon */
}

/* Hover state - show hover icon, hide others (but not when active) */
.tncfbk_smth_scroll_nav_link:not(.active):hover .tncfbk_smth_scroll_nav_icon {
    display: none; /* Hide all icons on hover (only when not active) */
}

.tncfbk_smth_scroll_nav_link:not(.active):hover .tncfbk_smth_scroll_nav_icon.hover {
    display: block; /* Show hover icon (only when not active) */
}

/* Active state - show active icon, hide others */
.tncfbk_smth_scroll_nav_link.active .tncfbk_smth_scroll_nav_icon {
    display: none; /* Hide all icons when active */
}

.tncfbk_smth_scroll_nav_link.active .tncfbk_smth_scroll_nav_icon.active {
    display: block; /* Show active icon */
}

.tncfbk_smth_scroll_nav_item {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom:0px;
}


.tncfbk_smth_scroll_nav_icon.active {
    width: 48px;
    height: 48px;
}


.tncfbk_smth_scroll_grid_wrap_container {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
     gap:40px;
} 

.tncfbk_smth_scroll_pdf_featured_image {
    border-radius: 6px;
    background:#F3F4F7;
    padding: 49px 43px;
}


.tncfbk_smth_scroll_pdf_title_wrap {
    padding-top: 16px;

}


.tncfb_smth_scroll_pdf_title  {

    color:#1D4551;
    text-align: center;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 160%; /* 28.8px */
}


/* Default state */
.tncfbk_smth_scroll_pdf_featured_image {
    transition: all 0.5s ease;
    overflow: hidden;
}

.tncfbk_smth_scroll_pdf_featured_image img {
    transition: transform 0.5s ease;
}

/* Hover effect on link */
.tncfbk_smth_scroll_pdf_item_link:hover .tncfbk_smth_scroll_pdf_featured_image {
    background: #EDF4FF;
}

.tncfbk_smth_scroll_pdf_item_link:hover .tncfbk_smth_scroll_pdf_featured_image img {
    transform: scale(1.0.2);
}


.tncfbk_smth_scroll_pdf_item_link:hover .tncfbk_smth_scroll_pdf_featured_image img {
    transform: scale(1.02);
}


.tncfb_smth_scroll_pdf_title {
    transition: color 0.3s ease;
    position: relative;
}

.tncfb_smth_scroll_pdf_title:hover {
    color: #0055D4;
}

/* Left to right border/underline effect */
.tncfb_smth_scroll_pdf_title::after {
    content: '';
    position: absolute;
    bottom: 13px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0055D4;
    transition: width 0.3s ease;
}

.tncfb_smth_scroll_pdf_title:hover::after {
    width: 100%;
}

.tncfb_smth_scroll_pdf_title {
    display: inline-block;
}

.tncfbk_smth_scroll_pdf_title_wrap {
    text-align: center;
}

p.tncfbk_smth_scroll_section_description {
    padding-bottom: 45px !important;
}


.tncfbk_smth_iframe_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}



a.tncfbk_smth_iframe_title_btn {
    color:#1D4551;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 160%;
    text-decoration-line: underline;
    text-decoration-style: solid;
}

a.tncfbk_smth_iframe_title_btn:hover{
  text-decoration-line: underline;
}


section#example-use-cases .tncfbk_smth_scroll_grid_wrap_container {
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important;
    gap: 30px !important;
}



section#example-use-cases .tncfbk_smth_scroll_pdf_featured_image {
    padding: 20px 15px;
}


@media only screen and (max-width: 1500px) {
 
    .tncfbk_smth_scroll_main_content {
        margin-left: 350px;
    }

}

@media only screen and (max-width: 768px) {
 
    .tncfbk_smth_scroll_main_content {
        margin-left: 0px;
    }

}
