/*
Theme Name: YD
Theme URI: https://technicalyd.com
Author: Yubaraj Dhakal
Description: eLearning Platform
Version: 1.5
Text Domain: yd
*/

/*=========================================
CSS VARIABLES (THEME COLORS)
=========================================*/
:root {
    --bg-dark-blue: #00142F;
    --accent-green: #19ff5c;
    --brand-blue: #0d6efd;
    --text-muted: #8899a6;
    --text-light: #ffffff;
    --text-dark: #010724;
    --light-blue: 0B238C;
               
}

/*=========================================
GLOBAL & STICKY FOOTER SETUP
=========================================*/
html, body {
    height: 100%;
    margin: 0;
}

body {
    color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Ensure main content area grows to keep footer at bottom */
main, .site-content, body > div:not(.custom-site-footer) {
    flex: 1 0 auto;
}

/*=========================================
HEADER
=========================================*/
.custom-navbar {
    background: var(--bg-dark-blue);
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
}

.custom-navbar .container {
    max-width: 1200px;
}

.custom-navbar .navbar-brand img {
    height: 55px;
    width: auto;
}

/*=========================================
MAIN MENU (BASE)
=========================================*/
.navbar-nav {
    gap: 30px;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 0 !important;
    position: relative;
    transition: .3s ease;
}

/* Hover + Active Color */
.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;
}

/*=========================================
DESKTOP MAIN MENU UNDERLINE (min-width: 992px)
=========================================*/
@media (min-width: 992px) {
    /* Top-level menu underline animation setup */
    .navbar-nav > .nav-item > .nav-link::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 2px;
        width: 0;
        height: 2px;
        background: var(--accent-green);
        transition: .3s ease;
    }

    /* Expand underline on top-level hover and active */
    .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%;
    }

    /* Dropdown hover behavior */
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: .25s ease;
    }

    .navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/*=========================================
DROPDOWN ARROW
=========================================*/
.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: .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 (SUBMENU)
=========================================*/
.dropdown-menu {
    background: var(--bg-dark-blue);
    border: none;
    border-radius: 10px;
    min-width: 260px;
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-item {
    color: var(--text-light) !important;
    background: transparent !important;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    position: relative;
    transition: .3s ease;
}

.dropdown-item::before {
    display: none !important;
}

/* Dropdown hover and active states */
.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,
.dropdown-menu .current-menu-item > .dropdown-item,
.dropdown-menu .current_page_item > .dropdown-item,
.dropdown-menu .current-menu-parent > .dropdown-item,
.dropdown-menu .current-menu-ancestor > .dropdown-item {
    background: transparent !important;
    color: var(--accent-green) !important;
}

/*=========================================
RIGHT SIDE AUTH & CART
=========================================*/
.header-auth {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 30px;
}

.cart-icon {
    position: relative;
    color: var(--text-dark);
    font-size: 22px;
    text-decoration: none;
    transition: .3s;
}

.cart-icon:hover {
    color: var(--accent-green);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    width: 18px;
    height: 18px;
    background: #ffc107;
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: bold;
}

.user-name,
.login-link {
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.user-name {
    white-space: nowrap;
}

.login-link:hover {
    color: var(--accent-green);
}

.register-btn {
    background: var(--text-light);
    color: var(--brand-blue);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.register-btn:hover {
    background: var(--brand-blue);
    color: var(--text-light);
}

/*=========================================
MOBILE NAV (max-width: 991px)
=========================================*/
@media (max-width: 991px) {
    .navbar-nav {
        gap: 0;
        margin: 20px 0;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .navbar-nav .nav-link {
        padding: 14px 0 !important;
    }

    .navbar-nav .nav-link::before {
        display: none !important;
    }

    .dropdown-menu {
        border-radius: 6px;
        box-shadow: none;
        margin-top: 0;
    }

    .navbar-nav .dropdown-toggle::after {
        display: inline-block;
    }

    .header-auth {
        margin: 20px 0 0;
        width: 100%;
        justify-content: flex-start;
    }
}

/*=========================================
UPDATES TEMPLATE & TABS
=========================================*/
.custom-tabs {
    border-bottom: 2px solid #1d2c3f !important;
    padding-bottom: 0;
    margin-bottom: 1.5rem;
}

.custom-tabs .nav-link {
    color: var(--text--dark);
    font-weight: 600;
    font-style: italic;
    border: none;
    font-size: 1.1rem;
    padding-bottom: 10px;
    margin: 0 15px;
    background-color: transparent;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease-in-out;
}

.custom-tabs .nav-link:hover,
.custom-tabs .nav-link.active {
    color: #28a745;
    border-bottom: 2px solid #28a745;
}

/* News Cards */
.news-item {
    border-bottom: 1px solid #132238;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.news-item:last-child {
    border-bottom: none;
}

.news-img-box {
    width: 200px;
    height: 125px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.news-img-box img,
.sidebar-banner img,
.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date,
.blog-date {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.news-title {
    color: #000;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 6px;
    margin-bottom: 12px;
}

.btn-read-more {
    background-color: #182DB8;
    color: var(--text-light);
    border: 1px solid #182DB8;
    padding: 6px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.btn-read-more:hover {
    background-color: #e2a838;
    color: #121e2d;
}

.sidebar-banner {
    border-radius: 4px;
    overflow: hidden;
}

.sidebar-banner img {
    height: auto;
}

/*=========================================
PAGINATION
=========================================*/
.pagination-wrapper ul.page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 8px;
}

.pagination-wrapper ul.page-numbers li a,
.pagination-wrapper ul.page-numbers li span {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination-wrapper ul.page-numbers li span.current {
    background-color: var(--brand-blue);
    color: var(--text-light);
    border-color: var(--brand-blue);
}

/*=========================================
CO QUIZ TABS
=========================================*/
.co-page-wrapper {
    background-color: #F5F0F0 !important;
}

#coQuizTabs .nav-link {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    background: transparent !important;
    transition: all 0.2s ease-in-out;
}

#coQuizTabs .nav-link:hover,
#coQuizTabs .nav-link.active {
    color: #28a745 !important;
    border-bottom: 3px solid #28a745 !important;
}

#coQuizTabs .nav-item {
    margin-left: 6px;
    margin-right: 6px;
}

/*=========================================
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;
}

/*=========================================
HOMEPAGE UPDATES & VACANCY SECTION
=========================================*/
.home-updates-section {
  color: var(--text-dark)!important;
}

/* --- JOB VACANCY STYLING --- */
.vacancy-title {
    color: #00c8ff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.vacancy-list .arrow-icon {
    color: var(--text-dark);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.4;
}

.vacancy-list .vacancy-text {
    color: var(--text-dark);
    font-size: 0.92rem;
    line-height: 1.5;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.vacancy-list a:hover .vacancy-text {
    color: var(--light-blue);
}

.btn-view-all {
    display: inline-block;
    border: 1px solid #1d3250;
    background-color: var(--light-blue);
    color: var(--text-dark);
    padding: 8px 30px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    border-color: var(--light-blue);
    color: var(--text-light);
    background-color:  var(--text-dark);
}

/* --- BLOG CARDS STYLING --- */
.blog-card {
    background: transparent;
}

.blog-img-box {
    width: 100%;
    height: 170px;
    overflow: hidden;
    border-radius: 6px;
}

.blog-img-box img {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-img-box img {
    transform: scale(1.05);
}

.blog-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
}

.blog-title a {
    color: var(--text-dark)!important;
    text-decoration: none!important;
    transition: color 0.2s ease;
}

.blog-title a:hover {
    color: var(--light-blue);
    text-decoration: none !important;
}

.blog-excerpt {
    color:var(--text-dark);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.btn-blog-read {
    display: inline-block;
    background-color: #132135;
    color: #ffc107;
    padding: 8px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.btn-blog-read:hover {
    background-color: #ffc107;
    color: #000000;
}

/* =========================================
   CONTACT US TEMPLATE (LIGHT THEME)
========================================= */

/* Global Light Page Wrapper */
.contact-page-wrapper {
  background-color: #ffffff !important;
  color: var(--text-dark)!important; /* Ensures clean, readable dark text */
}

/* Custom Form Input Styling */
.light-input {
  background-color: #f8f9fa !important; /* Soft subtle gray fill */
  border: 1px solid #ced4da !important;   /* Standard crisp border */
  color: var(--text-dark)!important;             /* Dark text for maximum readability */
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 15px;
  transition: all 0.2s ease-in-out;
}

/* Input Placeholder Text Color */
.light-input::placeholder {
  color: #6c757d !important;             /* Subtle gray placeholder */
  opacity: 1;
}

/* Input Focus State */
.light-input:focus {
  background-color: #ffffff !important;   /* Shifts to pure white when active */
  border-color: #007bff !important;       /* Vibrant blue focus border */
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15) !important;
  color: #212529 !important;
  outline: none;
}

/* Custom Submit Button Styling */
.btn-submit {
  background-color: #007bff !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;
}

/* SVG Icon & Details Container Styling */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #007bff; /* Primary theme color for icons */
}

/* Typography Helpers for Light Background (Headings, Labels & Subtitles) */
.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; /* Dark charcoal header/label text */
}

.contact-page-wrapper p,
.contact-page-wrapper .contact-info-text {
  color: var(--text-dark)!important; /* Slate gray body text */
}

/* courses page   */
/* =========================================
   TUTOR LMS COURSE ARCHIVE PAGE FIX
========================================= */

/* Wrap Tutor LMS main layout in a centered container */
.post-type-archive-courses .site-main,
.page-template-default .tutor-wrap,
.tutor-course-filter-wrapper,
.tutor-courses-wrap {
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Ensure padding above and below content to clear Header and Footer */
.tutor-wrap,
.tutor-courses-wrap {
    padding-top: 40px !important;
    padding-bottom: 60px !important;
}

/* Clear floating issues causing footer overlap */
.tutor-course-filter-wrapper::after,
.tutor-courses-wrap::after {
    content: "";
    display: table;
    clear: both;
}



/* =========================================
   HOMEPAGE TUTOR LMS COURSE CARDS (LIGHT)
========================================= */

.homepage-courses-section {
    background-color: #ffffff !important;
    color: #212529;
}

/* Category Filter Tabs */
.course-filter-tabs {
    gap: 10px;
    border: none !important;
}

.course-filter-tabs .nav-link {
    background-color: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.course-filter-tabs .nav-link:hover,
.course-filter-tabs .nav-link.active {
    background-color: #0d6efd !important; /* Primary Brand Blue */
    color: #ffffff !important;
    border-color: #0d6efd !important;
}

/* Card Styling */
.tutor-custom-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tutor-custom-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-thumb-box img {
    height: 165px;
    object-fit: cover;
}

/* Badges (Featured & Discount) */
.badge-container .badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 3px;
}

/* Course Level Badges */
.level-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.level-badge.level-beginner {
    color: #0369a1;
    background-color: #e0f2fe;
}

.level-badge.level-intermediate {
    color: #15803d;
    background-color: #dcfce7;
}

.level-badge.level-expert {
    color: #b91c1c;
    background-color: #fee2e2;
}

/* Title & Author */
.course-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

.course-card-title a {
    color: #0f172a !important; /* Dark slate header text */
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.course-card-title a:hover {
    color: #0d6efd !important; /* Highlight blue on hover */
}

.course-author-name {
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Prices */
.price-current {
    color: #dc2626; /* Vibrant Red */
    font-weight: 800;
    font-size: 1.1rem;
}

.price-old {
    color: #94a3b8; /* Muted gray line-through price */
    text-decoration: line-through;
    font-size: 0.88rem;
}

/* Ratings */
.stars-yellow {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
}

.rating-count {
    color: #64748b;
    font-size: 12px;
}

/* View All Courses Button */
.btn-view-all-courses {
    display: inline-block;
    background-color: #0d6efd;
    color: #ffffff !important;
    padding: 12px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
    transition: all 0.2s ease-in-out;
}

.btn-view-all-courses:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.3);
}

/* Dashboard & Logout Header Button Styling */
.header-auth .dashboard-btn {
     background-color: #ffffff;
    color: #00142F !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
    display: inline-block;
}

.header-auth .dashboard-btn:hover {
    background-color: var(--accent-green, #19ff5c);
    color: #00142F !important;
    transform: translateY(-1px);
}

.header-auth .logout-link {
    color: var(--text-light, #ffffff) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease-in-out;
}

.header-auth .logout-link:hover {
    color: #f87171 !important; /* Soft red highlight on hover */
}



/* Custom Light Theme Adjustments for Single Post */

/* Clean text truncating for titles */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hover effect on Prev/Next navigation cards */
.hover-shadow {
    transition: all 0.2s ease-in-out;
}

.hover-shadow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
    border-color: #0d6efd !important; /* Bootstrap primary color highlight */
}


/* White Theme Custom Comment Form Styles */
.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: #0d6efd !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: #0d6efd;
    border-color: #0d6efd;
}

.custom-submit-btn {
    background-color: #0d6efd !important;
    border-radius: 6px !important;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.custom-submit-btn:hover {
    background-color: #0b5ed7 !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -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: #0d6efd !important;
}


/* blog post bottom coment, Styling for User Comments List at the Bottom */

.comment-list .comment {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    list-style: none;
}

/* Comment Author Avatar */
.comment-list .avatar {
    border-radius: 50%;
    margin-right: 12px;
    float: left;
}

/* Comment Meta (Author Name & Date) */
.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 Text Body */
.comment-list .comment-content p {
    color: #495057;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Reply Link Button */
.comment-list .reply a {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
    margin-top: 0.25rem;
}

/* Nested Replies (Threaded Comments) Indentation */
.comment-list .children {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 1rem;
    border-left: 2px solid #dee2e6;
}



/* Sidebar Light Theme Enhancements */

.search-form input:focus {
    background-color: #ffffff !important;
    border-color: #86b7fe !important;
    box-shadow: none !important;
}

.hover-primary:hover {
    color: #0d6efd !important;
    transition: color 0.2s ease-in-out;
}

.hover-primary-btn:hover {
    background-color: #0d6efd !important;
    color: #ffffff !important;
    border-color: #0d6efd !important;
    transition: all 0.2s ease-in-out;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* catogory page css */
/* Card Hover & Smooth Zoom Effects */
.transition {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

.card-img-zoom {
    transition: transform 0.4s ease;
}

.card-hover:hover .card-img-zoom {
    transform: scale(1.05);
}

/* Typography Line Clamping */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hover Primary Blue Color */
.hover-primary:hover {
    color: #0d6efd !important;
}

/* Read More Arrow Animation */
.hover-arrow .transition-icon {
    transition: transform 0.2s ease;
    display: inline-block;
}

.hover-arrow:hover .transition-icon {
    transform: translateX(4px);
}

/* Custom Bootstrap Pagination Style */
.custom-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.custom-pagination .page-numbers:hover,
.custom-pagination .page-numbers.current {
    background: #0d6efd;
    color: #ffffff;
    border-color: #0d6efd;
}

/* Sidebar Ad Styling */
.ad-sidebar {
    z-index: 10;
}

.ad-hover-zoom img {
    transition: transform 0.3s ease-in-out;
}

.ad-hover-zoom:hover img {
    transform: scale(1.03);
}

.uppercase-text {
    letter-spacing: 0.5px;
    text-transform: uppercase;
}