/*
Theme Name: Technicalyd
Theme URI: https://technicalyd.com
Author: Yubaraj Dhakal
Description: eLearning Platform
Version: 1.0
Text Domain: technicalyd
*/

/*=========================================
CSS VARIABLES (THEME COLORS)
=========================================*/
:root {
    --bg-dark-blue: #00142F;
    --royal-blue: #305CDE;
    --accent-green: #19ff5c;
    --brand-blue: #0d6efd;
    --brand-blue-hover: #0088cb;
    --btn-blue-hover: #0b5ed7;
    --btn-readmore-bg: #2563eb;
    --text-muted: #64748b;
    --text-light: #ffffff;
    --text-dark: #1e293b;
    --card-border: #e2e8f0;
    --card-hover-border: #cbd5e1;
    --bs-primary: #1a73e8;
}

/*=========================================
GLOBAL & STICKY FOOTER SETUP
=========================================*/
html, body {
    height: 100%;
    margin: 0 !important;
    padding-top: 0 !important;
    overflow-x: hidden;
}

body {
    color: #000000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#wpadminbar {
    display: none !important;
}

main, .site-content, body > div:not(.custom-site-footer) {
    flex: 1 0 auto;
    overflow: visible !important;
}

main#main, #primary, .site-main {
    padding-top: 40px !important;
    padding-bottom: 60px !important;
    overflow: visible !important;
}

/*=========================================
HEADER & NAVBAR
=========================================*/
.custom-navbar {
    background: var(--bg-dark-blue);
    padding: 3px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

.custom-navbar .container {
    width: 100%;
}
.custom-navbar .navbar-brand img {
    height: 60px;
    width: auto;
}
.navbar-nav {
    gap: 30px;
    align-items: center;
}
.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 0 !important;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.current-menu-item > .nav-link,
.current-menu-parent > .nav-link,
.current-menu-ancestor > .nav-link {
    color: var(--accent-green) !important;
}

/* CART ICON & BADGE */
.cart-icon {
    font-size: 1.15rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.cart-icon, 
.cart-icon i, 
.cart-icon svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.cart-icon:hover, 
.cart-icon:hover i, 
.cart-icon:hover svg {
    color: #ffc107 !important;
    fill: #ffc107 !important;
}

.cart-icon .cart-count {
    background-color: #ffc107;
    color: #000000;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50%;
    padding: 2px 6px;
    margin-left: 5px;
    line-height: 1;
    display: inline-block;
}

/* DESKTOP MENU UNDERLINE & HOVER */
@media (min-width: 992px) {
    .navbar-nav > .nav-item > .nav-link::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 2px;
        width: 0;
        height: 2px;
        background: var(--accent-green);
        transition: 0.3s ease;
    }

    .navbar-nav > .nav-item > .nav-link:hover::before,
    .navbar-nav > .nav-item > .nav-link:focus::before,
    .navbar-nav > .current-menu-item > .nav-link::before,
    .navbar-nav > .current-menu-parent > .nav-link::before,
    .navbar-nav > .current-menu-ancestor > .nav-link::before {
        width: 100%;
    }

    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: 0.25s ease;
    }

    .navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* DROPDOWN MENU */
.navbar-nav .dropdown {
    position: relative;
}

.navbar .dropdown-menu {
    margin-top: 10px !important;
    overflow: visible !important;
}

.navbar .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--bg-dark-blue);
    z-index: 10;
}

.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
    content: "";
    border-top: 5px solid var(--text-light);
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: 0.3s ease;
}

.navbar-nav .dropdown-toggle:hover::after,
.navbar-nav .dropdown-toggle:focus::after,
.current-menu-parent > .dropdown-toggle::after,
.current-menu-ancestor > .dropdown-toggle::after {
    border-top-color: var(--accent-green);
}

.navbar-nav .dropdown.show > .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    background: var(--bg-dark-blue);
    border: none;
    border-radius: 10px;
    min-width: 240px;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-item {
    color: var(--text-light) !important;
    background: transparent !important;
    padding: 10px 20px;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.dropdown-item::before {
    display: none !important;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active,
.dropdown-menu .current-menu-item > a,
.dropdown-menu .current_page_item > a,
.dropdown-menu .current-menu-parent > a,
.dropdown-menu .current-menu-ancestor > a {
    background: transparent !important;
    color: var(--accent-green) !important;
}

/* AUTH & BUTTONS */
.header-auth {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 12px;
}

.header-divider {
    width: 1px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.25);
    margin: 0 4px;
    display: inline-block;
}

.user-name, 
.login-link {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: var(--accent-green);
}

.register-btn {
    background: var(--text-light);
    color: var(--brand-blue);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.register-btn:hover {
    background: var(--brand-blue);
    color: var(--text-light);
}

/*=========================================
FOOTER
=========================================*/
.custom-site-footer {
    background-color: var(--bg-dark-blue) !important;
    color: #8e9a9e;
    font-size: 15px;
    letter-spacing: 0.2px;
    margin-top: auto !important;
    flex-shrink: 0;
}

.custom-site-footer .copyright-text {
    color: #7a8a9e;
}

/*=========================================
CONTACT US TEMPLATE
=========================================*/
.contact-page-wrapper {
    background-color: #ffffff !important;
    color: var(--text-dark) !important;
}

.light-input {
    background-color: #f8f9fa !important;
    border: 1px solid #ced4da !important;
    color: var(--text-dark) !important;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.2s ease-in-out;
}

.light-input::placeholder {
    color: #6c757d !important;
    opacity: 1;
}

.light-input:focus {
    background-color: #ffffff !important;
    border-color: var(--brand-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15) !important;
    color: #212529 !important;
    outline: none;
}

.btn-submit {
    background-color: var(--brand-blue) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px;
    min-width: 170px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
}

.btn-submit:hover {
    background-color: #0056b3 !important;
    color: #ffffff !important;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
}

.contact-page-wrapper h1, 
.contact-page-wrapper h2, 
.contact-page-wrapper h3, 
.contact-page-wrapper h4, 
.contact-page-wrapper h5, 
.contact-page-wrapper h6, 
.contact-page-wrapper label {
    color: #1a2332 !important;
}

.contact-page-wrapper p,
.contact-page-wrapper .contact-info-text {
    color: var(--text-dark) !important;
}

/*=========================================
SINGLE POST & COMMENTS
=========================================*/
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hover-shadow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
    border-color: var(--brand-blue) !important;
}

.form-control-custom {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    color: #212529 !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}

.form-control-custom::placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.form-control-custom:focus {
    background-color: #ffffff !important;
    border-color: var(--brand-blue) !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15) !important;
    outline: none;
}

.form-check-input {
    border-color: #ced4da;
    border-radius: 4px;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.custom-submit-btn {
    background-color: var(--brand-blue) !important;
    border-radius: 6px !important;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.custom-submit-btn:hover {
    background-color: var(--btn-blue-hover) !important;
}

.comment-list .comment {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    list-style: none;
}

.comment-list .avatar {
    border-radius: 50%;
    margin-right: 12px;
    float: left;
}

.comment-list .comment-author .fn {
    font-weight: 700;
    color: #212529;
    font-style: normal;
}

.comment-list .comment-meta {
    font-size: 0.825rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.comment-list .comment-meta a {
    color: #6c757d;
    text-decoration: none;
}

.comment-list .comment-content p {
    color: #495057;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.comment-list .reply a {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-decoration: none;
    margin-top: 0.25rem;
}

.comment-list .children {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 1rem;
    border-left: 2px solid #dee2e6;
}

.search-form input:focus {
    background-color: #ffffff !important;
    border-color: #86b7fe !important;
    box-shadow: none !important;
}

.hover-primary:hover {
    color: var(--brand-blue) !important;
    transition: color 0.2s ease-in-out;
}

.hover-primary-btn:hover {
    background-color: var(--brand-blue) !important;
    color: #ffffff !important;
    border-color: var(--brand-blue) !important;
    transition: all 0.2s ease-in-out;
}

/*=========================================
SHARED TABS (CENTERED FLEX WRAP)
=========================================*/
#gkQuizTabs, 
#coQuizTabs, 
#drivingQuizTabs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: 100% !important;
    width: 100% !important;
    gap: 0.5rem 0.80rem !important;
    padding: 0 5px !important;
    margin-bottom: 0rem !important;
    border-bottom: 1px solid #e0e0e0 !important;
    list-style: none !important;
    overflow-x: visible !important;
}

#updatesTab {
  display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: 100% !important;
    width: 100% !important;
    gap: 0.5rem 0.80rem !important;
    padding: 0 5px !important;
    margin-bottom: 2rem !important;
    border-bottom: 1px solid #e0e0e0 !important;
    list-style: none !important;
    overflow-x: visible !important;
}

#gkQuizTabs .nav-item,
#coQuizTabs .nav-item,
#drivingQuizTabs .nav-item,
#updatesTab .nav-item {
    flex: 0 0 auto !important;
    display: inline-block !important;
    margin-bottom: 0 !important;
}

/* Link Base Styles */
#gkQuizTabs .nav-link,
#coQuizTabs .nav-link,
#drivingQuizTabs .nav-link,
#updatesTab .nav-link {
    display: block !important;
    white-space: nowrap !important;
    padding: 5px 10px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: var(--text-muted) !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -1px !important;
    position: relative !important;
}

/* Active Tab Highlight */
#gkQuizTabs .nav-link.active,
#coQuizTabs .nav-link.active,
#drivingQuizTabs .nav-link.active,
#updatesTab .nav-link.active {
    color: var(--bs-primary) !important;
    border-bottom: 2px solid var(--bs-primary) !important;
    opacity: 1 !important;
}

/*=========================================
SIDEBARS (AD & MAIN)
=========================================*/
.custom-ad-sidebar .ad-widget {
    background-color: #ffffff;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-ad-sidebar .ad-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.ad-banner-hover img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: opacity 0.2s ease-in-out;
}

.ad-banner-hover:hover img {
    opacity: 0.92;
}

.custom-sidebar-wrapper {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.custom-sidebar-wrapper .widget-title {
    color: #1e293b;
    font-size: 1.1rem;
    letter-spacing: -0.2px;
    padding-bottom: 6px;
}

.custom-sidebar-wrapper .widget-divider {
    width: 100%;
    height: 2px;
    background-color: #06b6d4;
    border-radius: 2px;
    opacity: 0.85;
}

.custom-sidebar-wrapper .search-form .form-control {
    border-color: #cbd5e1;
    background-color: #ffffff;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.custom-sidebar-wrapper .search-form .form-control:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 0.25rem rgba(6, 182, 212, 0.15);
}

.custom-sidebar-wrapper .btn-search-submit {
    background-color: #06b6d4;
    color: #ffffff;
    border: 1px solid #06b6d4;
    transition: all 0.2s ease;
}

.custom-sidebar-wrapper .btn-search-submit:hover {
    background-color: #0891b2;
    color: #ffffff;
}

.custom-sidebar-wrapper .category-item {
    border-bottom-color: #e2e8f0 !important;
    transition: background-color 0.2s ease;
}

.custom-sidebar-wrapper .category-link {
    color: #334155;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.custom-sidebar-wrapper .category-item:hover .category-link {
    color: #0891b2;
    padding-left: 3px;
}

.custom-sidebar-wrapper .post-title-link {
    color: #1e293b;
    transition: color 0.2s ease;
}

.custom-sidebar-wrapper .post-title-link:hover {
    color: #0891b2;
}

.custom-sidebar-wrapper .tag-badge {
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid #bae6fd;
    transition: all 0.2s ease;
}

.custom-sidebar-wrapper .tag-badge:hover {
    background-color: #06b6d4;
    color: #ffffff;
    border-color: #06b6d4;
    transform: translateY(-1px);
}

/*=========================================
HEADER MINI CART
=========================================*/
.cart-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    background-color: #121921;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    padding: 24px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #ffffff;
}

.cart-dropdown-wrapper:hover .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-dropdown .woocommerce-mini-cart__empty-message {
    color: #a0aec0;
    text-align: center;
    margin: 10px 0;
    font-size: 0.95rem;
}

.mini-cart-dropdown ul.woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    max-height: 280px;
    overflow-y: auto;
}

.mini-cart-dropdown ul.woocommerce-mini-cart li {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    position: relative !important;
    padding-bottom: 16px !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-cart-dropdown ul.woocommerce-mini-cart li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.mini-cart-dropdown ul.woocommerce-mini-cart li img {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin-right: 12px !important;
    float: left !important;
    display: block !important;
}

.mini-cart-dropdown ul.woocommerce-mini-cart li a {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
}

.mini-cart-dropdown ul.woocommerce-mini-cart li > a:not(.remove) {
    display: block !important;
    flex: 1 1 calc(100% - 110px) !important;
    padding-right: 20px !important;
    margin-bottom: 6px !important;
    order: 1 !important;
}

.mini-cart-dropdown ul.woocommerce-mini-cart li .quantity {
    display: block !important;
    width: 100% !important;
    padding-left: 82px !important;
    margin-top: -24px !important;
    color: #a0aec0 !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    order: 2 !important;
    clear: both !important;
}

.mini-cart-dropdown ul.woocommerce-mini-cart li .quantity .amount,
.mini-cart-dropdown .woocommerce-mini-cart__total .amount {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.mini-cart-dropdown ul.woocommerce-mini-cart li a.remove {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    color: #a0aec0 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    line-height: 1 !important;
    background: none !important;
    order: 3 !important;
    width: auto !important;
    height: auto !important;
}

.mini-cart-dropdown ul.woocommerce-mini-cart li a.remove:hover {
    color: #ffffff !important;
}

.mini-cart-dropdown .woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: #a0aec0;
    padding-top: 16px;
    margin-top: 0;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mini-cart-dropdown .woocommerce-mini-cart__total strong {
    font-weight: 700;
    color: #a0aec0;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons {
    display: flex;
    gap: 12px;
    margin: 0;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons a {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    background-color: #0075ff !important;
    color: #ffffff !important;
    border: none;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons a:hover {
    background-color: #0062d6 !important;
}

.mini-cart-dropdown ul.woocommerce-mini-cart::-webkit-scrollbar {
    width: 4px;
}

.mini-cart-dropdown ul.woocommerce-mini-cart::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/*=========================================
DOWNLOADS & TUTOR LMS TEMPLATE SETTINGS
=========================================*/
.downloads-header, 
.downloads-header-center {
    margin-top: 30px;
    margin-bottom: 24px;
    text-align: center;
}

.downloads-header-center .lead {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.nav-pills .nav-link {
    color: var(--bg-dark-blue);   
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 6px;
    padding: 8px 18px;
    transition: all 0.2s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--bg-dark-blue);
    color: #ffffff;
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: #f1f5f9;
    color: #1e293b;
}

.category-tabs-container {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-tabs-container::-webkit-scrollbar {
    display: none;
}

.nav-tabs-underline {
    display: flex;
    gap: 1.25rem;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-tabs-underline .nav-link {
    color: var(--text-muted);
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    padding: 8px 10px 10px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
    margin-bottom: -1px;
}

.nav-tabs-underline .nav-link:hover {
    color: var(--brand-blue) !important;
    opacity: 0.85;
}

.nav-tabs-underline .nav-link.active {
    color: var(--brand-blue) !important;
    border-bottom: 3px solid var(--brand-blue) !important;
    font-weight: 600;
}

.software-item-card {
    background: #ffffff;
    border: 0.5px solid var(--card-border);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 100%;
    min-width: 0;
    transition: all 0.2s ease-in-out;
}

.software-item-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.app-details {
    min-width: 0;
    flex: 1 1 auto;
}

.app-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 2px 0;
    line-height: 1.3;
    word-break: break-word;
}

.file-size-badge {
    font-size: 0.775rem;
    font-weight: 500;
    color: var(--text-muted);
    display: inline-block;
}

.btn-download {
    background-color: var(--brand-blue);
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.btn-download:hover {
    background-color: var(--brand-blue-hover);
    color: #ffffff !important;
}

/* FRONT PAGE AND COURSES PAGE - TUTOR LMS CARDS & PAGINATION */
.tutor-course-loop-item,
.tutor-card,
.tutor-course-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.custom-tutor-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 20px;
}

.custom-tutor-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.12);
}

.custom-tutor-card a {
    text-decoration: none !important;
    box-shadow: none !important;
}

.custom-tutor-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.custom-tutor-card .tutor-course-badge,
.custom-tutor-card .tutor-badge-unit {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    width: fit-content;
    background-color: #e0e7ff !important;
    color: #3730a3 !important;
}

.custom-tutor-card .custom-card-title,
.custom-tutor-card .custom-card-title a,
.custom-tutor-card .tutor-course-name a {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none !important;
}

.custom-tutor-card .custom-card-title a:hover {
    color: var(--btn-readmore-bg) !important;
}

.custom-tutor-card .custom-card-author {
    margin-bottom: 6px !important;
}

.custom-tutor-card .custom-card-author a {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0284c7 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    display: inline-block;
}

.custom-tutor-card .custom-card-author a:hover {
    color: #0369a1 !important;
}

.custom-price-container {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px !important;
    min-height: 22px;
}

.custom-price-sale,
.custom-price-container .price ins,
.custom-price-container .price span:not(del span) {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #dc2626 !important;
    line-height: 1;
    text-decoration: none !important;
}

.custom-price-regular,
.custom-price-container .price del,
.custom-price-container .price del span {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-decoration: line-through !important;
    line-height: 1;
}

.custom-price-free {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #16a34a !important;
    line-height: 1;
}

.custom-price-container .tutor-course-loop-price,
.custom-price-container .price {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    align-items: baseline !important;
    gap: 8px !important;
}

.custom-tutor-card .tutor-ratings-stars,
.custom-tutor-card .tutor-star-rating-group {
    font-size: 14px;
    color: #f59e0b;
    font-weight: 400 !important;
    margin-top: auto;
}

.custom-tutor-card .tutor-ratings-count,
.custom-tutor-card .tutor-rating-text,
.custom-tutor-card .tutor-color-text-hints {
    font-size: 13px !important;
    color: #475467 !important;
    margin-left: 4px;
    font-weight: 400 !important;
}

.tutor-wrap, 
.tutor-container, 
.tutor-page-wrap,
.single-courses .tutor-wrap, 
.post-type-archive-courses .tutor-wrap,
body.single-courses #page, 
body.post-type-archive-courses #page {
    padding-top: 25px !important;
    padding-bottom: 15px !important;
    margin-top: 0 !important;
}

.tutor-course-filter-wrapper,
.tutor-single-course-segment,
.tutor-full-width-course-top {
    margin-top: 20px !important;
}

.tutor-pagination-wrapper, 
.tutor-pagination, 
.tutor-pagination-hints-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 30px auto 10px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
}

.tutor-pagination-hints,
.tutor-pagination-hints-wrapper > div:first-child,
.tutor-pagination-wrapper .tutor-fs-7 {
    display: none !important;
}

.tutor-pagination .page-numbers,
.tutor-pagination a, 
.tutor-pagination span,
.tutor-pagination-wrapper a, 
.tutor-pagination-wrapper span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 8px !important;
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
}

.tutor-pagination a:hover,
.tutor-pagination-wrapper a:hover {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.tutor-pagination .current,
.tutor-pagination span.current,
.tutor-pagination-wrapper .current {
    background-color: var(--btn-readmore-bg) !important;
    color: #ffffff !important;
    border-color: var(--btn-readmore-bg) !important;
}

.tutor-pagination .current::after,
.tutor-pagination a::after {
    display: none !important;
}
/*=========================================
GLOBAL CONTAINER BASE STYLES
=========================================*/
.job-vacancy-box,
.blog-wrapper-box {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

/*=========================================
 FRONT PAGE -  JOB VACANCY SECTION (LEFT COLUMN)
=========================================*/
.job-vacancy-box {
    padding: 15px 15px !important;
    width: 100% !important;
}

.job-vacancy-box .vacancy-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0a2540 !important;
    padding-bottom: 10px !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.job-vacancy-box .vacancy-title::after {
    display: none !important;
}

.job-vacancy-box .vacancy-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.job-vacancy-box .vacancy-item {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 7px 0 !important;
}

.job-vacancy-box .vacancy-item:last-child {
    border-bottom: none !important;
}

.job-vacancy-box .vacancy-item > a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    text-decoration: none !important;
}

/* CALENDAR ICON BADGE STYLING */
.calendar-card {
    width: 30px !important;
    height: 35px !important;
    min-width: 40px !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

.calendar-card .calendar-header {
    background-color: #ef4444 !important; /* Change to #2563eb for blue top bar */
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    padding: 2px 0 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

.calendar-card .calendar-body {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.job-vacancy-box .vacancy-text {
    font-size: 0.80rem !important;
    font-weight: 400 !important;
    color: #1e293b !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    line-clamp: 2 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.2s ease !important;
}

.job-vacancy-box .vacancy-item > a:hover .vacancy-text {
    color: #2563eb !important;
}

.job-vacancy-box .btn-outline-primary {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
}

/*=========================================
FRORNT PAGE - BLOG SLIDER SECTION (RIGHT COLUMN)
=========================================*/
.blog-wrapper-box {
    position: relative !important;
    padding: 16px 44px !important;
}

.blog-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 7px 12px;
}

.blog-wrapper-box .blog-img-box.ratio {
    --bs-aspect-ratio: 56.25% !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #f1f5f9 !important;
}

.blog-wrapper-box .blog-img-box img {
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.blog-wrapper-box .blog-card:hover .blog-img-box img {
    transform: scale(1.04) !important;
}

.blog-wrapper-box .blog-date {
    font-size: 0.78rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    margin-top: 4px !important;
}

.blog-wrapper-box .blog-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-top: 10px;
}

.blog-wrapper-box .blog-title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: -webkit-box !important;
    line-clamp: 2 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.blog-wrapper-box .blog-title a:hover {
    color: #2563eb !important;
}

.blog-wrapper-box .blog-excerpt {
    font-size: 0.85rem !important;
    color: #475569 !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
    margin-top: 6px !important;
    display: -webkit-box !important;
    line-clamp: 3 !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: left !important;
}

.blog-wrapper-box .btn-outline-primary {
    background: transparent !important;
    border: none !important;
    color: #2563eb !important;
    font-weight: 600 !important;
    padding: 0 !important;
    font-size: 0.82rem !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-top: 8px !important;
}

.blog-wrapper-box .btn-outline-primary::after {
    content: " →" !important;
    margin-left: 4px !important;
    transition: margin-left 0.2s ease !important;
}

.blog-wrapper-box .btn-outline-primary:hover::after {
    margin-left: 8px !important;
}

.home-updates-section .home-blog-nav-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50% !important;
    color: #2563eb !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    transition: all 0.2s ease !important;
}

.home-updates-section .home-blog-nav-btn::after {
    display: none !important;
}

.home-updates-section .home-blog-nav-btn.swiper-button-prev {
    left: 10px !important;
}

.home-updates-section .home-blog-nav-btn.swiper-button-next {
    right: 10px !important;
}

.home-updates-section .home-blog-nav-btn:hover {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

.home-updates-section .home-blog-nav-btn.swiper-button-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

/*=========================================
UPDATES TEMPLATE SPECIFIC STYLES 
=========================================*/

/* Single News Item Card */
.tab-content .news-item {
    display: flex !important;
    gap: 1.5rem !important;
    align-items: flex-start !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    background: transparent !important;
}

.tab-content .news-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Image Box (Fixed Proportions & Aspect Ratio) */
.tab-content .news-img-box {
    width: 250px !important;
    height: 155px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.tab-content .news-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.tab-content .news-item:hover .news-img-box img {
    transform: scale(1.03) !important;
}

/* Content Area Layout */
.tab-content .news-content {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.tab-content .news-date {
    font-size: 0.80rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    margin-bottom: 0.4rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.tab-content .news-date i,
.tab-content .news-date svg {
    color: #64748b !important;
}

.tab-content .news-title {
    font-size: 0.90rem !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}

.tab-content .news-title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
/* Blog Excerpt Text */
.tab-content .news-content p,
.tab-content .news-excerpt {
    font-size: 0.82rem !important; 
    line-height: 1.5 !important;   
    color: #475569 !important;    
    margin-bottom: 0.75rem !important;
    display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}
.tab-content .news-title a:hover {
    color: var(--bs-primary)!important;
}

 /* Pagination Styling for Light Theme */
.pagination-wrapper .page-numbers {
    display: flex !important;
    gap: 0.4rem !important;
    list-style: none !important;
    padding: 0 !important;
    justify-content: center !important;
}

.pagination-wrapper .page-numbers li a,
.pagination-wrapper .page-numbers li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 14px !important;
    font-size: 0.875rem !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.pagination-wrapper .page-numbers li span.current,
.pagination-wrapper .page-numbers li a:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

/* WIDGET AD BARS INTEGRATION */
.custom-ad-sidebar .widget_media_image img,
.custom-ad-sidebar .wp-block-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 6px;
    transition: opacity 0.2s ease-in-out;
}

.custom-ad-sidebar .widget_media_image a:hover img,
.custom-ad-sidebar .wp-block-image a:hover img {
    opacity: 0.92;
}

/*=========================================
RESPONSIVE MEDIA QUERIES
=========================================*/
@media (max-width: 991px) {
    .nav, .navbar-nav, .elementor-nav-menu,
    .mobile-menu, .site-navigation,
    .main-navigation ul, ul.menu {
        text-align: left !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .navbar-nav li, .elementor-nav-menu li, ul.menu li,
    .nav-link, .elementor-item, ul.menu a {
        text-align: left !important;
        justify-content: flex-start !important;
        width: 100% !important;
        padding-left: 20px !important;
    }

    .sub-menu, .dropdown-menu {
        text-align: left !important;
        padding-left: 15px !important;
        border-radius: 6px;
        box-shadow: none;
        margin-top: 0;
    }

    .header-account-menu, .user-menu,
    .cart-dashboard-logout {
        justify-content: flex-start !important;
        text-align: left !important;
        padding-left: 20px !important;
    }

    .navbar-nav {
        gap: 0;
        margin: 20px 0;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-nav .nav-link {
        padding: 14px 0 !important;
    }

    .navbar-nav .nav-link::before {
        display: none !important;
    }

    .header-auth {
        margin: 20px 0 0;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    #updatesTab {
        gap: 1rem !important;
        flex-wrap: wrap !important;
    }

    .news-item,
    .tab-content .news-item {
        flex-direction: column !important;
        align-items: stretch !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 16px !important;
        margin-bottom: 20px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    }

    .news-img-box,
    .tab-content .news-img-box {
        width: 100% !important;
        height: 180px !important;
        border-radius: 8px !important;
        margin-bottom: 14px !important;
    }

    .news-img-box img {
        border-radius: 8px !important;
    }

    .news-item > div:last-child {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .news-date {
        font-size: 0.82rem !important;
        color: #64748b !important;
        margin-bottom: 6px !important;
        font-weight: 500 !important;
    }

    .news-title {
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        line-height: 1.45 !important;
        color: #0f172a !important;
        margin-top: 0 !important;
        margin-bottom: 14px !important;
    }

    .btn-read-more {
        align-self: flex-start !important;
        display: inline-block !important;
        background-color: #182DB8 !important;
        color: #ffffff !important;
        padding: 8px 20px !important;
        font-size: 0.88rem !important;
        font-weight: 600 !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        box-shadow: 0 2px 6px rgba(24, 45, 184, 0.2) !important;
    }
}


/*=========================================
CONTAINER & TUTOR LMS 1300px / 1400px LAYOUT
=========================================*/

/* 1. Global Reset for Outer Wrappers on Tutor LMS Pages */
.single-courses .tutor-wrap,
.single-courses .tutor-container,
.single-courses .tutor-course-details-page,
.single-courses .tutor-full-width-course-top {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 2. Base Container Alignment & Box-Sizing */
.container,
.container-lg,
.container-xl,
.container-xxl,
.single-courses .tutor-course-details-wrapper,
.single-courses .tutor-course-details-page .tutor-container,
.single-courses .tutor-wrap .tutor-container {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

/* 3. Medium / Desktop Screens (992px to 1399px) -> Max-Width 1300px */
@media (min-width: 992px) and (max-width: 1399px) {
    .container,
    .container-lg,
    .container-xl,
    .tutor-container,
    .tutor-wrap,
    .single-courses .tutor-course-details-wrapper,
    .single-courses .tutor-course-details-page .tutor-container,
    .single-courses .tutor-wrap .tutor-container {
        max-width: 1300px !important;
    }
}

/* 4. Extra Large Screens (1400px and up) -> Max-Width 1400px */
@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-xl,
    .container-xxl,
    .tutor-container,
    .tutor-wrap,
    .single-courses .tutor-course-details-wrapper,
    .single-courses .tutor-course-details-page .tutor-container,
    .single-courses .tutor-wrap .tutor-container {
        max-width: 1400px !important;
    }
}
/* new testiomanl design ............................................................................. */ 
/* Header Styles */
.letter-spacing {
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

.header-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border-radius: 2px;
}

/* Tutor LMS Style Card (Style 2 Centered) */
.testimonial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Tutor LMS Hover Lift Effect */
.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Centered Circular Avatar with subtle ring glow */
.avatar-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Typography & Details */
.user-name {
    font-size: 1rem;
    color: var(--brand-blue);
}

.user-address {
    font-size: 0.75rem;
}

.testimonial-text {
    line-height: 1.6;
    color: var(--bg-dark-blue)!important;
    font-size: 0.85rem;
}

/* Navigation Buttons */
.nav-btn {
    width: 42px;
    height: 42px;
    transition: all 0.2s ease;
}

.nav-btn:hover:not(:disabled) {
    background-color: #3b82f6;
    color: #ffffff;
    transform: scale(1.05);
}

.nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
/* testimonial next prev button design */ 
/* Testimonials Wrapper relative container */
.testimonial-wrapper-box {
    position: relative;
    padding: 0 50px; /* Space on left/right so arrows don't overlap cards */
}

/* Ensure Swiper container allows arrows to float outside without clipping */
.testimonial-slider {
    overflow: hidden;
    position: static;
}

/* Base styling for Navigation Buttons */
.testimonials-section .home-blog-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    color: #0d6efd; /* Theme primary color */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    z-index: 10;
    margin-top: 0; /* Reset default Swiper margin */
    transition: all 0.3s ease;
}

/* Position left arrow outside cards */
.testimonials-section .testimonial-nav-prev {
    left: 0;
}

/* Position right arrow outside cards */
.testimonials-section .testimonial-nav-next {
    right: 0;
}

/* Remove default Swiper blue pseudo-element arrows */
.testimonials-section .swiper-button-next::after,
.testimonials-section .swiper-button-prev::after {
    display: none !important;
}

/* Hover effect */
.testimonials-section .home-blog-nav-btn:hover {
    background-color: #0d6efd;
    color: #ffffff;
    border-color: #0d6efd;
    box-shadow: 0 6px 14px rgba(13, 110, 253, 0.25);
}

/* Disabled state */
.testimonials-section .home-blog-nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
/* Allow room for hover lift/shadows without clipping top or bottom borders */
.testimonials-section .testimonial-slider {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    margin-top: -15px !important;
    margin-bottom: -15px !important;
}

/* Ensure individual slides don't clip overflowing shadows */
.testimonials-section .swiper-slide {
    overflow: visible;
}