/* ==========================================================================
   ICPM Group / ICPM Academy Brand Color Theme
   Exact palette extracted from ICPM Group design system (styles.css)
   ========================================================================== */

:root {
    --ink: #142d2b;
    --deep: #102d2c;
    --footer-bg: #0b2826;
    --topbar-bg: #122e2c;
    --dark-section: #143b35;
    --hero-bg: #102b31;

    --primary: #194b42;
    --primary-dark: #17473e;
    --primary-hover: #226959;
    --teal: #266a5d;
    --teal-accent: #579789;
    --teal-soft: #e2f0e9;

    --gold: #e8bf60;
    --gold-base: #e7bf5a;
    --gold-hover: #f5d382;
    --gold-eyebrow: #edcd79;
    --gold-ink: #162a28;
    --gold-focus: #ae7918;

    --coral: #bc614f;
    --blue-accent: #78a0c2;

    --muted: #526462;
    --paper: #ffffff;
    --soft: #f2f5f2;
    --soft-alt: #edf2ee;
    --line: #dde5df;
    --line-card: #dce6de;
    --line-header: #e9ede8;

    /* Override legacy theme variables */
    --mainColor: #194b42 !important;
    --secondColor: #0b2826 !important;

    /* G2 Continuous Curve Tokens (Apple / Superellipse Squircle System) */
    --g2-shape: squircle;
    --g2-xs: 10px;
    --g2-sm: 14px;
    --g2-md: 18px;
    --g2-lg: 26px;
    --g2-xl: 32px;
}

/* Base Ink & Focus */
html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink) !important;
    background-color: var(--paper) !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ink);
}

.main-color {
    color: var(--teal) !important;
}

.mini-description {
    color: var(--muted) !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold-focus) !important;
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Top Announcement Bar (.topbar -> #122e2c + gold CTA #e8bf60)
   -------------------------------------------------------------------------- */
.advertisement_bar,
.advertisement_bar:before {
    background: var(--topbar-bg) !important;
    background-image: none !important;
}

.advertisement_bar .headerstrip-text p,
.advertisement_bar .headerstrip-text span {
    color: #d6e3dd !important;
}

.advertisement_bar .headerstrip-text .btn {
    background-color: var(--gold) !important;
    color: var(--gold-ink) !important;
    border: 1px solid var(--gold) !important;
    font-weight: 700;
}

.advertisement_bar .headerstrip-text .btn:hover {
    background-color: var(--gold-hover) !important;
    border-color: var(--gold-hover) !important;
    color: var(--gold-ink) !important;
}

.advertisement_bar .close-banner {
    background: rgba(255, 255, 255, 0.14) !important;
    color: var(--gold-eyebrow) !important;
}

.advertisement_bar .close-banner:hover {
    background: rgba(255, 255, 255, 0.24) !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Header & Navigation (.header -> #fff, border #e9ede8, CTA #194b42)
   -------------------------------------------------------------------------- */
header,
#navbar {
    background-color: var(--paper) !important;
    border-bottom: 1px solid var(--line-header) !important;
}

#navbar .nav-link,
#navbar .site-menu a {
    color: var(--ink);
}

#navbar .nav-link:hover,
#navbar .site-menu a:hover {
    color: var(--teal) !important;
}

.hot-deals-link {
    color: var(--teal) !important;
    font-weight: 700 !important;
}

.hot-deals-link:hover {
    color: var(--primary-hover) !important;
}

/* Learning Programs primary button */
#ExploreMenu,
.explore-mega-menu > a.btn,
.explore-mega-menu > .btn-secondary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

#ExploreMenu:hover,
#ExploreMenu:focus,
.explore-mega-menu > a.btn:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #ffffff !important;
}

.explore-mega-menu .dropdown-menu {
    border: 1px solid var(--line) !important;
    border-top: 2px solid var(--teal-accent) !important;
    box-shadow: 0 17px 45px rgba(16, 45, 44, 0.16) !important;
}

.explore-mega-menu .dropdown-item:hover,
.explore-mega-menu .dropdown-item:focus,
.explore-mega-menu .dropdown-item.active {
    background-color: var(--soft) !important;
    color: var(--teal) !important;
}

.cart-count,
.site-menu .cart-count {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Hero Section & Primary CTAs on Dark Surfaces (.button-gold -> #e8bf60)
   -------------------------------------------------------------------------- */
.hero-section,
.hero-slider,
.home-slider,
.home-slider .item,
.home-hero {
    background-color: var(--hero-bg);
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section p,
.hero-slider h1,
.hero-slider h2,
.hero-slider p,
.hero-slider .numbers,
.hero-slider .numbers span,
.hero-slider .numbers p {
    color: #ffffff !important;
}

.hero-section.plans p:first-child {
    color: var(--gold-eyebrow) !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.hero-section .main-btn,
.hero-slider .main-btn,
.hero-section.plans .main-btn,
.home-slider .main-btn,
.home-plans .main-btn,
.for-business .main-btn {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--gold-ink) !important;
    font-weight: 700 !important;
}

.hero-section .main-btn:hover,
.hero-slider .main-btn:hover,
.hero-section.plans .main-btn:hover,
.home-slider .main-btn:hover,
.home-plans .main-btn:hover,
.for-business .main-btn:hover {
    background-color: var(--gold-hover) !important;
    border-color: var(--gold-hover) !important;
    color: var(--gold-ink) !important;
}

/* Generic .main-btn on light backgrounds */
.main-btn,
.btn-primary-orange {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

.main-btn:hover,
.btn-primary-orange:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #ffffff !important;
}

/* Owl Carousel dots */
.owl-theme .owl-dots .owl-dot span {
    background: var(--line) !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span,
.blogs .owl-dots .owl-dot.active span {
    background: var(--primary) !important;
}

.hero-section .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.35) !important;
}

.hero-section .owl-dots .owl-dot.active span,
.hero-section .owl-dots .owl-dot:hover span {
    background: var(--gold) !important;
}

/* --------------------------------------------------------------------------
   Affiliations & Partners (.soft -> #f2f5f2 + divider #dde5df)
   -------------------------------------------------------------------------- */
.partners {
    background-color: var(--soft) !important;
    border-bottom: 1px solid var(--line);
}

.partners h3 {
    color: var(--ink) !important;
}

hr {
    border-top-color: var(--line) !important;
}

/* --------------------------------------------------------------------------
   Certified Courses (.trending -> #fff cards, #dce6de border, #194b42 CTA)
   -------------------------------------------------------------------------- */
.trending {
    background-color: var(--paper);
}

.trending h3 {
    color: var(--ink) !important;
}

.trending .trend-card {
    background: var(--paper) !important;
    border: 1px solid var(--line-card) !important;
    border-top: 3px solid var(--teal-accent) !important;
    box-shadow: 0 6px 20px rgba(17, 60, 45, 0.06) !important;
}

.trending .trend-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 32px rgba(17, 60, 45, 0.11) !important;
}

.trending .trend-card h5 {
    color: var(--ink) !important;
}

.trending .trend-card a.explore {
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    font-weight: 600;
}

.trending .trend-card a.explore:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
}

.trending .owl-nav button,
.trending .owl-nav i {
    color: var(--primary) !important;
}

/* --------------------------------------------------------------------------
   Value Proposition Section (.why-bakkah -> #edf2ee soft sage)
   -------------------------------------------------------------------------- */
.why-bakkah {
    background-color: var(--soft-alt) !important;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.why-bakkah h3 {
    color: var(--ink) !important;
}

.why-bakkah .why-card {
    background: var(--paper) !important;
    border: 1px solid var(--line-card) !important;
    border-top: 3px solid var(--teal-accent) !important;
}

.why-bakkah .why-card:hover {
    box-shadow: 0 11px 32px rgba(17, 60, 45, 0.1) !important;
}

.why-bakkah .why-card h5 {
    color: var(--ink) !important;
}

.why-bakkah .why-card p {
    color: var(--muted) !important;
}

/* --------------------------------------------------------------------------
   Blog Section (.blogs -> teal badges & dark teal Explore button)
   -------------------------------------------------------------------------- */
.blogs {
    background-color: var(--paper);
}

.blogs h3,
.blogs h4,
.blogs h5 {
    color: var(--ink);
}

.blogs p {
    color: var(--muted);
}

.blogs .all-blogs {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #ffffff !important;
}

.blogs .all-blogs:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #ffffff !important;
}

.blog-card {
    border: 1px solid var(--line-card) !important;
}

.blog-card .category,
.blog-card .category-name,
.blogs .category-name,
.blog-card .badge,
.blogs .blog-card .cat-name {
    background: var(--primary) !important;
    color: #ffffff !important;
}

.blog-card a {
    color: var(--teal);
}

.blog-card a:hover {
    color: var(--primary-hover);
}

/* --------------------------------------------------------------------------
   Customer Testimonials (.feedback-slider -> Deep Forest #143b35 + Gold #e8bf60)
   -------------------------------------------------------------------------- */
.feedback-slider {
    background: var(--dark-section) !important;
    color: #ffffff !important;
}

.feedback-slider h3,
.feedback-slider h4 {
    color: #ffffff !important;
}

.feedback-slider .card {
    background: linear-gradient(var(--dark-section), var(--dark-section)) padding-box,
                linear-gradient(90deg, var(--gold), var(--teal-accent)) border-box !important;
    color: #d1e1da !important;
}

.feedback-slider .card p,
.feedback-slider .card .description {
    color: #dfebe8 !important;
}

.feedback-slider .card a,
.feedback-slider .read-more,
.feedback-slider .owl-carousel .owl-nav button,
.feedback-slider .owl-carousel .owl-nav i {
    color: var(--gold-eyebrow) !important;
}

.feedback-slider .fa-star.fa-solid {
    color: var(--gold-base) !important;
}

/* --------------------------------------------------------------------------
   Newsletter Section (.newsletter -> #edf2ee sage + #17473e Subscribe CTA)
   -------------------------------------------------------------------------- */
.newsletter {
    background: linear-gradient(to left, #e2ebe5, #edf2ee, #f7f9f6) !important;
    border-top: 1px solid var(--line);
}

.newsletter h4 {
    color: var(--ink) !important;
}

.newsletter p {
    color: var(--muted) !important;
}

.newsletter .subscribe-btn,
.newsletter button,
.newsletter a.btn,
.newsletter .main-btn {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #ffffff !important;
}

.newsletter .subscribe-btn:hover,
.newsletter button:hover,
.newsletter a.btn:hover,
.newsletter .main-btn:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Footer (footer -> Deepest Forest #0b2826 + #c2d2cc copy + #e8bf60 hover)
   -------------------------------------------------------------------------- */
footer,
.footer,
footer.bg-dark {
    background-color: var(--footer-bg) !important;
    color: #c2d2cc !important;
}

footer h3,
footer h4,
footer h5,
footer h6 {
    color: #ffffff !important;
}

footer a {
    color: #c2d2cc !important;
}

footer a:hover {
    color: var(--gold) !important;
}

footer hr,
footer .border-top,
footer .border-bottom {
    border-color: rgba(82, 113, 104, 0.38) !important;
}

footer ul.social a:hover {
    background-color: var(--primary) !important;
    border-color: var(--teal-accent) !important;
    color: #ffffff !important;
}

/* Crisp vector payment & SSL security badge strip in footer */
.icpm-payment-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding-top: 8px;
}

.icpm-pay-secure {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d6e3dd;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.icpm-pay-divider {
    width: 1px;
    height: 22px;
    background: rgba(194, 210, 204, 0.25);
}

.icpm-pay-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.icpm-pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 11px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(194, 210, 204, 0.2);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.icpm-pay-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(232, 191, 96, 0.45);
}

.icpm-pay-badge svg {
    display: block;
    width: auto;
}

@media (max-width: 575.98px) {
    .icpm-pay-divider {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Cookie Consent Bar & Back-to-Top Button
   -------------------------------------------------------------------------- */
.cookie-consent {
    background-color: rgba(237, 242, 238, 0.97) !important;
    border-top: 1px solid var(--line) !important;
    color: var(--ink) !important;
}

.cookie-consent button {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.cookie-consent button:hover {
    background-color: var(--primary-hover) !important;
}

.back-to-top {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

.back-to-top:hover {
    background-color: var(--primary-hover) !important;
}

/* ==========================================================================
   G2 Continuous Curves (corner-shape: squircle) & Concentric Corner System
   Applied globally across cards, buttons, pills, modals, dropdowns & badges
   ========================================================================== */

/* Cards & Major Elevated Surfaces (G2 Large / XL) */
.trending .trend-card {
    border-radius: var(--g2-lg) !important;
    corner-shape: var(--g2-shape);
    overflow: hidden;
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out;
}

.why-bakkah .why-card {
    border-radius: var(--g2-xl) !important;
    corner-shape: var(--g2-shape);
    overflow: hidden;
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out;
}

.blog-card {
    border-radius: var(--g2-lg) !important;
    corner-shape: var(--g2-shape);
    overflow: hidden;
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out;
}

.blog-card .card-head,
.blog-card .card-head .image {
    border-radius: 0 !important;
    overflow: hidden;
}

.feedback-slider .card {
    border-radius: var(--g2-xl) !important;
    corner-shape: var(--g2-shape);
}

.modal-content {
    border-radius: var(--g2-lg) !important;
    corner-shape: var(--g2-shape);
    overflow: hidden;
}

.explore-mega-menu .dropdown-menu,
.cart-items-wrapper {
    border-radius: 22px !important;
    corner-shape: var(--g2-shape);
    padding: 8px;
}

.explore-mega-menu .dropdown-item {
    border-radius: var(--g2-sm) !important;
    corner-shape: var(--g2-shape);
}

/* Primary Buttons, CTAs & Interactive Controls (G2 Medium / Small) */
#ExploreMenu,
.explore-mega-menu > a.btn,
.explore-mega-menu > .btn-secondary {
    border-radius: var(--g2-md) !important;
    corner-shape: var(--g2-shape);
    transition: background-color 0.18s ease-out, transform 0.14s ease-out;
}

.hero-section .main-btn,
.hero-slider .main-btn,
.hero-section.plans .main-btn,
.hero-slider .transparent-btn,
.main-btn,
.btn-primary-orange {
    border-radius: var(--g2-md) !important;
    corner-shape: var(--g2-shape);
    transition: background-color 0.18s ease-out, border-color 0.18s ease-out, color 0.18s ease-out, transform 0.14s ease-out;
}

.trending .trend-card a.explore {
    border-radius: var(--g2-sm) !important;
    corner-shape: var(--g2-shape);
    transition: background-color 0.18s ease-out, color 0.18s ease-out, transform 0.14s ease-out;
}

.blogs .all-blogs {
    border-radius: var(--g2-md) !important;
    corner-shape: var(--g2-shape);
    transition: background-color 0.18s ease-out, transform 0.14s ease-out;
}

.newsletter .subscribe,
.newsletter .subscribe-btn,
.newsletter button,
.newsletter a.btn,
.modal-body .form-control,
.modal-body button.btn {
    border-radius: var(--g2-sm) !important;
    corner-shape: var(--g2-shape);
    transition: background-color 0.18s ease-out, border-color 0.18s ease-out, transform 0.14s ease-out;
}

.advertisement_bar .headerstrip-text .btn {
    border-radius: var(--g2-sm) !important;
    corner-shape: var(--g2-shape);
    transition: background-color 0.18s ease-out, transform 0.14s ease-out;
}

.cookie-consent button {
    border-radius: var(--g2-sm) !important;
    corner-shape: var(--g2-shape);
    transition: background-color 0.18s ease-out, transform 0.14s ease-out;
}

/* Badges, Tags, Icon Buttons & Micro-surfaces (G2 XS / SM) */
.blog-card .category-name,
.blog-card .category,
.blog-card .badge {
    border-radius: var(--g2-xs) !important;
    corner-shape: var(--g2-shape);
}

.advertisement_bar .close-banner {
    border-radius: var(--g2-xs) !important;
    corner-shape: var(--g2-shape);
}

.back-to-top {
    border-radius: var(--g2-sm) !important;
    corner-shape: var(--g2-shape);
    transition: background-color 0.18s ease-out, transform 0.14s ease-out, opacity 0.2s ease-out;
}

.icpm-pay-badge {
    border-radius: 11px !important;
    corner-shape: var(--g2-shape);
}

.icpm-footer-brand-badge {
    display: inline-flex;
    align-items: center;
    background: #f4f7f3;
    padding: 10px 18px;
    border-radius: 16px;
    corner-shape: var(--g2-shape);
    margin-top: 8px;
}

footer ul.social a {
    border-radius: 12px !important;
    corner-shape: var(--g2-shape);
    transition: background-color 0.18s ease-out, border-color 0.18s ease-out, transform 0.14s ease-out;
}

.cart-count,
.site-menu .cart-count {
    border-radius: 7px !important;
    corner-shape: var(--g2-shape);
}

.owl-theme .owl-dots .owl-dot span {
    border-radius: 6px !important;
    corner-shape: var(--g2-shape);
}

/* Tactile Scale-on-Press Feedback (better-ui principle: 0.96) */
#ExploreMenu:active,
.main-btn:active,
.trending .trend-card a.explore:active,
.blogs .all-blogs:active,
.newsletter .subscribe:active,
.advertisement_bar .headerstrip-text .btn:active,
.cookie-consent button:active,
.back-to-top:active {
    transform: scale(0.96);
}

/* ==========================================================================
   10/10 Flagship Polish: Typography, Eyebrows, Layered Shadows, Masks & Motion
   ========================================================================== */

:root {
    --font-display: 'IBM Plex Sans Arabic', Arial, sans-serif;
    --font-body: 'IBM Plex Sans Arabic', Arial, sans-serif;
    --shadow-card:
        0 0 0 1px oklch(0 0 0 / 0.06),
        0 2px 6px -1px oklch(0 0 0 / 0.05),
        0 10px 24px -8px rgba(16, 45, 44, 0.08);
    --shadow-card-hover:
        0 0 0 1px rgba(25, 75, 66, 0.16),
        0 6px 14px -4px rgba(16, 45, 44, 0.09),
        0 18px 36px -10px rgba(16, 45, 44, 0.14);
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body,
.font-regular,
.font-light {
    font-family: var(--font-body) !important;
    line-height: 1.6;
}

.font-bold,
.boldfont {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
}

h1, h2, h3, h4, h5,
h1.font-bold, h2.font-bold, h3.font-bold, h4.font-bold, h5.font-bold {
    font-family: var(--font-display) !important;
    letter-spacing: -0.028em;
    line-height: 1.18;
    text-wrap: balance;
}

p, .mini-description, .hero-details p {
    text-wrap: pretty;
}

::selection {
    background: rgba(232, 191, 96, 0.34);
    color: var(--ink);
}

/* Signature ICPM Gold Emphasis inside Hero & Corporate Display Headlines */
.hero-section h1 em,
.hero-slider h1 em,
.hero-section.plans h1 em {
    color: #f0ca72 !important;
    font-style: normal;
}

.hero-slider .hero-details,
.hero-section.plans p {
    max-width: 54ch;
    color: #dfebe8 !important;
    line-height: 1.65;
}

/* Tabular numbers on animated counters so digits never jitter */
.hero-slider .numbers,
.hero-slider .numbers .count,
.hero-slider .numbers .plus {
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
}

/* Editorial Eyebrow Labels (ICPM Group signature detail) */
.icpm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--teal) !important;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 10px;
    line-height: 1.3;
}

.icpm-eyebrow::before {
    content: "";
    width: 24px;
    height: 1.5px;
    background: #bd943e;
    flex: none;
}

.icpm-eyebrow-light {
    color: var(--gold-eyebrow) !important;
}

.icpm-eyebrow-center {
    display: flex;
    justify-content: center;
}

/* Sticky Header Smooth Elevation on Scroll */
header.education-header {
    transition: box-shadow 0.25s ease-out;
}

header.education-header.icpm-scrolled {
    box-shadow: 0 8px 28px rgba(16, 45, 44, 0.1) !important;
}

/* Partners Carousel Edge-Fade Mask (smooth entry/exit at edges) */
.partners .owl-stage-outer {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

/* Layered Elevation Shadows instead of flat borders on Cards */
.trending .trend-card,
.why-bakkah .why-card,
.blog-card {
    border: 0 !important;
    box-shadow: var(--shadow-card) !important;
}

.trending .trend-card {
    border-top: 3px solid var(--teal-accent) !important;
}

.why-bakkah .why-card {
    border-top: 3px solid var(--teal-accent) !important;
}

.trending .trend-card:hover,
.why-bakkah .why-card:hover,
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover) !important;
}

/* Crisp Neutral Inset Image Outlines on Editorial Blog Photos (better-ui) */
.blog-card .card-head img {
    outline: 1px solid oklch(0 0 0 / 0.08);
    outline-offset: -1px;
    transition: transform 0.35s ease-out;
}

.blog-card:hover .card-head img {
    transform: scale(1.035);
}

/* Smooth directional arrow micro-interaction */
.blogs .all-blogs img,
.blog-card a img[src*="linear-arrow-right"] {
    transition: transform 0.18s ease-out;
}

.blogs .all-blogs:hover img,
.blog-card a:hover img[src*="linear-arrow-right"] {
    transform: translateX(4px);
}

/* Testimonial Executive Reviewer Name + Role */
.icpm-reviewer h5 {
    color: #ffffff !important;
    font-size: 0.96rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.icpm-reviewer small {
    color: #c2d2cc !important;
    font-size: 0.8rem;
    display: block;
    margin-top: 2px;
}

/* Floating Compact Glassmorphic G2 Cookie Toast (replaces intrusive full bar) */
.js-cookie-consent.cookie-consent {
    left: auto !important;
    right: 22px !important;
    bottom: 22px !important;
    max-width: 390px;
    width: calc(100% - 32px);
    padding: 14px 18px !important;
    background-color: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 0 !important;
    border-radius: 22px !important;
    corner-shape: var(--g2-shape);
    box-shadow:
        0 0 0 1px rgba(20, 45, 43, 0.09),
        0 12px 32px -6px rgba(11, 40, 38, 0.22) !important;
    text-align: left !important;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.js-cookie-consent.cookie-consent .max-w-7xl,
.js-cookie-consent.cookie-consent .p-2 {
    padding: 0 !important;
    background: transparent !important;
}

.js-cookie-consent.cookie-consent .flex {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
}

.js-cookie-consent.cookie-consent .w-0 {
    width: auto !important;
    flex: 1 1 auto !important;
    display: block !important;
}

.js-cookie-consent.cookie-consent .cookie-consent__message {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.45;
    color: var(--ink) !important;
}

.js-cookie-consent.cookie-consent button {
    white-space: nowrap;
    padding: 8px 16px !important;
    margin: 0 !important;
    font-size: 13px !important;
}

.js-cookie-consent.icpm-cookie-hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

/* Prevent iOS Safari input auto-zoom */
@media (max-width: 767.98px) {
    input, select, textarea, .form-control {
        font-size: 16px !important;
    }
}

/* Restrained Below-the-Fold Scroll Reveal */
.icpm-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.48s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.48s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.icpm-reveal.icpm-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .icpm-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}



/* --------------------------------------------------------------------------
   Why ICPM: editorial bento (.icpm-why)
   -------------------------------------------------------------------------- */
.icpm-why {
    --wx-radius: 28px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(64px, 8vw, 112px) 0;
    background: var(--soft-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* faint dot grid, fading toward the edges */
.icpm-why::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(25, 75, 66, 0.16) 1px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 10%, transparent 75%);
}

/* soft gold glow behind the grid */
.icpm-why::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 560px;
    height: 560px;
    inset-inline-end: -180px;
    bottom: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 191, 96, 0.22), transparent 65%);
}

/* header */
.icpm-why .wx-head {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: end;
    gap: 24px 64px;
    margin-bottom: clamp(36px, 4.5vw, 56px);
}

.icpm-why .wx-title {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.icpm-why .wx-mark {
    position: relative;
    color: var(--primary);
    white-space: nowrap;
    z-index: 0;
}

.icpm-why .wx-mark::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset-inline: -4px;
    bottom: 0.1em;
    height: 0.34em;
    border-radius: 4px;
    background: rgba(232, 191, 96, 0.55);
    transform: skewX(-8deg);
}

.icpm-why .wx-lead {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.9;
    max-width: 46ch;
}

.icpm-why .wx-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    padding-bottom: 4px;
    border-bottom: 1.5px solid rgba(25, 75, 66, 0.25);
    transition: border-color 0.2s ease, gap 0.2s ease;
}

.icpm-why .wx-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[dir="ltr"] .icpm-why .wx-link svg {
    transform: scaleX(-1);
}

.icpm-why .wx-link:hover {
    gap: 14px;
    border-color: var(--gold-base);
}

/* grid */
.icpm-why .wx-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(0, auto);
    gap: 20px;
}

.icpm-why .wx-card {
    position: relative;
    grid-column: span 5;
    display: flex;
    flex-direction: column;
    padding: clamp(26px, 3vw, 36px);
    background: var(--paper);
    border-radius: var(--wx-radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: opacity 0.48s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.3s ease;
}

.icpm-why .wx-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.icpm-why .wx-card--feature {
    grid-column: span 7;
    grid-row: span 2;
    color: #fff;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(87, 151, 137, 0.35), transparent 55%),
        linear-gradient(160deg, var(--primary) 0%, var(--deep) 70%);
    box-shadow: 0 24px 48px -20px rgba(16, 45, 44, 0.55);
}

.icpm-why .wx-card--feature:hover {
    box-shadow: 0 30px 60px -20px rgba(16, 45, 44, 0.6);
}

.icpm-why .wx-card--gold {
    background: linear-gradient(180deg, #fffaf0 0%, #fff 60%);
    box-shadow: 0 0 0 1px rgba(232, 191, 96, 0.45), 0 10px 24px -8px rgba(174, 121, 24, 0.12);
}

/* big outlined index numeral */
.icpm-why .wx-num {
    position: absolute;
    top: 14px;
    inset-inline-end: 22px;
    font-family: var(--font-display);
    font-size: 4.6rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(25, 75, 66, 0.12);
    pointer-events: none;
    user-select: none;
    transition: -webkit-text-stroke-color 0.3s ease;
}

.icpm-why .wx-card:hover .wx-num {
    -webkit-text-stroke-color: rgba(189, 148, 62, 0.45);
}

.icpm-why .wx-card--feature .wx-num {
    font-size: 6.5rem;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.12);
}

.icpm-why .wx-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 16px;
    color: var(--primary);
    background: var(--teal-soft);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease, color 0.3s ease;
}

.icpm-why .wx-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icpm-why .wx-card:hover .wx-icon {
    transform: rotate(-6deg) scale(1.06);
    background: var(--primary);
    color: var(--gold);
}

.icpm-why .wx-card--feature .wx-icon {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.icpm-why .wx-card--feature:hover .wx-icon {
    background: var(--gold);
    color: var(--deep);
}

.icpm-why .wx-card--gold .wx-icon {
    background: rgba(232, 191, 96, 0.22);
    color: #8a5f12;
}

.icpm-why .wx-card-title {
    margin: 0 0 10px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.45;
}

.icpm-why .wx-card-text {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.85;
}

.icpm-why .wx-card--feature .wx-card-title {
    color: #fff;
    font-size: clamp(1.5rem, 2.2vw, 1.85rem);
}

.icpm-why .wx-card--feature .wx-card-text {
    color: rgba(255, 255, 255, 0.74);
    max-width: 44ch;
    font-size: 1.02rem;
}

/* accreditation logo wall */
.icpm-why .wx-logos {
    list-style: none;
    margin: auto 0 0;
    padding: 32px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.icpm-why .wx-logos li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    height: 80px;
    padding: 0;
    border-radius: 14px;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icpm-why .wx-logos li:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px var(--gold);
}

.icpm-why .wx-logos img[alt="CPD"] {
    height: 125%;
}

.icpm-why .wx-logos li:hover img {
    transform: scale(1.06);
}

.icpm-why .wx-logos img {
    /* source logos are square with wide margins: crop the margin, keep the mark */
    display: block;
    flex: none;
    width: auto;
    height: 185%;
    max-width: none;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.25s ease;
}

.icpm-why .wx-logos .wx-logos-more {
    padding: 0;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.icpm-why .wx-logos .wx-logos-more:hover {
    background: var(--gold);
    box-shadow: none;
}

.icpm-why .wx-logos-more a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1.2;
}

.icpm-why .wx-logos-more strong {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold);
    direction: ltr;
    unicode-bidi: isolate;
}

.icpm-why .wx-logos-more span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.icpm-why .wx-logos-more:hover a,
.icpm-why .wx-logos-more:hover strong {
    color: var(--deep) !important;
}

/* quality tags */
.icpm-why .wx-tags {
    list-style: none;
    margin: auto 0 0;
    padding: 24px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.icpm-why .wx-tags li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.icpm-why .wx-tags li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal-accent);
}

/* learning modes */
.icpm-why .wx-modes {
    list-style: none;
    margin: auto 0 0;
    padding: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.icpm-why .wx-modes li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(232, 191, 96, 0.4);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.icpm-why .wx-modes svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #8a5f12;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icpm-why .wx-modes .wx-live {
    fill: var(--coral);
    stroke: none;
    animation: wx-pulse 1.8s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}

@keyframes wx-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.7); }
}

.icpm-why .wx-modes li:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: none;
}

.icpm-why .wx-modes li:hover svg {
    stroke: var(--gold);
}

/* focus */
.icpm-why a:focus-visible {
    outline: 2px solid var(--gold-focus);
    outline-offset: 3px;
    border-radius: 6px;
}

/* responsive */
@media (max-width: 991.98px) {
    .icpm-why .wx-head {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .icpm-why .wx-card,
    .icpm-why .wx-card--feature {
        grid-column: span 6;
        grid-row: auto;
    }
    .icpm-why .wx-card--feature {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .icpm-why {
        --wx-radius: 22px;
    }
    .icpm-why .wx-grid {
        gap: 14px;
    }
    .icpm-why .wx-card,
    .icpm-why .wx-card--feature {
        grid-column: 1 / -1;
    }
    .icpm-why .wx-num {
        font-size: 3.6rem;
    }
    .icpm-why .wx-card--feature .wx-num {
        font-size: 4.6rem;
    }
    .icpm-why .wx-logos li {
        height: 64px;
        padding: 8px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .icpm-why .wx-modes .wx-live {
        animation: none;
    }
}
