/* Custom Styles for Perk Group Africa Welcome Page */

/* ===========================
   FONT IMPORTS
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ===========================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =========================== */
:root {
    /* Primary Colors */
    --color-primary-blue: #272f5e;
    /* Pantone 534 C - C96 M90 Y34 K26 */
    --color-primary-orange: #f97300;
    /* Pantone 152 C - C5 M66 Y100 K1 */
    --color-primary-black: #000;
    /* C0 M0 Y0 K100 */

    /* Secondary Colors */
    --color-secondary-coral: #ed8673;
    /* Pantone 170 C - C0 M60 Y48 K0 */
    --color-secondary-yellow: #ffc72a;
    /* Pantone 123 C - C0 M23 Y91 K0 */
    --color-secondary-cyan: #0098ce;
    /* Pantone 801 C - C100 M17 Y9 K0 */

    /* Font Families */
    --font-primary: 'EB Garamond', 'Garamond', serif;
    --font-secondary: 'Montserrat', sans-serif;

    /* Legacy color mappings for backward compatibility */
    --color-blue: var(--color-primary-blue);
    --color-orange: var(--color-primary-orange);
    --color-black: var(--color-primary-black);
}

/* ===========================
   BASE STYLES
   =========================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    background-color: #fff;
}

a {
    color: var(--color-primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-primary-orange);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Container helpers */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1440px;
    }
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Flexbox utilities */
.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.justify-content-center {
    justify-content: center !important;
}

.flex-nowrap {
    flex-wrap: nowrap !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

/* ===========================
   HEADER STYLES
   =========================== */

/* Header base */
.whb-header {
    position: relative;
    z-index: 1000;
}

.whb-main-header {
    background: #fff;
}

/* Header rows - flexbox structure */
.whb-row {
    width: 100%;
}

.whb-flex-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.whb-column {
    position: relative;
}

.whb-col-left {
    flex: 0 0 auto;
}

.whb-col-center {
    flex: 1 1 auto;
}

.whb-col-right {
    flex: 0 0 auto;
}

/* Spacing helpers */
.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters>.col,
.no-gutters>[class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

/* Social icons spacing */
.wd-social-icons {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.wd-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

/* Header text */
.wd-header-text {
    display: inline-block;
}

/* Categories menu column - positioning context for dropdown */
.whb-header-bottom .whb-col-left {
    position: relative;
}

/* Top Bar */
.whb-top-bar {
    background-color: var(--color-primary-orange) !important;
    /* Orange */
    color: #ffffff !important;
    font-size: 12px !important;
}

.whb-top-bar a,
.whb-top-bar i,
.whb-top-bar span,
.whb-top-bar strong {
    color: #ffffff !important;
    font-size: 12px !important;
}

.whb-top-bar .whb-flex-row {
    min-height: 40px;
    justify-content: space-between !important;
}

/* Navbar */
.whb-header-bottom {
    background-color: var(--color-primary-blue) !important;
    /* Dark Blue */
    color: #ffffff !important;
}

.whb-header-bottom .whb-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.whb-header-bottom .whb-flex-row {
    justify-content: flex-start !important;
}

.woodmart-nav-link .nav-link-text {
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
}

/* Sticky Navigation Bar - Force it to stick! */
.whb-header-bottom.whb-sticky-row.whb-sticked {
    position: fixed !important;
    top: 0 !important;
    z-index: 1001 !important;
    width: 100% !important;
    left: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.whb-header-bottom.whb-sticky-row {
    transition: all 0.3s ease;
}

/* Override whb-without-bg for sticky nav */
.whb-header-bottom.whb-without-bg {
    background-color: #ffffff !important;
}

.whb-sticky-row.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Keep ALL COURSES button styled */
.wd-header-cats {
    padding: 10px 15px;
    color: #fff;
    margin-right: 90px;
}

/* Navigation menu items spacing and styling */
.wd-nav-main.menu {
    gap: 25px !important;
}

.woodmart-nav-link {
    padding: 8px 0 !important;
}

.woodmart-nav-link .nav-link-text {
    color: var(--color-primary-blue) !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.woodmart-nav-link:hover .nav-link-text {
    color: var(--color-primary-orange) !important;
}

/* ===========================
   DROPDOWN MENU STYLES
   =========================== */

/* Parent menu item with dropdown */
.menu-item-has-children {
    position: relative;
}

/* Dropdown menu container */
.menu-item-has-children .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--color-primary-orange);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
}

/* Show dropdown on hover */
.menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown menu items */
.menu-item-has-children .sub-menu li {
    margin: 0;
    padding: 0;
    white-space: normal;
}

/* Dropdown menu links */
.menu-item-has-children .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

/* Dropdown menu link hover */
.menu-item-has-children .sub-menu li a:hover {
    background: #f8f9fa;
    color: var(--color-primary-orange);
    border-left-color: var(--color-primary-orange);
    padding-left: 25px;
}

/* Active state for parent when dropdown is open */
.menu-item-has-children:hover>.woodmart-nav-link .nav-link-text {
    color: var(--color-primary-orange) !important;
}

/* Main Header */
.whb-general-header {
    padding: 15px 0;
}

/* Hero Wrapper */
.hero-wrapper {
    margin-top: 0;
}

/* Search Form */
.wd-search-form {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.wd-search-form input[type="text"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 0;
    height: 45px;
}

.wd-search-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 45px;
    width: 50px;
    background-color: var(--color-primary-blue);
    color: #fff;
    border: none;
    cursor: pointer;
}

/* Register Button */
.btn-register {
    background-color: var(--color-primary-blue);
    color: #fff;
    padding: 10px 25px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 0;
}

.btn-register:hover {
    background-color: #1a2b3c;
    color: #fff;
}

/* Hero Section */
.hero-wrapper {
    margin: 0;
    padding: 0;
}

.hero-section-full {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-section-full .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-section-full .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 80px 0;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--color-primary-orange);
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 15px 30px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-primary {
    background-color: var(--color-primary-blue);
    color: #ffffff;
    border: 2px solid var(--color-primary-blue);
}

.btn-hero-primary:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-hero-secondary {
    background-color: var(--color-primary-orange);
    color: #ffffff;
    border: 2px solid var(--color-primary-orange);
}

.btn-hero-secondary:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Responsive hero */
@media (max-width: 768px) {
    .hero-section-full {
        min-height: 500px;
    }

    .hero-content {
        text-align: center !important;
        padding: 30px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        justify-content: center;
    }
}

/* Section Titles */
.section-title {
    color: var(--color-primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
    font-family: var(--font-primary);
}

.section-subtitle {
    color: var(--color-primary-orange);
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

/* Course Cards */
.course-card {
    border: 1px solid #eee;
    margin-bottom: 30px;
    transition: transform 0.3s;
}

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

.course-card img {
    width: 100%;
    height: auto;
}

.course-card-body {
    padding: 15px;
    text-align: center;
}

/* Footer */
.footer-container {
    background-color: #111;
    color: #ccc;
    padding-top: 50px;
}

.footer-widget {
    text-align: center;
}

.footer-widget .widget-title {
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.footer-widget ul {
    padding-left: 0;
    list-style: none;
}

.footer-widget li {
    margin-bottom: 10px;
}


/* Vertical Menu */
.vertical-navigation {
    position: relative;
    z-index: 100;
    height: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
}

/* Hide vertical menu on mobile since categories are in mobile nav */
@media (max-width: 991px) {
    #vertical-menu-wrapper {
        display: none !important;
    }
}

/* Vertical menu dropdown functionality */
#vertical-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 998;
    width: 250px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#vertical-menu-wrapper.show {
    display: block;
}

/* Vertical menu list styling */
.vertical-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vertical-menu-list>li {
    position: relative;
    border-bottom: 1px solid #eee;
}

.vertical-menu-list>li:last-child {
    border-bottom: none;
}

.vertical-menu-list>li>a {
    display: block;
    padding: 15px 20px;
    color: var(--color-primary-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.vertical-menu-list>li>a i {
    margin-right: 10px;
    color: var(--color-primary-orange);
    width: 20px;
}

.vertical-menu-list>li:hover>a,
.vertical-menu-list>li.active>a {
    background-color: var(--color-primary-orange);
    color: #ffffff;
}

.vertical-menu-list>li:hover>a i,
.vertical-menu-list>li.active>a i {
    color: #ffffff;
}

/* Submenu styles */
.vertical-menu-list .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 350px;
    background: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 999;
}

.vertical-menu-list>li.has-submenu:hover .submenu {
    display: block;
}

.vertical-menu-list .submenu li {
    border-bottom: 1px solid #f5f5f5;
}

.vertical-menu-list .submenu li:last-child {
    border-bottom: none;
}

.vertical-menu-list .submenu li a {
    display: block;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.2s ease;
    text-transform: none;
}

.vertical-menu-list .submenu li a:hover {
    background-color: #f8f9fa;
    color: var(--color-primary-blue);
    padding-left: 25px;
}

/* Arrow indicator for items with submenu */
.vertical-menu-list>li.has-submenu>a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    font-size: 11px;
}

/* Smooth chevron rotation */
.fa-chevron-down {
    transition: transform 0.3s ease;
}

/* Make menu opener clickable */
.menu-opener {
    cursor: pointer;
    user-select: none;
}

.vertical-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vertical-menu-list li {
    border-bottom: 1px solid #eee;
}

.vertical-menu-list li:last-child {
    border-bottom: none;
}

.vertical-menu-list li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.vertical-menu-list li a:hover {
    background-color: #f9f9f9;
    color: var(--color-primary-blue);
    padding-left: 25px;
}

.vertical-menu-list li a i {
    width: 25px;
    color: #ccc;
    margin-right: 10px;
    font-size: 14px;
}

.vertical-menu-list li a:hover i {
    color: var(--color-primary-orange);
}

/* ===========================
   SECTION UTILITIES
   ===========================*/
/* Section Wrappers */
.section-wrapper {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-wrapper-alt {
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* Training section with vertical separator */
.section-wrapper-alt .row {
    position: relative;
}

.section-wrapper-alt .col-md-6:first-child {
    padding-right: 40px;
}

.section-wrapper-alt .col-md-6:last-child {
    padding-left: 40px;
    position: relative;
}

.section-wrapper-alt .col-md-6:last-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #ddd;
}

@media (max-width: 767px) {

    .section-wrapper-alt .col-md-6:first-child,
    .section-wrapper-alt .col-md-6:last-child {
        padding-right: 15px;
        padding-left: 15px;
    }

    .section-wrapper-alt .col-md-6:last-child::before {
        display: none;
    }
}

.section-inner {
    max-width: 800px;
    margin: 0 auto;
}

/* Statistics Cards */
.stats-container {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    background: #fff;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.stat-card {
    text-align: center;
    padding: 15px;
}

.stat-number {
    font-size: 36px;
    color: var(--color-primary-blue);
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

/* Event Cards */
.month-header {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card {
    background: linear-gradient(135deg, #3ec2d7 0%, #2eabc0 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(62, 194, 215, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    box-shadow: 0 6px 20px rgba(62, 194, 215, 0.4);
    transform: translateY(-3px);
}

.event-card-body {
    display: flex;
    width: 100%;
    padding: 20px 25px;
}

.event-date-badge {
    color: #ffffff;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 25px;
    position: relative;
}

.event-status-icon {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, #ff1744 0%, #dc3545 100%);
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.5);
    border: 3px solid #fff;
    z-index: 10;
    animation: pulse 2s ease-in-out infinite;
}

.event-status-icon .live-text {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
}

.event-date-day {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    display: block;
}

.event-date-month {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
    display: block;
    letter-spacing: 1.5px;
}

.event-details {
    flex: 1;
    color: #ffffff;
}

.event-details h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.event-location {
    font-size: 13px;
    color: #ffffff;
    opacity: 0.95;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-location i {
    color: #ffffff;
}

.event-countdown {
    margin-top: 12px;
}

.event-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.event-progress-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.event-time-left {
    font-size: 12px;
    color: #ffffff;
    font-weight: 600;
    opacity: 0.95;
}

/* Enhanced Course Cards */
.course-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary-blue);
}

.course-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.course-card-body {
    padding: 20px;
    text-align: center;
}

.course-card-body .btn {
    transition: all 0.3s ease;
}

.course-card-body .btn:hover {
    background-color: var(--color-primary-blue);
    color: #fff;
    transform: translateX(5px);
}

/* Partner Logo Grid */
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.partner-logo {
    flex: 0 0 auto;
    max-width: 150px;
    padding: 15px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.partner-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Alert Styles */
.alert-custom {
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    color: #6c757d;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 991px) {
    .hero-section {
        min-height: 350px;
        padding: 30px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .btn-hero {
        padding: 10px 20px;
        font-size: 14px;
        margin: 5px;
    }

    .stats-container {
        margin-top: 20px;
        padding: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .section-wrapper {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 300px;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-hero {
        display: block;
        width: 100%;
        margin: 0;
    }

    .stats-container {
        padding: 15px;
    }

    .stat-card {
        margin-bottom: 20px;
    }

    .event-card-body {
        flex-direction: column;
        text-align: center;
    }

    .event-date-badge {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .partner-grid {
        gap: 20px;
    }

    .partner-logo {
        max-width: 120px;
    }

    .section-wrapper {
        padding: 30px 0;
    }
}

/* ===========================
   UTILITIES & HELPERS
   =========================== */

.text-muted {
    color: #6c757d !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* ===========================
   MOBILE NAVIGATION
   =========================== */

/* Mobile visibility helpers */
.whb-visible-mobile {
    display: none !important;
}

.whb-hidden-mobile {
    display: block !important;
}

@media (max-width: 991px) {
    .whb-visible-mobile {
        display: block !important;
    }

    .whb-hidden-mobile {
        display: none !important;
    }

    .whb-visible-lg {
        display: none !important;
    }
}

/* Mobile header row */
.whb-mobile-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Hamburger menu button */
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-primary-blue);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--color-primary-orange);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--color-primary-orange);
    outline-offset: 2px;
}

/* Mobile register button */
.btn-register-mobile {
    background-color: var(--color-primary-blue);
    color: #fff;
    padding: 8px 15px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-register-mobile:hover {
    background-color: var(--color-primary-orange);
    color: #fff;
    text-decoration: none;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile menu drawer */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-drawer.active {
    left: 0;
}

/* Mobile menu header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--color-primary-blue);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--color-primary-orange);
}

.mobile-menu-close:focus {
    outline: 2px solid var(--color-primary-orange);
    outline-offset: 2px;
}

/* Mobile menu content */
.mobile-menu-content {
    padding: 20px;
}

/* Mobile search */
.mobile-search {
    margin-bottom: 25px;
}

.mobile-search .wd-search-form {
    max-width: 100%;
}

.mobile-search input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.mobile-search button {
    right: 5px;
    top: 5px;
    height: calc(100% - 10px);
    border-radius: 4px;
}

/* Mobile menu list */
.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid #eee;
}

.mobile-menu-list li:last-child {
    border-bottom: none;
}

.mobile-menu-list li a {
    display: flex;
    align-items: center;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.mobile-menu-list li a:hover {
    color: var(--color-primary-blue);
    padding-left: 10px;
}

.mobile-menu-list li a i {
    width: 30px;
    color: var(--color-primary-orange);
    font-size: 16px;
    margin-right: 10px;
}

/* Mobile menu accordion button */
.mobile-menu-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 0;
    background: none;
    border: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.mobile-menu-accordion-btn:hover {
    color: var(--color-primary-blue);
}

.mobile-menu-accordion-btn span {
    display: flex;
    align-items: center;
}

.mobile-menu-accordion-btn span i {
    width: 30px;
    color: var(--color-primary-orange);
    font-size: 16px;
    margin-right: 10px;
}

.mobile-menu-accordion-btn>i {
    color: #999;
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Mobile submenu */
.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    background: #f8f9fa;
    border-radius: 4px;
}

.mobile-submenu li {
    border-bottom: 1px solid #e9ecef;
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 15px 12px 40px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-submenu li a:hover {
    background: #fff;
    color: var(--color-primary-orange);
    padding-left: 45px;
}

/* Mobile menu sections */
.mobile-menu-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.mobile-menu-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary-blue);
    text-transform: uppercase;
    margin: 20px 0 15px 0;
    padding: 0 20px;
}

/* Mobile Accordion Menu */
.mobile-accordion-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: var(--color-primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background: #fff;
    transition: background 0.3s ease;
}

.accordion-toggle:hover {
    background: #f8f9fa;
}

.accordion-toggle i:first-child {
    margin-right: 12px;
    color: var(--color-primary-orange);
    width: 20px;
}

.accordion-arrow {
    color: #999;
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
}

.accordion-content.show {
    display: block;
}

.accordion-content li {
    border-bottom: 1px solid #e9ecef;
}

.accordion-content li:last-child {
    border-bottom: none;
}

.accordion-content li a {
    display: block;
    padding: 12px 20px 12px 52px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.accordion-content li a:hover {
    background: #fff;
    color: var(--color-primary-orange);
    padding-left: 57px;
}

/* Mobile contact section */
.mobile-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #666;
    font-size: 14px;
}

.mobile-contact p i {
    width: 30px;
    color: var(--color-primary-orange);
    margin-right: 10px;
}

/* Mobile social icons */
.mobile-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.mobile-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-primary-blue);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-social-icons a:hover {
    background: var(--color-primary-orange);
    transform: translateY(-2px);
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .mobile-menu-drawer {
        width: 280px;
        left: -280px;
    }

    .btn-register-mobile {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* ===========================
   COURSE DETAIL PAGE
   =========================== */

/* Course Hero Section */
.course-hero {
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, #1a2b3c 100%) !important;
    padding: 10px 0 12px 0;
    color: #ffffff;
    background-attachment: scroll !important;
    background-size: cover !important;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 8px;
}

.breadcrumb-item {
    font-size: 12px;
    text-transform: uppercase;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #ffffff;
}

.breadcrumb-item.active {
    color: var(--color-primary-orange);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.6);
}

.course-hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Course Content Section */
.course-content-section {
    padding: 12px 0;
    background: #ffffff;
}

/* Tabbed Navigation Styling */
.custom-course-tabs {
    border-bottom: 2px solid #eee;
}

.custom-course-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.custom-course-tabs .nav-link:hover {
    color: var(--color-primary-blue);
    border-bottom-color: #ddd;
}

.custom-course-tabs .nav-link.active {
    color: var(--color-primary-blue) !important;
    background: transparent !important;
    border-bottom-color: var(--color-primary-orange) !important;
}

.tab-pane-content {
    padding-top: 10px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-section.no-margin {
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
}



.course-main-image {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.course-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 8px;
}

.course-section {
    background: #ffffff;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.section-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--color-primary-orange);
}

.course-section p {
    line-height: 1.35;
    color: #555;
    margin-bottom: 6px;
}

/* Module Items */
.module-item {
    margin-bottom: 10px;
}

.module-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 6px;
}

.module-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-item li {
    padding: 4px 0 4px 20px;
    position: relative;
    color: #555;
    line-height: 1.3;
}

.module-item li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Course Note */
.course-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.course-note p {
    margin: 0;
    color: #856404;
}

/* Share Section */
.share-section {
    background: #ffffff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.share-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 8px;
}

.social-share-buttons {
    display: flex;
    gap: 6px;
}

.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Schedule Widget */
.schedule-widget {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.widget-title {
    background: var(--color-primary-blue);
    color: #ffffff;
    padding: 10px 15px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.schedule-table-wrapper {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    margin: 0;
}

.schedule-table thead {
    background: #f8f9fa;
}

.schedule-table th {
    padding: 8px 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-primary-blue);
    text-transform: uppercase;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.schedule-table td {
    padding: 8px 6px;
    font-size: 11px;
    color: #555;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

.schedule-table tbody tr:hover {
    background: #f8f9fa;
}

.btn-apply {
    background: var(--color-primary-blue);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: var(--color-primary-orange);
    color: #ffffff;
}

/* Info Widget */
.info-widget {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-widget .widget-title {
    background: #f8f9fa;
    color: var(--color-primary-blue);
    padding: 10px 15px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.info-widget p {
    padding: 12px 15px;
    margin: 0;
    line-height: 1.3;
    color: #555;
}

/* Highlight Widget */
.highlight-widget {
    border: 2px solid var(--color-primary-orange);
}

.highlight-widget .widget-title {
    background: var(--color-primary-orange);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .course-hero-title {
        font-size: 28px;
    }

    .course-detail-title {
        font-size: 24px;
    }

    .schedule-table {
        font-size: 11px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 8px 6px;
    }


}

@media (max-width: 767px) {
    .course-hero-title {
        font-size: 22px;
    }

    .course-section {
        padding: 20px;
    }

    .breadcrumb-item {
        font-size: 10px;
    }
}

/* ===========================
   REGISTRATION MODAL STYLES
   =========================== */

/* Modal Content */
.registration-modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Modal Header */
.registration-modal-header {
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, #1a2b3c 100%);
    color: #ffffff;
    border-radius: 12px 12px 0 0;
    padding: 20px 30px;
    border-bottom: none;
}

.registration-modal-header .modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.registration-modal-header .modal-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.registration-modal-header .close {
    color: #ffffff;
    opacity: 0.8;
    text-shadow: none;
    font-size: 30px;
    font-weight: 300;
    margin-top: -10px;
}

.registration-modal-header .close:hover {
    opacity: 1;
    color: var(--color-primary-orange);
}

/* Modal Body - Scrollable */
.modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    padding: 25px 30px;
}

/* Custom Scrollbar for Modal Body */
.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Form Sections */
.registration-modal-content .form-group label {
    font-weight: 600;
    color: var(--color-primary-blue);
    font-size: 14px;
    margin-bottom: 8px;
}

.registration-modal-content .form-control,
.registration-modal-content .form-control:focus {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    font-size: 14px;
}

.registration-modal-content .form-control:focus {
    border-color: var(--color-primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(240, 140, 0, 0.1);
}

.registration-modal-content .form-control[readonly] {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #495057;
}

.registration-modal-content hr {
    border-top: 2px solid #e9ecef;
    margin: 25px 0;
}

/* Form Check */
.registration-modal-content .form-check-label {
    font-size: 13px;
    color: #555;
}

.registration-modal-content .form-check-input {
    margin-top: 4px;
}

/* CAPTCHA Display */
.captcha-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 6px;
    padding: 15px;
    font-size: 24px;
    letter-spacing: 8px;
    color: var(--color-primary-blue);
}

/* Modal Footer */
.registration-modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 20px 30px;
    border-radius: 0 0 12px 12px;
}

.registration-modal-footer .btn {
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.registration-modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, #1a2b3c 100%);
    border: none;
}

.registration-modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-orange) 0%, #d67800 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 140, 0, 0.3);
}

.registration-modal-footer .btn-secondary {
    background-color: #6c757d;
    border: none;
}

.registration-modal-footer .btn-secondary:hover {
    background-color: #5a6268;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-dialog-scrollable .modal-body {
        max-height: calc(100vh - 200px);
        padding: 20px;
    }

    .registration-modal-header {
        padding: 15px 20px;
    }

    .registration-modal-header .modal-title {
        font-size: 18px;
    }

    .registration-modal-footer {
        padding: 15px 20px;
    }

    .registration-modal-footer .btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* ===========================
   CAPTCHA STYLING
   =========================== */

.captcha-image-container {
    display: flex;
    align-items: center;
}

.captcha-image {
    border: 2px solid #dee2e6;
    border-radius: 6px;
    padding: 5px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.refresh-captcha {
    white-space: nowrap;
}

.refresh-captcha:hover {
    background-color: var(--color-primary-orange);
    border-color: var(--color-primary-orange);
    color: #fff;
}

/* ===========================
   SEARCH RESULTS PAGE
   =========================== */

/* Search Hero */
.search-hero {
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, #1a2b3c 100%);
    padding: 80px 0 60px;
    color: #ffffff;
}

.search-hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.search-query {
    color: var(--color-primary-orange);
}

.search-results-count {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Search Results Section */
.search-results-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.search-result-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-result-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 120px;
}

.result-icon i {
    font-size: 64px;
    color: var(--color-primary-blue);
    opacity: 0.1;
}

.result-content {
    padding-left: 20px;
}

.result-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.result-title a {
    color: var(--color-primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.result-title a:hover {
    color: var(--color-primary-orange);
}

.result-description {
    color: #666;
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.result-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    font-size: 13px;
    color: #888;
}

.meta-item i {
    margin-right: 5px;
    color: var(--color-primary-orange);
}

.btn-continue-reading {
    display: inline-block;
    padding: 10px 25px;
    background: var(--color-primary-blue);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-continue-reading:hover {
    background: var(--color-primary-orange);
    color: #ffffff;
    text-decoration: none;
    transform: translateX(5px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 15px;
}

.no-results p {
    font-size: 16px;
    color: #666;
}

.no-results a {
    color: var(--color-primary-orange);
}

/* Pagination */
.search-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.search-pagination .pagination {
    gap: 5px;
}

.search-pagination .page-link {
    color: var(--color-primary-blue);
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 16px;
    margin: 0 2px;
}

.search-pagination .page-link:hover {
    background-color: var(--color-primary-orange);
    color: #ffffff;
    border-color: var(--color-primary-orange);
}

.search-pagination .page-item.active .page-link {
    background-color: var(--color-primary-blue);
    border-color: var(--color-primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .search-hero-title {
        font-size: 24px;
    }

    .result-icon {
        display: none;
    }

    .result-content {
        padding-left: 0;
    }

    .result-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* ===========================
   SCHEDULES PAGE
   =========================== */

/* Schedules Hero */
.schedules-hero {
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, #1a2b3c 100%);
    padding: 80px 0 60px;
    color: #ffffff;
}

.schedules-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.schedules-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.schedules-hero .breadcrumb-item.active {
    color: #ffffff;
}

.schedules-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.schedules-hero-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

/* Schedules Section */
.schedules-section {
    padding: 30px 0;
    background: #f8f9fa;
}

/* Schedule Cards */
.schedule-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.schedule-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.schedule-card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, #1a2b3c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.schedule-card:hover .schedule-card-icon {
    background: linear-gradient(135deg, var(--color-primary-orange) 0%, #d67800 100%);
    transform: scale(1.1) rotate(5deg);
}

.schedule-card-icon i {
    font-size: 48px;
    color: #ffffff;
}

/* Different colors for each category */
.schedule-card-icon.strategic {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.schedule-card-icon.project {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.schedule-card-icon.data {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.schedule-card-icon.monitoring {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.schedule-card-icon.gis {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
}

.schedule-card-icon.gender {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.schedule-card-icon.accounting {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.schedule-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 25px;
    min-height: 60px;
}

.btn-view-courses {
    display: inline-block;
    padding: 12px 30px;
    background: var(--color-primary-blue);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary-blue);
}

.btn-view-courses:hover {
    background: var(--color-primary-orange);
    color: #ffffff;
    text-decoration: none;
    border-color: var(--color-primary-orange);
    transform: translateX(5px);
}

.btn-view-courses i {
    transition: transform 0.3s ease;
}

.btn-view-courses:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 991px) {
    .schedules-hero-title {
        font-size: 28px;
    }

    .schedule-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .schedules-hero {
        padding: 60px 0 40px;
    }

    .schedules-hero-title {
        font-size: 24px;
    }

    .schedule-card-icon {
        width: 80px;
        height: 80px;
    }

    .schedule-card-icon i {
        font-size: 36px;
    }

    .schedule-card-title {
        font-size: 18px;
        min-height: auto;
    }
}

/* ===========================
   IN-HOUSE TRAINING PAGE
   =========================== */

/* In-House Hero */
.inhouse-hero {
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, #1a2b3c 100%);
    padding: 80px 0 60px;
    color: #ffffff;
}

.inhouse-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.inhouse-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.inhouse-hero .breadcrumb-item.active {
    color: #ffffff;
}

.inhouse-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.inhouse-hero-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

/* In-House Section */
.inhouse-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.inhouse-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 20px;
}

.inhouse-intro .lead {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
}

/* Form Card */
.inhouse-form-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 30px;
}

.inhouse-form-card .form-group label {
    font-weight: 600;
    color: var(--color-primary-blue);
    font-size: 14px;
    margin-bottom: 8px;
}

.inhouse-form-card .form-control {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    font-size: 14px;
}

.inhouse-form-card .form-control:focus {
    border-color: var(--color-primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(240, 140, 0, 0.1);
}

.btn-submit-inhouse {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, #1a2b3c 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-submit-inhouse:hover {
    background: linear-gradient(135deg, var(--color-primary-orange) 0%, #d67800 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 140, 0, 0.3);
}

/* Advantages */
.advantages-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.advantages-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 30px;
}

.advantage-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.advantage-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, #1a2b3c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
}

.advantage-icon i {
    font-size: 28px;
    color: #ffffff;
}

.advantage-icon.customized {
    background: linear-gradient(135deg, var(--color-primary-orange) 0%, #d67800 100%);
}

.advantage-icon.application {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.advantage-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 10px;
}

.advantage-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.35;
    margin: 0;
}

/* Client Logos */
.our-clients {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.clients-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 10px;
}

.clients-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.client-logo-item {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    color: var(--color-primary-blue);
    transition: all 0.3s ease;
}

.client-logo-item:hover {
    border-color: var(--color-primary-orange);
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
    .inhouse-hero-title {
        font-size: 28px;
    }

    .advantages-section,
    .inhouse-form-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .inhouse-hero {
        padding: 60px 0 40px;
    }

    .inhouse-hero-title {
        font-size: 24px;
    }

    .inhouse-intro h2 {
        font-size: 24px;
    }

    .advantage-item {
        flex-direction: column;
    }

    .advantage-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .client-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   COURSE CATEGORY PAGE
   =========================== */

/* Category Hero */
.category-hero {
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, #1a2b3c 100%);
    padding: 80px 0 60px;
    color: #ffffff;
}

.category-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.category-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.category-hero .breadcrumb-item.active {
    color: #ffffff;
}

.category-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.category-hero-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

/* Category Courses Section */
.category-courses-section {
    padding: 30px 0;
    background: #f8f9fa;
}

/* Course Cards */
.course-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.course-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-card-image img {
    transform: scale(1.1);
}

.course-card-overlay {
    display: none;
}

.course-card:hover .course-card-overlay {
    opacity: 1;
}

.course-card-overlay i {
    font-size: 48px;
    color: #ffffff;
}

.course-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 50px;
}

.course-card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.35;
    margin-bottom: 15px;
    flex: 1;
}

.course-card-meta {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.meta-duration {
    font-size: 13px;
    color: #888;
}

.meta-duration i {
    color: var(--color-primary-orange);
    margin-right: 5px;
}

.btn-register-course {
    display: inline-block;
    padding: 12px 25px;
    background: var(--color-primary-blue);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-register-course:hover {
    background: var(--color-primary-orange);
    color: #ffffff;
    text-decoration: none;
    transform: translateX(5px);
}

.btn-register-course i {
    transition: transform 0.3s ease;
}

.btn-register-course:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 991px) {
    .category-hero-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .category-hero {
        padding: 60px 0 40px;
    }

    .category-hero-title {
        font-size: 24px;
    }

    .course-card-title {
        min-height: auto;
    }
}

/* Blink Animation for LIVE Icon */
.blink-icon {
    animation: blinker 1.5s ease-in-out infinite;
}

@keyframes blinker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(220, 53, 69, 0.7);
    }
}

/* ===========================
   REGISTRATION MODAL STYLES
   =========================== */

.registration-modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.registration-modal-header {
    background-color: var(--color-primary-blue);
    color: #fff;
    padding: 25px 30px;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.registration-modal-header .modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.registration-modal-header .modal-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.registration-modal-header .close {
    color: #fff;
    text-shadow: none;
    opacity: 0.8;
    font-size: 28px;
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.registration-modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 15px;
    background-color: #f9f9f9;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-control {
    border-radius: 6px;
    border: 1px solid #e1e5eb;
    padding: 12px 15px;
    height: auto;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--color-primary-blue);
    box-shadow: 0 0 0 3px rgba(36, 59, 85, 0.1);
}

.form-control.bg-light {
    background-color: #e9ecef !important;
    opacity: 1;
    color: #6c757d;
}

/* Toggle Switch Styles */
.registration-type-wrapper .btn-group {
    background-color: #fff;
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.registration-type-wrapper .btn {
    border-radius: 50px !important;
    padding: 10px 25px;
    font-weight: 600;
    border: none;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.registration-type-wrapper .btn-outline-primary {
    color: #6c757d;
    background-color: transparent;
}

.registration-type-wrapper .btn-outline-primary:hover {
    color: var(--color-primary-blue);
    background-color: rgba(36, 59, 85, 0.05);
}

.registration-type-wrapper .btn-outline-primary.active {
    background-color: var(--color-primary-blue);
    color: #fff;
    box-shadow: 0 4px 6px rgba(36, 59, 85, 0.2);
}

.registration-type-wrapper .btn:focus {
    box-shadow: none;
}

.section-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary-blue);
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-top: 10px;
}

.registration-modal-footer {
    padding: 20px 30px;
    background-color: #fff;
    border-top: 1px solid #e9ecef;
}

.captcha-wrapper .input-group-text {
    background: transparent;
}

/* Restore list styles and refine font sizes for rich text content */
.course-section,
.module-description,
.tab-pane-content {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #000 !important;
}

.course-section ul,
.module-description ul,
.tab-pane-content ul {
    list-style-type: disc !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.course-section ol,
.module-description ol,
.tab-pane-content ol {
    list-style-type: decimal !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.course-section li,
.module-description li,
.tab-pane-content li {
    margin-bottom: 0.5rem !important;
    display: list-item !important;
}

/* Ensure Course Outline topics don't get double bullets (preserves checkmark style) */
.module-item ul {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.module-item li {
    display: block !important;
    padding-left: 25px !important;
    font-size: 13px !important;
}