/* Ebooks: category tag centering and wrapping */
.blog-post-content .tag {
    display: inline-block;
    max-width: 85%;
    margin: 0 auto 12px auto;
    text-align: center;
    white-space: normal; /* allow wrapping */
    word-break: break-word; /* break long words if needed */
    overflow-wrap: anywhere; /* ensure wrap in narrow cards */
}

/* Keep visual consistency for multi-line tags */
.blog-post-content .tag {
    padding: 8px 12px;
    border-radius: 5px;
}

/* Ebooks: normalize cover image height across cards (scoped to ebooks grid) */
.events-grid .blog-post-thumb,
.events-grid .events-image-border-rounded {
    position: relative;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    aspect-ratio: 3 / 4; /* consistent vertical feel across covers */
}

.events-grid .blog-post-thumb img,
.events-grid .events-image-border-rounded img,
.events-grid .blog-post-thumb .object-cover {
    width: 100%;
    height: 100%;
    object-fit: cover; /* preserve full image, avoid cropping */
    object-position: center;
    display: block;
}

/* Optional modifier: when a perfect fill is desired, allow cover crop via helper class */
.cover-fill .events-image-border-rounded img,
.cover-fill .blog-post-thumb img,
.cover-fill .blog-post-thumb .object-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*=============================
	01. Variable CSS
===============================*/

:root {
    --tg-body-font-family: 'DM Sans', sans-serif;
    --tg-heading-font-family: 'Poppins', sans-serif;
    --tg-primary-color: #f8ae18;
    --tg-secondary-color: #061544;
    --tg-body-font-color: #00416e;
    --tg-heading-font-color: #1C1C1C;
    --tg-paragraph-color: #00416e;
    --tg-menu-color: #0C1239;
    --tg-body-font-size: 16px;
    --tg-body-font-weight: 400;
    --tg-heading-font-weight: 700;
    --tg-body-line-height: 1.62;
    --tg-heading-line-height: 1.2;
    --tg-blue-lite: #2696d4;
    --tg-blue: #161C49;
    --tg-blue-two: #001334;
    --tg-blue-three: #000a29;
    --tg-border-color: #D8DEFC;
    --tg-input-border-color: #CFCFCF;
    --tg-indigo: #6610f2;
    --tg-purple: #6f42c1;
    --tg-pink: #d63384;
    --tg-red: #dc3545;
    --tg-orange: #fd7e14;
    --tg-seashell: #FFF3ED;
    --tg-unbleached-silk: #FFDAC9;
    --tg-yellow: #ffc107;
    --tg-green: #198754;
    --tg-teal: #20c997;
    --tg-cyan: #0dcaf0;
    --tg-white: #ffffff;
    --tg-gray: #eef7ff;
    --tg-gray-two: #EDF0FF;
    --tg-gray-three: #B8B8B8;
    --facebook: #3b5998;
    --twitter: #00acee;
    --linkedin: #1976d2;
    --pinterest: #3b5998;
    --youtube: #c4302b;
    --skype: #00aff0;
}

.bg-main {
    background-color: var(--tg-blue-two);
}

.bg-grey {
    background-color: #ebf5ff;
}

.bg-dark-blue {
    background-color: var(--tg-blue-two);
}

.footer-social .list-wrap li a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tg-primary-color);
    color: var(--tg-white);
    font-size: 20px;
}

/* .footer-contact {
    background: var(--tg-blue-lite);
} */

.footer-contact {
    background: none;
}

.footer-contact .icon {
    color: var(--tg-white);
    background: var(--tg-primary-color);
}

.footer-contact .content a {
    color: var(--tg-white);
}

.footer-contact .content a:hover {
    color: var(--tg-primary-color);
}

.footer-contact .content span {
    color: var(--tg-white);
}

.logo img {
    max-width: 180px;
}

.slider-content .title {
    font-size: 40px;
}

.slider-shape {
    z-index: 0;
    top: -100px;
}

.slider-area {
    position: relative;
    padding: 0px 0 0 484px;
    margin-bottom: 0px;
}

.services-process-content {
    margin-left: 0px;
}

.blog-post-content .tag {
    background: #e7f6ff;
}

.project-thumb-four img {
    object-fit: cover;
    height: 380px;
}


@media (max-width: 1800px) {
    .slider-area {
        padding: 0px 0 0 440px;
    }
}

@media (max-width: 1500px) {
    .slider-area {
        padding: 0px 0 0 400px;
    }
}

@media (max-width: 1199.98px) {
    .slider-area {
        padding: 0px 0 0 200px;
    }
    .event-card {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 991.98px) {
    .slider-area {
        padding: 0px 0 0 0;
        margin-bottom: 0;
    }

    .header-top-wrap {
        display: none;
    }
}

@media (max-width: 768px) {
    .event-img {
        height: 290px !important;
    }
}

.navbar-wrap {
    justify-content: right !important;
}

/* === Header dropdown Safari/sticky fix ===
   Ensure sticky header dropdowns render above hero/slider and are not clipped.
   These overrides are intentionally minimal and only touch the nav stack/overflow. */

/* Keep the sticky header container from clipping submenus and ensure it
   sits above the banner/slider content on all browsers, including Safari. */
#sticky-header.menu-area,
#sticky-header.menu-area-three {
    position: relative;
    z-index: 9999;
    overflow: visible;
}

/* Defensive: menu wrappers should not hide dropdowns when sticky transforms
   are applied by the theme's JS/CSS. */
.menu-area,
.menu-area-three {
    overflow: visible !important;
}

/* Top-level dropdown panel (e.g., Services, Learning Spaces) */
.navbar-wrap .navigation .menu-item-has-children > .sub-menu {
    position: absolute;
    z-index: 10000;
    background-color: #ffffff !important; /* fallback when backdrop-filter is unavailable */
}

/* Nested dropdown (Other Services) should appear above its parent panel */
.navbar-wrap .navigation .menu-item-has-children .menu-item-has-children > .sub-menu {
    z-index: 10001;
}

.area-bg-four {
    padding: 90px 0 90px;
}

.blog-details-bottom .blog-post-share {
    justify-content: flex-start;
}

.sidebar-search form input {
    background: rgb(255 188 0 / 15%);
}

.carousel-inner {
    width: 100%;
    height: 400px !important;
    border-radius: 10px;
    object-fit: cover;
}

.slider-content-wrap {
    width: 40%;
}

@media (max-width: 991.98px) {
    .slider-content-wrap {
        width: 100%;
    }
}

@media (max-width: 1500px) {
    .slider-content .overly-text {
        left: -120px;
    }
}

.slider-img-item {
    border-radius: 160px 0px 0px 12px;
}

.banner-nav {
    border-radius: 12px;
    bottom: 190px;
    padding: 30px 26px;
    right: 3%;
}

.slick-arrow img {
    max-width: 85%;
}

.modal-footer .btn::after {
    content: "\f00d";
}

.ta-spinner-eff div {
    height: 11px;
    border-radius: 10px;
}

.ta-spinner-eff {
    width: 60px;
    height: 60px;
}

.year-experience-wrap {
    background: var(--tg-secondary-color);
}

.services-thumb-three {
    object-fit: cover;
    height: 360px;
}

.services-thumb-three img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.work-thumb {
    flex: 0 0 200px;
    position: relative;
    margin-right: 20px;
}

.work-thumb-2 {
    position: relative;
    margin-right: 20px;
}

.work-content .title {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 8px;
}

.history-content p {
    margin-bottom: 20px;
    color: var(--tg-paragraph-color);
}

.map-custom p {
    color: var(--tg-gray-three);
}

.project-details-thumb img {
    border-radius: 10px;
    height: 400px;
    object-fit: cover;
}

.blog-details-thumb img {
    border-radius: 10px;
    object-fit: cover;
}

.breadcrumb-content .title {
    line-height: 1.25;
}

.object-cover {
    object-fit: cover;
}

/* ==========================================
   Slider content padding overrides (mobile/tablet)
   Purpose: Reduce excessive vertical padding on smaller screens
   Note: These override UI kit values from responsive.css
   ========================================== */

/* Small desktop (e.g., MacBook 13") */
@media (min-width: 992px) and (max-width: 1366px) {
    .slider-area .slider-content-wrap .slider-content {
        /* Tighten vertical padding on laptop widths */
        padding: 44px 28px 44px 48px !important;
    }

    /* Slightly widen content column to reduce line wraps (lower total height) */
    .slider-content-wrap {
        width: 46%;
    }
}

/* Larger laptops but below 1500px kit breakpoint */
@media (min-width: 1367px) and (max-width: 1500px) {
    .slider-area .slider-content-wrap .slider-content {
        padding: 56px 32px 56px 70px !important;
    }

    .slider-content-wrap {
        width: 44%;
    }
}

/* Tablets and down */
@media (max-width: 991.98px) {
    .slider-area .slider-content-wrap .slider-content {
        /* UI kit sets 70px 50px; this is tighter for better fold fit */
        padding: 40px 24px !important;
    }
}

/* Phones */
@media (max-width: 767.98px) {
    .slider-area .slider-content-wrap .slider-content {
        /* UI kit sets 70px 30px; reduce further */
        padding: 28px 18px !important;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .slider-area .slider-content-wrap .slider-content {
        padding: 24px 16px !important;
    }
}

.blog-post-content .title {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 0;
    border-bottom: none !important;
    line-height: 1.5;
    padding-bottom: 15px;
    margin-bottom: 17px;
}

/* 1px solid var(--tg-border-color) */

.blog-post-content .link-btn-border-top {
    border-top: 1px solid var(--tg-border-color);
}

/* =============================
   History video overlay control
   Only show dark overlay on 2nd image when a video link exists.
   ============================= */
.history-img-wrap.has-video .list-wrap li:nth-child(2)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.history-img-wrap.no-video .list-wrap li:nth-child(2)::before {
    content: none; /* suppress default Roofx overlay when no video */
}

/* =========================
   About/History collage fix
   Keep the same 2-column collage layout on all breakpoints
   (large left image, small video top-right, small wide image bottom-right)
   Scale images down on smaller screens and prevent vertical stacking.
   ========================= */

/* Base: force consistent collage behavior */
.history-img-wrap .list-wrap {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    /* avoid unintended wrapping on wide screens */
    align-items: flex-start;
    gap: 20px;
    padding: 0 67px 48px 0;
    /* keep space for the bottom-right image */
    justify-content: flex-start;
    /* override UI kit center at some breakpoints */
}

/* Ensure images scale with container instead of hard pixels */
.history-img-wrap .list-wrap li:nth-child(1) img {
    width: clamp(340px, 42vw, 520px);
    height: auto;
    object-fit: cover;
}

.history-img-wrap .list-wrap li:nth-child(2) img {
    width: clamp(150px, 18vw, 260px);
    height: auto;
    object-fit: cover;
}

/* Keep the third image visible and positioned bottom-right across sizes */
.history-img-wrap .list-wrap li:nth-child(3) {
    position: absolute;
    right: 67px;
    bottom: 0;
    display: block !important;
    /* undo UI kit hide on phones */
}

.history-img-wrap .list-wrap li:nth-child(3) img {
    width: clamp(260px, 28vw, 420px);
    height: auto;
    object-fit: cover;
}

/* XL/desktop refinements (>=1500px) */
@media (min-width: 1500px) {
    .history-img-wrap .list-wrap {
        gap: 22px;
        padding: 0 72px 54px 0;
    }

    .history-img-wrap .list-wrap li:nth-child(1) img {
        width: clamp(420px, 36vw, 560px);
    }

    .history-img-wrap .list-wrap li:nth-child(2) img {
        width: clamp(200px, 16vw, 300px);
    }

    .history-img-wrap .list-wrap li:nth-child(3) img {
        width: clamp(320px, 24vw, 460px);
    }
}

/* ==============================
     Penghargaan carousel sizing
     Make each slide's content behave like Bootstrap col-10 and centered
     Only for the one-per-slide variant to avoid affecting other carousels
     ============================== */
/* Full width on very small screens for better readability */
.project-active-two.project-active-one .project-item-four {
    width: 100%;
}

/* From sm and up, constrain to ~col-10 and center */
@media (min-width: 576px) {
    .project-active-two.project-active-one .project-item-four {
        max-width: calc(100% * 10 / 12);
        margin-left: auto;
        margin-right: auto;
    }
}

/* Center the content inside each slick slide */
.project-active-two.project-active-one .slick-slide {
    display: flex !important;
    justify-content: center;
}

/* LG (1200–1499px) */
@media (min-width: 1200px) and (max-width: 1499.98px) {
    .history-img-wrap .list-wrap {
        gap: 18px;
        padding: 0 60px 46px 0;
    }

    .history-img-wrap .list-wrap li:nth-child(1) img {
        width: clamp(360px, 40vw, 520px);
    }

    .history-img-wrap .list-wrap li:nth-child(2) img {
        width: clamp(170px, 18vw, 260px);
    }

    .history-img-wrap .list-wrap li:nth-child(3) {
        right: 60px;
    }

    .history-img-wrap .list-wrap li:nth-child(3) img {
        width: clamp(280px, 26vw, 420px);
    }
}

/* MD tablets (992–1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .history-img-wrap .list-wrap {
        gap: 16px;
        padding: 0 42px 40px 0;
    }

    .history-img-wrap .list-wrap li:nth-child(1) img {
        width: clamp(320px, 44vw, 480px);
    }

    .history-img-wrap .list-wrap li:nth-child(2) img {
        width: clamp(160px, 20vw, 230px);
    }

    .history-img-wrap .list-wrap li:nth-child(3) {
        right: 42px;
    }

    .history-img-wrap .list-wrap li:nth-child(3) img {
        width: clamp(240px, 34vw, 360px);
    }
}

/* SM tablets (768–991px): match the approved mock (images smaller but same layout) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .history-img-wrap .list-wrap {
        gap: 14px;
        padding: 0 28px 32px 0;
        justify-content: flex-start;
    }

    .history-img-wrap .list-wrap li:nth-child(1) img {
        width: clamp(280px, 54vw, 440px);
    }

    .history-img-wrap .list-wrap li:nth-child(2) img {
        width: clamp(140px, 24vw, 200px);
    }

    .history-img-wrap .list-wrap li:nth-child(3) {
        right: 28px;
        bottom: 0;
    }

    .history-img-wrap .list-wrap li:nth-child(3) img {
        width: clamp(220px, 46vw, 320px);
    }
}

/* Phones (<768px): keep collage, scale down; do NOT stack vertically */
@media (max-width: 767.98px) {
    .history-img-wrap .list-wrap {
        gap: 10px;
        padding: 0 10px 20px 0;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
    }

    .history-img-wrap .list-wrap li {
        flex: 0 0 auto;
    }

    .history-img-wrap .list-wrap li img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Use li widths so percentages are relative to the container, not image */
    .history-img-wrap .list-wrap li:nth-child(1) {
        width: 64%;
    }

    .history-img-wrap .list-wrap li:nth-child(2) {
        width: 28%;
    }

    .history-img-wrap .list-wrap li:nth-child(3) {
        right: 10px;
        bottom: 0;
        width: 60%;
    }
}

/* Very small phones (<576px): tighten a bit more */
@media (max-width: 575.98px) {
    .history-img-wrap .list-wrap {
        gap: 8px;
        padding: 0 8px 16px 0;
    }

    .history-img-wrap .list-wrap li:nth-child(1) {
        width: 62%;
    }

    .history-img-wrap .list-wrap li:nth-child(2) {
        width: 30%;
    }

    .history-img-wrap .list-wrap li:nth-child(3) {
        right: 8px;
        width: 58%;
    }
}

.fs-16px {
    font-size: 16px;
}

.mb-30px {
    margin-bottom: 30px;
}

.blog-post-content-events {
    padding: 50px 35px 10px;
}

/* Ebooks grid: equal card height without extra overlay whitespace */
.ebooks-grid .project-item-four {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ebooks-grid .project-thumb-four {
    flex: 1 1 340px;
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.ebooks-grid .project-thumb-four a,
.ebooks-grid .project-thumb-four img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Keep the content box natural height (do not stretch), it will sit under the image */
.ebooks-grid .project-content-four {
    flex: 0 0 auto;
}

/* Ensure overlay contents never overflow (arrow stays inside) */
.ebooks-grid .project-content-four {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 14px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 140px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .ebooks-grid .project-content-four {
        min-height: 132px;
    }
}

@media (max-width: 991.98px) {
    .ebooks-grid .project-content-four {
        min-height: 124px;
    }
}

.ebooks-grid .project-content-four .content-left {
    min-width: 0;
}

.ebooks-grid .project-content-four .content-right {
    justify-self: end;
    align-self: center;
}

/* Allow long titles to wrap without pushing the arrow outside */
.ebooks-grid .project-content-four .content-left h2,
.ebooks-grid .project-content-four .content-left h2 a {
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Align dates horizontally by anchoring them to the bottom of the overlay */
.ebooks-grid .project-content-four .content-left {
    display: flex;
    flex-direction: column;
}

.ebooks-grid .project-content-four .content-left .list-wrap {
    margin-top: auto;
}

/* Give a little more bottom spacing between card rows in ebooks grid */
.ebooks-grid .project-item-four {
    margin-bottom: 64px;
}

/* Ebooks: limit title to 2 lines so overlay heights align without extra whitespace */
/* .ebooks-grid .project-content-four .content-left h2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
} */

.events-image-border-rounded {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.border-top-radius-10px {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.fs-18px {
    font-size: 18px;
}

.max-w-112px {
    max-width: 112px;
}

.w-112px {
    width: 112px;
}

.bg-tg-gray {
    background-color: var(--tg-gray);
}

.border-radius-10px {
    border-radius: 10px;
}

.ebooks-image-height {
    min-height: 380px;
    /* can grow to match tallest card, but keeps a pleasant minimum */
    height: 380px;
    max-height: 380px;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .ebooks-image-height {
        min-height: 300px;
        height: 300px;
        max-height: 300px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .ebooks-image-height {
        min-height: 280px;
        height: 280px;
        max-height: 280px;
    }
}

@media (max-width: 991.98px) {
    .ebooks-image-height {
        min-height: 260px;
        height: 260px;
        max-height: 260px;
    }
}

/* Home projects grid: equal height + safe overlay layout (desktop) */
.home-projects-grid .project-item-four {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.home-projects-grid .project-thumb-four {
    flex: 1 1 320px;
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.home-projects-grid .project-thumb-four a,
.home-projects-grid .project-thumb-four img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.homeproj-image-height {
    min-height: 320px;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .homeproj-image-height {
        min-height: 300px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .homeproj-image-height {
        min-height: 280px;
    }
}

@media (max-width: 991.98px) {
    .homeproj-image-height {
        min-height: 260px;
    }
}

.home-projects-grid .project-content-four {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 14px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 132px;
}

.home-projects-grid .project-content-four .content-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-projects-grid .project-content-four .content-left .list-wrap {
    margin-top: auto;
}

.home-projects-grid .project-content-four .content-right {
    justify-self: end;
    align-self: center;
}

.home-projects-grid .project-content-four .content-left h2,
.home-projects-grid .project-content-four .content-left h2 a {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.brand-area-two {
    padding: 24px 0;
    margin-left: 0 !important;
    position: relative;
    z-index: 3;
}

.brand-area-two .brand-active-two {
    /* Originally used negative gutters to counter container padding.
       After switching the wrapper to .container-fluid.px-0, these
       negatives push content beyond the viewport and leave a right gap. */
    margin: 0;
    min-height: 80px;
    overflow: visible;
}

.brand-area-two .slick-list {
    overflow: hidden;
}

.brand-area-two .brand-item {
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    height: auto;
}

.brand-area-two .brand-item img {
    height: 56px;
    max-height: 56px;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    opacity: 1 !important;
}

.brand-area-two .brand-active-two {
    width: 100%;
}

.brand-area-two .slick-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.brand-area-two .slick-slide {
    outline: none;
}

/* Fallback layout if Slick fails to init: simple flex row */
.brand-area-two .brand-active-two:not(.slick-initialized) {
    display: flex;
    gap: 24px;
    overflow-x: auto;
}

.brand-area-two .brand-active-two:not(.slick-initialized) .brand-item {
    flex: 0 0 auto;
}

/* Ensure interactivity for hover/drag */
.brand-area-two,
.brand-active-two,
.brand-area-two .brand-item,
.brand-area-two .brand-item img {
    pointer-events: auto;
}

/* Equal-height blog cards */
/* Make only blog card columns stretch; avoid affecting the heading row */
.blog-area .row.justify-content-center>.col-xl-4.col-md-6 {
    display: flex;
}

.blog-area .blog-post-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.blog-area .blog-post-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Keep the action aligned at the bottom */
.blog-area .blog-post-content .link-btn {
    margin-top: auto;
}

/* Reserve consistent title height so cards in the same row align
    Show up to 3 lines on md+ screens to balance layout */
@media (min-width: 768px) {
    .blog-area .blog-post-content .title {
        line-height: 1.4;
        min-height: calc(1.4em * 3);
        /* space for ~3 lines */
        display: -webkit-box;
        line-clamp: 3;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.counter-item-three {
    text-align: center;
    margin-bottom: 0px !important;
    position: relative;
}

.section-title .sub-title {
    font-size: 20px;
    display: block;
    color: var(--tg-primary-color);
    font-family: var(--tg-heading-font-family) 'Poppins', sans-serif;
    margin-bottom: 14px;
}

.weight-400 {
    font-weight: 400;
}

.weight-500 {
    font-weight: 500;
}

.event-container {
    border-radius: 5px;
    background-color: var(--tg-gray);
}

.pagination-wrap .pagination .page-item.active .page-link, .pagination-wrap .pagination .page-link:hover {
    background: #f8af09;
    border-color: #F4F4F4;
    color: #252525;
}

.event-hero {
    height:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow: 0px 0px 45px rgba(0, 0, 0, 0.08);
}

.event-hero img {
    width:100%;
    height:auto;
    object-fit:cover;
}

.event-desc {
    box-shadow: 0px 0px 45px rgba(0, 0, 0, 0.08);
    font-family: var(--tg-heading-font-family);
}

.ebook-cover {
    box-shadow: 0px 0px 45px rgba(0, 0, 0, 0.08);
}

.pti-90 {
    padding-top: 90px !important;
}

/* Ensure preloader always covers sticky header and all content */
#preloader {
    position: fixed; /* defensive: some builds use absolute */
    inset: 0;
    z-index: 100000; /* higher than #sticky-header (9999) */
}

/* =============================================
   Methodologies walking ticker (full-width)
   ============================================= */
.methodologies-ticker-wrapper { position: relative; }
.methodologies-ticker { width:100%; }
.methodologies-ticker .methodology-slide { flex:0 0 auto; padding:10px 48px; display:flex; align-items:center; justify-content:center; }
.methodologies-ticker img { height:220px; width:auto; max-width:100%; object-fit:contain; display:block; backface-visibility:hidden; -webkit-backface-visibility:hidden; will-change:transform; }
.methodologies-ticker .slick-track { will-change:transform; }
@media (max-width: 1399.98px){ .methodologies-ticker img { height:200px; } }
@media (max-width: 1199.98px){ .methodologies-ticker img { height:180px; } }
@media (max-width: 991.98px){ .methodologies-ticker img { height:160px; } }
@media (max-width: 767.98px){ .methodologies-ticker .methodology-slide { padding:10px 32px; } .methodologies-ticker img { height:130px; } }
@media (max-width: 575.98px){ .methodologies-ticker img { height:110px; } }

/* =============================================
   Methodologies walking ticker
   Reuses brand ticker JS; ensure consistent sizing
   ============================================= */
/* Methodologies ticker layout */
.methodologies-ticker-wrapper { position: relative; }
.methodologies-ticker { width:100%; }
.methodologies-ticker .methodology-slide { flex:0 0 auto; padding:10px 40px; display:flex; align-items:center; justify-content:center; }
/* Remove accidental dark filter & add anti-flicker optimizations */
.methodologies-ticker img { height:160px; width:auto; max-width:100%; object-fit:contain; display:block; backface-visibility:hidden; -webkit-backface-visibility:hidden; will-change:transform; }
.methodologies-ticker .slick-track { will-change:transform; }
@media (max-width: 1199.98px){ .methodologies-ticker img { height:140px; } }
@media (max-width: 991.98px){ .methodologies-ticker img { height:120px; } }
@media (max-width: 767.98px){ .methodologies-ticker .methodology-slide { padding:10px 24px; } .methodologies-ticker img { height:100px; } }
@media (max-width: 575.98px){ .methodologies-ticker img { height:90px; } }

