/* ═══════════════════════════════════════════════════════════════════════════
   EMANCIPATION EDUTECH — TOPRANKERS-INSPIRED PREMIUM THEME & SPLIT NAVBAR
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --tr-blue: #0176c5;
    --tr-blue-dark: #005fa3;
    --tr-blue-light: #028ceb;
    --tr-blue-gradient: linear-gradient(135deg, #0165b8 0%, #0176c5 60%, #028ceb 100%);
    --tr-dark: #1e2632;
    --tr-dark-deeper: #151c25;
    --tr-orange: #f58220;
    --tr-orange-hover: #e07110;
    --tr-text-dark: #0f172a;
    --tr-text-muted: #64748b;
    --tr-bg-light: #f8fafc;
    --tr-border: #e2e8f0;
}

/* ──────────────────────────────────────────────────────────────────────────
   1. TOPRANKERS-STYLE SPLIT NAVBAR
   ────────────────────────────────────────────────────────────────────────── */
.toprankers-header {
    background-color: var(--tr-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    width: 100%;
}

.toprankers-nav-wrap {
    display: flex;
    width: 100%;
    min-height: 68px;
    align-items: stretch;
    position: relative;
    overflow: visible;
}

/* ── Left Brand Section (Blue) ── */
.nav-brand-section {
    background: var(--tr-blue-gradient);
    flex: 1 1 54%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding-left: clamp(28px, 2.5vw, 48px);
    padding-right: clamp(40px, 3.2vw, 56px);
    z-index: 3;
}

/* The iconic diagonal slant slice separator */
.nav-brand-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: -18px;
    bottom: 0;
    width: 38px;
    background: #028ceb;
    transform: skewX(-20deg);
    z-index: 4;
    pointer-events: none;
    box-shadow: 4px 0 14px rgba(0, 0, 0, 0.18);
}

.nav-brand-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: clamp(16px, 1.8vw, 28px);
    position: relative;
    z-index: 5;
}

/* Clean seamless logo branding on blue navbar - white border pill removed */
.nav-logo-pill {
    background: transparent;
    padding: 0;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    box-shadow: none;
    flex-shrink: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-logo-pill:hover {
    transform: translateY(-1px);
    box-shadow: none;
    opacity: 0.95;
}

.nav-logo-pill img {
    height: 35px;
    max-height: 36px;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain;
    border-radius: 4px;
}

/* Primary links on blue */
.nav-primary-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.3vw, 20px);
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
    position: relative;
    z-index: 5;
}

.nav-primary-links > li {
    position: relative;
}

.nav-primary-links > li > a {
    color: #ffffff !important;
    font-weight: 600;
    font-size: clamp(0.86rem, 0.95vw, 0.92rem);
    padding: 18px 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-primary-links > li > a:hover,
.nav-primary-links > li > a.active {
    opacity: 0.9;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.nav-primary-links .dropdown-arrow {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.nav-primary-links > li:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown styling */
.nav-brand-section .tr-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    padding: 10px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    border: 1px solid #e2e8f0;
}

.nav-primary-links > li:hover .tr-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tr-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #1e293b !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.tr-dropdown li a:hover {
    background-color: #f1f5f9;
    color: var(--tr-blue) !important;
    font-weight: 600;
}

.tr-dropdown li a i {
    color: var(--tr-blue);
    font-size: 0.85rem;
    width: 16px;
}

/* ── Right Section (Dark) ── */
.nav-dark-section {
    background: var(--tr-dark);
    flex: 1 1 46%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: clamp(32px, 2.6vw, 44px);
    padding-right: clamp(24px, 2.5vw, 48px);
    z-index: 2;
}

.nav-dark-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 1.6vw, 26px);
    width: 100%;
}

.nav-secondary-links {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.2vw, 18px);
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-secondary-links > li {
    position: relative;
}

.nav-secondary-links > li > a {
    color: #e2e8f0 !important;
    font-weight: 500;
    font-size: clamp(0.84rem, 0.92vw, 0.89rem);
    padding: 18px 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-secondary-links > li > a:hover,
.nav-secondary-links > li > a.active {
    color: #ffffff !important;
}

.nav-secondary-links .nav-alumni-link {
    color: #ffd166 !important;
    font-weight: 600;
}

.nav-secondary-links .nav-alumni-link:hover {
    color: #ffe082 !important;
}

.nav-dark-section .tr-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 100;
    border: 1px solid #e2e8f0;
}

.nav-secondary-links > li:hover .tr-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Nav Actions (CTA Button + Hamburger) */
.nav-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-nav-enroll {
    background: var(--tr-orange) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(245, 130, 32, 0.35);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-nav-enroll:hover {
    background: var(--tr-orange-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 130, 32, 0.45);
    color: #ffffff !important;
}

/* Intermediate Laptop Sizing (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .nav-brand-section {
        flex: 1 1 55% !important;
        padding-left: 18px !important;
        padding-right: 36px !important;
    }
    .nav-dark-section {
        flex: 1 1 45% !important;
        padding-left: 28px !important;
        padding-right: 18px !important;
    }
    .nav-brand-inner {
        gap: 12px !important;
    }
    .nav-primary-links {
        gap: 10px !important;
    }
    .nav-dark-inner {
        gap: 10px !important;
    }
    .nav-secondary-links {
        gap: 8px !important;
    }
    .nav-primary-links > li > a,
    .nav-secondary-links > li > a {
        font-size: 0.81rem !important;
    }
    .nav-logo-pill img {
        height: 32px !important;
        max-width: 195px !important;
    }
    .btn-nav-enroll {
        padding: 6px 11px !important;
        font-size: 0.79rem !important;
    }
}

/* ── Hide mobile hamburger button on desktop screens (>1024px) ── */
@media (min-width: 1025px) {
    .tr-mobile-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   MOBILE & TABLET RESPONSIVE NAVBAR (SMOOTH SLIDE-IN DRAWER)
   ────────────────────────────────────────────────────────────────────────── */
.tr-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99998 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tr-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tr-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 340px;
    max-width: 88vw;
    background: #ffffff;
    z-index: 99999 !important;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.28);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tr-mobile-drawer.is-open {
    transform: translateX(0);
}

.tr-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--tr-blue-gradient);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.drawer-logo-wrap {
    background: transparent;
    padding: 0;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    box-shadow: none;
}

.drawer-logo-wrap img {
    height: 34px;
    width: auto;
    display: block;
    border-radius: 4px;
}

.tr-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #ffffff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tr-drawer-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.tr-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 18px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tr-drawer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-nav-item,
.drawer-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    color: #1e293b !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.drawer-nav-item i,
.drawer-submenu-toggle i {
    color: var(--tr-blue);
    font-size: 1rem;
    width: 22px;
    text-align: center;
}

.drawer-nav-item:hover,
.drawer-nav-item.active,
.drawer-submenu-toggle:hover,
.drawer-submenu-toggle.active {
    background: #e0f2fe;
    color: var(--tr-blue) !important;
    border-color: #bae6fd;
}

.drawer-nav-item.highlight-alumni {
    background: #fefce8;
    border-color: #fef08a;
    color: #854d0e !important;
}

.drawer-nav-item.highlight-alumni i {
    color: #ca8a04;
}

.toggle-arrow {
    font-size: 0.75rem !important;
    transition: transform 0.25s ease;
    color: #64748b !important;
}

.drawer-submenu-toggle.active .toggle-arrow {
    transform: rotate(180deg);
    color: var(--tr-blue) !important;
}

.drawer-submenu {
    list-style: none;
    margin: 4px 0 0 12px;
    padding: 6px 0 6px 14px;
    border-left: 2px solid #e0f2fe;
    display: none;
    flex-direction: column;
    gap: 6px;
}

.drawer-submenu.is-open {
    display: flex;
}

.drawer-submenu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #475569 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s ease;
}

.drawer-submenu li a i {
    color: var(--tr-blue);
    font-size: 0.85rem;
    width: 18px;
}

.drawer-submenu li a:hover {
    background: #f1f5f9;
    color: var(--tr-blue) !important;
}

.tr-drawer-cta-block {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-drawer-enroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 8px;
    background: var(--tr-orange);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(245, 130, 32, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-drawer-enroll:hover {
    background: var(--tr-orange-hover);
    transform: translateY(-2px);
}

.drawer-contact-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.drawer-phone-btn,
.drawer-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.drawer-phone-btn {
    background: #f1f5f9;
    color: #1e293b !important;
}

.drawer-phone-btn:hover {
    background: #e2e8f0;
}

.drawer-wa-btn {
    background: #dcfce7;
    color: #15803d !important;
}

.drawer-wa-btn:hover {
    background: #bbf7d0;
}

body.tr-drawer-active {
    overflow: hidden !important;
}

/* ── Mobile Header Responsive Rules ── */
@media (max-width: 1024px) {
    /* Hide top announcement and contact bars on mobile screens so navbar is directly at top */
    .announcement-bar,
    .top-header-bar {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        overflow: hidden !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .toprankers-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
    }

    .nav-primary-links,
    .nav-secondary-links {
        display: none !important;
    }

    .toprankers-nav-wrap {
        min-height: 62px;
    }

    .nav-brand-section {
        flex: 1 1 auto;
        justify-content: flex-start;
        padding-left: 16px !important;
        padding-right: 12px !important;
        clip-path: none !important;
    }

    .nav-brand-section::after {
        display: none !important;
    }

    .nav-brand-inner {
        max-width: none;
    }

    .nav-logo-pill {
        padding: 0 !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .nav-logo-pill img {
        height: 34px !important;
    }

    .nav-dark-section {
        flex: 0 0 auto;
        padding-left: 8px !important;
        padding-right: 16px !important;
    }

    .nav-dark-inner {
        width: auto;
    }

    .btn-nav-enroll {
        padding: 7px 12px !important;
        font-size: 0.82rem !important;
    }

    .tr-mobile-toggle {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.18) !important;
        border: 1px solid rgba(255, 255, 255, 0.35) !important;
        color: #ffffff !important;
        font-size: 1.25rem !important;
        cursor: pointer !important;
        z-index: 100 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    }

    .tr-mobile-toggle i {
        color: #ffffff !important;
        font-size: 1.25rem !important;
        display: inline-block !important;
        pointer-events: none !important;
    }
}

@media (max-width: 440px) {
    .btn-nav-enroll .enroll-btn-label {
        display: none;
    }
    .btn-nav-enroll {
        padding: 7px 10px !important;
    }
    .nav-brand-section {
        padding-left: 10px !important;
    }
    .nav-dark-section {
        padding-right: 10px !important;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   2. MINIMAL ANIMATED HERO SECTION (NO IMAGES, TYPOGRAPHY + SHIMMER BUTTON)
   ────────────────────────────────────────────────────────────────────────── */
.tr-minimal-hero-section {
    position: relative;
    background: #ffffff;
    padding: 100px 24px 85px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 520px;
}

/* Subtle background grid & light glow effects */
.minimal-hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(1, 118, 197, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(1, 118, 197, 0.045) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 50%, transparent 100%);
    pointer-events: none;
}

.minimal-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    animation: ambientFloat 8s ease-in-out infinite alternate;
}

.minimal-hero-glow.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(1, 118, 197, 0.22) 0%, rgba(2, 140, 235, 0.08) 60%, transparent 80%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.minimal-hero-glow.glow-2 {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, rgba(245, 158, 11, 0.05) 60%, transparent 80%);
    top: 25%;
    left: 45%;
    animation-delay: -3s;
}

@keyframes ambientFloat {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-48%, -52%) scale(1.08); }
    100% { transform: translate(-52%, -48%) scale(0.96); }
}

.tr-minimal-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Eyebrow badge */
.minimal-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f0f7ff;
    border: 1px solid rgba(1, 118, 197, 0.2);
    border-radius: 999px;
    padding: 7px 20px;
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 1.5px;
    color: var(--tr-blue);
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(1, 118, 197, 0.08);
}

.eyebrow-ping-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tr-blue);
    box-shadow: 0 0 0 0 rgba(1, 118, 197, 0.7);
    animation: pingDot 2s infinite;
}

@keyframes pingDot {
    0% {
        box-shadow: 0 0 0 0 rgba(1, 118, 197, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(1, 118, 197, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(1, 118, 197, 0);
    }
}

/* Big Hero Kinetic Typography */
.minimal-hero-title {
    font-size: clamp(2.5rem, 5.8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.035em;
    margin: 0 0 20px;
}

.hero-animated-word-wrap {
    display: inline-block;
    position: relative;
    color: var(--tr-blue);
    background: linear-gradient(135deg, #0176c5 0%, #028ceb 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 4px solid var(--tr-orange);
    padding-bottom: 2px;
}

.hero-typewriter-cursor {
    display: inline-block;
    color: var(--tr-orange);
    -webkit-text-fill-color: var(--tr-orange);
    font-weight: 300;
    animation: blinkCursor 0.8s infinite;
    margin-left: 2px;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Minimal Subtitle */
.minimal-hero-subtitle {
    font-size: clamp(1.05rem, 2.1vw, 1.28rem);
    color: #475569;
    font-weight: 500;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 0 38px;
}

/* Animated Buttons */
.minimal-hero-cta-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 42px;
}

.btn-animated-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 38px;
    font-size: 1.12rem;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #0176c5 0%, #028ceb 100%);
    box-shadow: 0 10px 30px rgba(1, 118, 197, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.btn-animated-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 38px rgba(1, 118, 197, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    color: #ffffff !important;
}

.btn-shimmer-sweep {
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    transform: skewX(-25deg);
    animation: shimmerSweep 3.2s infinite ease-in-out;
    pointer-events: none;
}

@keyframes shimmerSweep {
    0% { left: -120%; }
    40%, 100% { left: 180%; }
}

.btn-cta-icon {
    display: inline-flex;
    align-items: center;
    transition: transform 0.25s ease;
    animation: arrowBounce 1.8s infinite ease-in-out;
}

.btn-animated-cta:hover .btn-cta-icon {
    transform: translateX(5px);
    animation: none;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.btn-minimal-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #334155 !important;
    text-decoration: none;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    transition: all 0.2s ease;
}

.btn-minimal-secondary:hover {
    background: #f8fafc;
    border-color: var(--tr-blue);
    color: var(--tr-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Minimal Trust Badges Bar */
.minimal-hero-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.mini-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mini-badge-item i {
    color: var(--tr-blue);
    font-size: 0.95rem;
}

.mini-badge-dot {
    color: #cbd5e1;
    user-select: none;
}

@media (max-width: 600px) {
    .tr-minimal-hero-section {
        padding: 65px 16px 55px;
        min-height: auto;
    }
    .minimal-hero-title {
        font-size: 2.2rem;
    }
    .minimal-hero-cta-wrap {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn-animated-cta,
    .btn-minimal-secondary {
        width: 100%;
        justify-content: center;
    }
    .mini-badge-dot {
        display: none;
    }
    .minimal-hero-badges {
        gap: 10px 18px;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   2. HERO SECTION (LEGACY / FALLBACK)
   ────────────────────────────────────────────────────────────────────────── */
.tr-hero-section {
    background: #ffffff;
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.tr-hero-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.tr-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

/* Left Content */
.tr-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tr-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #e0f2fe;
    color: var(--tr-blue);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(1, 118, 197, 0.08);
}

.tr-hero-eyebrow i {
    color: var(--tr-orange);
}

.tr-hero-title {
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.12;
    color: var(--tr-text-dark);
    margin: 0 0 16px;
    letter-spacing: -0.03em;
}

.tr-hero-title .highlight-blue {
    color: var(--tr-blue);
    position: relative;
    display: inline-block;
}

.tr-hero-subtitle {
    font-size: 1.38rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 14px;
    line-height: 1.35;
}

.tr-hero-desc {
    font-size: 1.05rem;
    color: var(--tr-text-muted);
    line-height: 1.7;
    margin: 0 0 26px;
    max-width: 580px;
}

.tr-hero-perks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    width: 100%;
}

.tr-perk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #1e293b;
}

.tr-perk-item .perk-check {
    width: 22px;
    height: 22px;
    background: #e0f2fe;
    color: var(--tr-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.tr-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-hero-primary {
    background: var(--tr-blue-gradient) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(1, 118, 197, 0.35);
    transition: all 0.25s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(1, 118, 197, 0.45);
    color: #ffffff !important;
}

.btn-hero-secondary {
    background: #ffffff !important;
    color: var(--tr-blue) !important;
    border: 2px solid var(--tr-blue) !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 12px 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
    background: #f0f7ff !important;
    transform: translateY(-2px);
    color: var(--tr-blue-dark) !important;
}

/* Trust Bar / Social Proof */
.tr-hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    width: 100%;
}

.trust-rating-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    display: flex;
    gap: 3px;
}

.trust-rating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.trust-rating-text strong {
    color: #0f172a;
}

/* Right Visual (Graduate Student Illustration) */
.tr-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.tr-visual-bg-circle {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, #f0f9ff 0%, #e0f2fe 65%, rgba(224, 242, 254, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.tr-student-image {
    position: relative;
    z-index: 2;
    max-width: 440px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 14px 28px rgba(1, 118, 197, 0.12));
    transition: transform 0.3s ease;
}

.tr-student-image:hover {
    transform: translateY(-4px) scale(1.01);
}

/* Floating Glass Badges */
.tr-float-badge {
    position: absolute;
    z-index: 4;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    animation: floatSoft 4s ease-in-out infinite alternate;
}

.tr-float-badge.badge-top-left {
    top: 20px;
    left: -15px;
    animation-delay: 0s;
}

.tr-float-badge.badge-top-right {
    top: 20px;
    right: -15px;
    animation-delay: 1.2s;
}

.tr-float-badge.badge-bottom-right {
    bottom: 25px;
    right: -10px;
    animation-delay: 1.5s;
}

.tr-float-badge.badge-bottom-left {
    bottom: 30px;
    left: -20px;
    animation-delay: 0.8s;
}

.tr-float-badge.badge-bottom-wide {
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 92%;
    animation: floatSoft 4.5s ease-in-out infinite alternate;
    animation-delay: 0.5s;
}

.badge-tech-tags {
    font-size: 0.72rem;
    color: var(--tr-blue);
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

.badge-wow-live {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-pulse-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseDot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* WOW Hero Elements */
.tr-hero-tracks {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 22px;
}

.track-tag-lead {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.track-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.track-chip:hover {
    background: #e0f2fe;
    color: var(--tr-blue);
    border-color: #bae6fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 118, 197, 0.12);
}

.tr-hero-photo-card {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px -12px rgba(1, 118, 197, 0.28), 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 4px solid #ffffff;
    max-width: 480px;
    width: 100%;
    background: #f1f5f9;
}

.tr-hero-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.5s ease;
}

.tr-hero-photo-card:hover .tr-hero-photo {
    transform: scale(1.03);
}

.tr-photo-card-overlay {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 3;
}

.overlay-badge {
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tr-wow-glow-backdrop {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 118, 197, 0.18) 0%, rgba(2, 140, 235, 0.08) 50%, rgba(255, 255, 255, 0) 75%);
    z-index: 1;
    pointer-events: none;
    filter: blur(25px);
}

.float-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.float-badge-icon.gold {
    background: #fef3c7;
    color: #d97706;
}

.float-badge-icon.blue {
    background: #e0f2fe;
    color: var(--tr-blue);
}

.float-badge-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.float-badge-text strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
    line-height: 1.2;
}

.float-badge-text span {
    font-size: 0.78rem;
    color: #64748b;
}

@keyframes floatSoft {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

/* Responsive Hero */
@media (max-width: 992px) {
    .tr-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tr-hero-content {
        text-align: center;
        align-items: center;
    }
    .tr-hero-tracks {
        justify-content: center;
    }
    .tr-hero-title {
        font-size: 2.8rem;
    }
    .tr-hero-actions {
        justify-content: center;
    }
    .tr-hero-trust {
        justify-content: center;
    }
    .tr-hero-visual {
        min-height: 380px;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    .tr-visual-bg-circle {
        width: 320px;
        height: 320px;
    }
    .tr-student-image {
        max-width: 340px;
    }
    .tr-float-badge.badge-top-left {
        left: 0;
        top: 10px;
    }
    .tr-float-badge.badge-top-right {
        right: 0;
        top: 10px;
    }
    .tr-float-badge.badge-bottom-right {
        right: 5px;
    }
    .badge-bottom-wide {
        bottom: -15px;
        max-width: 96%;
    }
}

@media (max-width: 600px) {
    .tr-hero-title {
        font-size: 2.1rem;
    }
    .tr-hero-subtitle {
        font-size: 1.12rem;
    }
    .tr-hero-tracks {
        gap: 6px;
    }
    .track-tag-lead {
        width: 100%;
        margin-bottom: 2px;
    }
    .track-chip {
        font-size: 0.78rem;
        padding: 4px 10px;
    }
    .tr-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    .badge-bottom-wide {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-top: 16px;
        box-sizing: border-box;
    }
    .tr-float-badge.badge-top-left,
    .tr-float-badge.badge-top-right {
        position: static;
        margin: 6px auto;
        width: fit-content;
    }
    .tr-hero-visual-wow {
        display: flex;
        flex-direction: column;
        gap: 12px;
        min-height: auto;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   3. INFINITE LOGO MARQUEE (TRAINED AT EMANCIPATION / TOP COMPANIES)
   ────────────────────────────────────────────────────────────────────────── */
.company-marquee-section {
    background: #f8fafc;
    padding: 34px 0 38px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
}

.marquee-header-wrap {
    text-align: center;
    margin-bottom: 22px;
}

.marquee-pill-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--tr-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 6px;
}

.marquee-sub-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.marquee-outer-mask {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track-scroll {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: marqueeContinuous 38s linear infinite;
}

.marquee-track-scroll:hover {
    animation-play-state: paused;
}

@keyframes marqueeContinuous {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.company-logo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.company-logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.company-logo-card svg,
.company-logo-card img {
    height: 24px;
    width: auto;
    max-width: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.company-logo-card span {
    font-size: 0.94rem;
    font-weight: 700;
    color: #334155;
    letter-spacing: -0.01em;
}

/* ──────────────────────────────────────────────────────────────────────────
   4. REDESIGNED STATS SECTION
   ────────────────────────────────────────────────────────────────────────── */
.tr-stats-section {
    background: #ffffff;
    padding: 40px 0;
    border-bottom: 1px solid #e2e8f0;
}

.tr-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tr-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.tr-stat-card:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(1, 118, 197, 0.08);
    border-color: #cbd5e1;
}

.tr-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #e0f2fe;
    color: var(--tr-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.tr-stat-info h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.1;
}

.tr-stat-info p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 4px 0 0;
    font-weight: 500;
}

@media (max-width: 900px) {
    .tr-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 520px) {
    .tr-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   5. POPULAR DOMAINS / CATEGORIES
   ────────────────────────────────────────────────────────────────────────── */
.tr-categories-section {
    padding: 60px 0;
    background: #f8fafc;
}

.tr-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.tr-section-kicker {
    display: inline-block;
    color: var(--tr-blue);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tr-section-header h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
}

.tr-section-header p {
    font-size: 1.02rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.tr-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.tr-category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.25s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.tr-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(1, 118, 197, 0.1);
    border-color: var(--tr-blue);
}

.tr-cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #e0f2fe;
    color: var(--tr-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.tr-category-card h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.tr-category-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.5;
    flex-grow: 1;
}

.tr-cat-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--tr-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tr-category-card:hover .tr-cat-link {
    gap: 10px;
}

/* ──────────────────────────────────────────────────────────────────────────
   6. WHY CHOOSE EMANCIPATION (FEATURES)
   ────────────────────────────────────────────────────────────────────────── */
.tr-why-section {
    padding: 64px 0;
    background: #ffffff;
}

.tr-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tr-feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    transition: all 0.25s ease;
}

.tr-feature-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.tr-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #e0f2fe;
    color: var(--tr-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.tr-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.tr-feature-card p {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .tr-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .tr-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   7. 4-STEP TRAINING JOURNEY (ROADMAP)
   ────────────────────────────────────────────────────────────────────────── */
.tr-journey-section {
    padding: 60px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.tr-journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.tr-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 26px 20px;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

.tr-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(1, 118, 197, 0.08);
}

.tr-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tr-blue-gradient);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(1, 118, 197, 0.3);
}

.tr-step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.tr-step-card p {
    font-size: 0.86rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .tr-journey-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 500px) {
    .tr-journey-grid {
        grid-template-columns: 1fr;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   8. REDESIGNED "LEARNING THAT BECOMES REAL-WORLD WORK" SECTION (IMAGE 1)
   ────────────────────────────────────────────────────────────────────────── */
.student-projects-section,
.tr-projects-showcase-section {
    padding: 60px 0;
    background: #ffffff !important;
}

.tr-projects-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.tr-projects-intro-card {
    display: flex;
    flex-direction: column;
    padding: 36px 28px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.tr-badge-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tr-blue);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tr-projects-intro-card h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 14px;
}

.tr-projects-intro-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
}

.tr-projects-points {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.tr-projects-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
}

.tr-projects-points li i {
    color: var(--tr-orange);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.btn-tr-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border: 2px solid var(--tr-orange);
    background: #ffffff;
    color: var(--tr-orange);
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: auto;
}

.btn-tr-view-all:hover {
    background: var(--tr-orange);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 130, 32, 0.3);
}

/* The 4 Modern Project/Course Cards */
.tr-project-course-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Colored top accent line */
.tr-project-course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-accent, var(--tr-blue));
}

.tr-project-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09);
    border-color: var(--card-accent, var(--tr-blue));
}

.tr-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.tr-cat-pill {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--card-accent, var(--tr-blue));
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--card-bg-tint, #f0f7ff);
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tr-card-link-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tr-project-course-card:hover .tr-card-link-icon {
    background: var(--card-accent, var(--tr-blue));
    color: #ffffff;
    transform: scale(1.08);
}

.tr-card-course-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 10px;
    min-height: 44px;
}

.tr-card-course-title a {
    color: #0f172a !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tr-card-course-title a:hover {
    color: var(--tr-blue) !important;
}

.tr-card-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 16px;
    min-height: 60px;
    flex-grow: 1;
}

.tr-card-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.tr-card-meta-tags .meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 50px;
}

.tr-card-bottom-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.tr-card-fee .fee-current {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    display: block;
    line-height: 1;
}

.tr-card-fee .fee-orig {
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: line-through;
    display: block;
}

.btn-tr-card-explore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--card-accent, var(--tr-blue)) !important;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--card-bg-tint, #f0f7ff);
    transition: all 0.2s ease;
}

.btn-tr-card-explore:hover {
    background: var(--card-accent, var(--tr-blue));
    color: #ffffff !important;
    gap: 9px;
}

/* Responsive for Projects/Course Showcase */
@media (max-width: 1180px) {
    .tr-projects-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tr-projects-intro-card {
        grid-column: span 2;
    }
}

@media (max-width: 680px) {
    .tr-projects-grid {
        grid-template-columns: 1fr;
    }
    .tr-projects-intro-card {
        grid-column: span 1;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   9. BETTER TEACHERS, BETTER LEARNING, BETTER RESULTS (IMAGE 2)
   ────────────────────────────────────────────────────────────────────────── */
.tr-better-strip-section {
    padding: 30px 0 50px;
    background: #f8fafc;
}

.tr-better-card-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 42px 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 32px;
}

.tr-better-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 14px;
}

.tr-better-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff5f2;
    color: #ea580c;
    border: 1px solid #ffedd5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.1);
    transition: transform 0.25s ease;
}

.tr-better-item:hover .tr-better-icon {
    transform: translateY(-4px) scale(1.06);
    background: #ea580c;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.25);
}

.tr-better-item h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}

.tr-better-item p {
    font-size: 0.94rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    max-width: 320px;
}

.tr-better-divider {
    width: 1px;
    height: 100px;
    background: #e2e8f0;
}

@media (max-width: 900px) {
    .tr-better-card-box {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 20px;
    }
    .tr-better-divider {
        width: 80%;
        height: 1px;
        margin: 0 auto;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   10. REDESIGNED PREMIUM FOOTER (MATCHING TOPRANKERS DARK THEME)
   ────────────────────────────────────────────────────────────────────────── */
.site-footer {
    background: linear-gradient(180deg, #161d26 0%, #0f141b 100%) !important;
    color: #cbd5e1 !important;
    padding: 70px 0 28px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-grid {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr !important;
    gap: 48px !important;
    margin-bottom: 50px !important;
}

.footer-widget-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-pill {
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.footer-logo-pill img {
    height: 38px;
    width: auto;
    display: block;
}

.footer-brand-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.footer-social-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.footer-social-strip a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-strip a:hover {
    background: var(--tr-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 118, 197, 0.4);
}

.site-footer .footer-widget h4 {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 12px !important;
    letter-spacing: -0.01em;
}

.site-footer .footer-widget h4::after {
    content: '' !important;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px !important;
    height: 3px !important;
    background: var(--tr-blue) !important;
    border-radius: 3px;
}

.site-footer .footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 11px !important;
}

.site-footer .footer-links li a {
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-footer .footer-links li a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}

.site-footer .footer-contact {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.site-footer .footer-contact li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

.site-footer .footer-contact li i {
    color: var(--tr-blue);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.site-footer .footer-contact li a {
    color: #e2e8f0 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .footer-contact li a:hover {
    color: #ffffff !important;
}

.footer-payment-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: var(--tr-orange) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
    transition: all 0.2s ease;
}

.footer-payment-btn:hover {
    background: var(--tr-orange-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 130, 32, 0.45);
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    color: #64748b !important;
    font-size: 0.86rem !important;
}

.footer-bottom-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: #94a3b8;
    font-size: 0.82rem;
}

.footer-bottom-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom-badges span i {
    color: #10b981;
}

@media (max-width: 1024px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 36px !important;
    }
}

@media (max-width: 640px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .site-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-badges {
        justify-content: center;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   11. BRAND-NEW MODERN COURSE CARDS DESIGN
   ────────────────────────────────────────────────────────────────────────── */
.tr-courses-section {
    background: #f8fafc;
    padding: 64px 0;
}

.tr-modern-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.tr-modern-course-card,
.course-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
    position: relative;
}

.tr-modern-course-card:hover,
.course-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 36px rgba(1, 118, 197, 0.12) !important;
    border-color: var(--tr-blue) !important;
}

.card-thumb-wrap,
.course-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #0165b8 0%, #028ceb 100%);
    width: 100%;
}

.card-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.card-thumb-img,
.course-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.4s ease;
}

.tr-modern-course-card:hover .card-thumb-img,
.course-card:hover .course-img img {
    transform: scale(1.05);
}

.card-thumb-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
}

.badge-tag-mode,
.course-badge {
    background: rgba(1, 118, 197, 0.92) !important;
    backdrop-filter: blur(4px);
    color: #ffffff !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-tag-discount {
    background: #ea580c;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.card-rating-float {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.card-rating-float i {
    color: #f59e0b;
}

.card-body-wrap,
.course-content {
    padding: 22px 20px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.card-cat-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.card-cat-title,
.course-category {
    color: var(--tr-blue) !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 !important;
}

.card-cert-pill {
    font-size: 0.7rem;
    font-weight: 700;
    color: #10b981;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-heading,
.course-title {
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    margin: 0 0 10px !important;
    min-height: 48px;
}

.card-heading a,
.course-title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.card-heading a:hover,
.course-title a:hover {
    color: var(--tr-blue) !important;
}

.card-summary {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 16px;
    min-height: 42px;
    flex-grow: 1;
}

.card-features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.feat-pill {
    font-size: 0.76rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.feat-pill i {
    color: var(--tr-blue);
    font-size: 0.8rem;
}

.card-footer-action,
.course-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    margin-top: auto !important;
}

.card-pricing,
.course-price {
    display: flex;
    flex-direction: column;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
}

.price-current.price-enquiry {
    font-size: 0.95rem;
    color: var(--tr-blue);
}

.price-original {
    font-size: 0.78rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.btn-card-details {
    background: #e0f2fe;
    color: var(--tr-blue) !important;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-card-details:hover {
    background: var(--tr-blue);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 118, 197, 0.3);
}

@media (max-width: 992px) {
    .tr-modern-courses-grid,
    .course-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    .tr-modern-courses-grid,
    .course-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   TOPRANKERS INNER PAGES THEME (FACULTY, ABOUT US, TESTIMONIALS)
   ══════════════════════════════════════════════════════════════════════════ */

/* Consistent Page Hero */
.tr-page-hero {
    background: radial-gradient(1100px circle at 50% -10%, rgba(1, 118, 197, 0.08), transparent 70%),
        radial-gradient(600px circle at 90% 40%, rgba(2, 140, 235, 0.05), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 64px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tr-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
}

.tr-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: var(--tr-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 16px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(1, 118, 197, 0.1);
}

.tr-page-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 850;
    letter-spacing: -0.025em;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 14px;
}

.tr-page-title span.highlight {
    background: var(--tr-blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tr-page-desc {
    color: #64748b;
    font-size: 1.08rem;
    max-width: 680px;
    margin: 0 auto 24px;
    line-height: 1.65;
}

.tr-page-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tr-stat-chip {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tr-stat-chip i {
    color: var(--tr-orange);
}

/* Faculty Grid & Cards */
.tr-faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.tr-faculty-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.tr-faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(1, 118, 197, 0.12);
    border-color: #93c5fd;
}

.tr-faculty-avatar-wrap {
    width: 130px;
    height: 130px;
    margin: 0 auto 18px;
    position: relative;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #0176c5 0%, #028ceb 50%, #f58220 100%);
    box-shadow: 0 8px 22px rgba(1, 118, 197, 0.22);
}

.tr-faculty-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    display: block;
    border: 3px solid #ffffff;
}

.tr-faculty-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tr-faculty-name .verified-badge {
    color: #0284c7;
    font-size: 0.95rem;
}

.tr-faculty-designation {
    color: var(--tr-blue);
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.tr-faculty-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    align-self: center;
}

.tr-faculty-meta-box {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tr-faculty-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
}

.tr-faculty-meta-row i {
    color: var(--tr-blue);
    width: 16px;
    text-align: center;
}

.tr-faculty-meta-row strong {
    color: #1e293b;
    font-weight: 600;
}

.tr-faculty-bio {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tr-faculty-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tr-faculty-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tr-faculty-social-link {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.tr-faculty-social-link:hover {
    background: var(--tr-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-faculty-inquire {
    background: #e0f2fe;
    color: var(--tr-blue) !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-faculty-inquire:hover {
    background: var(--tr-blue);
    color: #ffffff !important;
}

/* About Us Modern Styles */
.tr-about-story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 70px;
}

.tr-about-lead {
    font-size: 1.12rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 18px;
}

.tr-about-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #64748b;
    margin-bottom: 28px;
}

.tr-mv-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.tr-mv-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    position: relative;
    border-left: 4px solid var(--tr-blue);
}

.tr-mv-card.vision {
    border-left-color: var(--tr-orange);
}

.tr-mv-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.tr-mv-card-header i {
    font-size: 1.25rem;
    color: var(--tr-blue);
}

.tr-mv-card.vision .tr-mv-card-header i {
    color: var(--tr-orange);
}

.tr-mv-card-header h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.tr-mv-card p {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.tr-about-visual-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #0176c5 0%, #1e2632 100%);
    padding: 36px 32px;
    color: #ffffff;
    box-shadow: 0 20px 45px rgba(1, 118, 197, 0.22);
}

.tr-about-visual-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.tr-about-badge-floating {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.tr-about-stats-stack {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.tr-about-stat-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 20px 16px;
    backdrop-filter: blur(8px);
}

.tr-about-stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 6px;
}

.tr-about-stat-num span {
    color: var(--tr-orange);
}

.tr-about-stat-lbl {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 600;
}

/* Why Choose Emancipation - 4 Cards Grid */
.tr-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.tr-why-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.tr-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
    border-color: #93c5fd;
}

.tr-why-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.tr-why-icon-blue {
    background: #e0f2fe;
    color: var(--tr-blue);
}

.tr-why-icon-orange {
    background: #ffedd5;
    color: var(--tr-orange);
}

.tr-why-icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.tr-why-icon-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.tr-why-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.tr-why-desc {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA Banner Bottom */
.tr-cta-banner-box {
    background: linear-gradient(135deg, #0165b8 0%, #0176c5 60%, #005fa3 100%);
    border-radius: 24px;
    padding: 56px 40px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 16px 40px rgba(1, 118, 197, 0.28);
    margin: 50px auto 0;
    position: relative;
    overflow: hidden;
}

.tr-cta-banner-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.tr-cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 850;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.tr-cta-desc {
    font-size: 1.05rem;
    color: #e0f2fe;
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.tr-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-tr-cta-orange {
    background: var(--tr-orange);
    color: #ffffff !important;
    font-weight: 800;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(245, 130, 32, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-tr-cta-orange:hover {
    background: var(--tr-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.5);
}

.btn-tr-cta-white {
    background: #ffffff;
    color: var(--tr-blue) !important;
    font-weight: 800;
    padding: 13px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-tr-cta-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .tr-about-story-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .tr-mv-cards {
        grid-template-columns: 1fr;
    }
    .tr-about-stats-stack {
        grid-template-columns: 1fr 1fr;
    }
    .tr-cta-banner-box {
        padding: 40px 20px;
    }
}

/* ==========================================================================
   BLOG LISTING & BLOG DETAIL PAGES (TopRankers Theme)
   ========================================================================== */

/* ── Blog Search Pill Form (Blue theme & Mobile Responsive) ── */
.tr-blog-search-wrap-box {
    margin: 28px auto 0;
    max-width: 620px;
    width: 100%;
}

.tr-blog-search-pill-form {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    padding: 6px 7px 6px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tr-blog-search-pill-form:focus-within {
    border-color: var(--tr-blue);
    box-shadow: 0 6px 24px rgba(1, 118, 197, 0.16);
}

.tr-blog-search-pill-form .search-icon {
    color: #64748b;
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 8px;
}

.tr-blog-search-input-pill {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.96rem;
    color: #0f172a;
    padding: 8px 4px;
}

.tr-blog-search-input-pill::placeholder {
    color: #94a3b8;
}

.tr-search-clear-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.tr-search-clear-link:hover {
    color: #ef4444;
}

.tr-blog-search-submit-btn {
    background: var(--tr-blue-gradient, linear-gradient(135deg, #0176c5 0%, #005a9c 100%));
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 10px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(1, 118, 197, 0.28);
    transition: all 0.2s ease;
}

.tr-blog-search-submit-btn:hover {
    background: linear-gradient(135deg, #0162a4 0%, #004d85 100%);
    box-shadow: 0 6px 16px rgba(1, 118, 197, 0.4);
    transform: translateY(-1px);
}

/* ── Showing Count & Filter Strip (Blue theme) ── */
.tr-blog-status-strip-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 32px;
}

.tr-blog-showing-count {
    font-size: 0.95rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tr-blog-showing-count strong {
    color: #0f172a;
    font-weight: 800;
}

.tr-active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: var(--tr-blue);
    border: 1px solid #bfdbfe;
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 700;
}

.tr-active-filter-tag a {
    color: var(--tr-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(1, 118, 197, 0.15);
    font-size: 0.7rem;
    transition: background 0.15s ease;
}

.tr-active-filter-tag a:hover {
    background: rgba(1, 118, 197, 0.3);
}

.tr-blog-filter-toggle-btn {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.tr-blog-filter-toggle-btn:hover {
    border-color: var(--tr-blue);
    color: var(--tr-blue);
    background: #f0f9ff;
    box-shadow: 0 2px 8px rgba(1, 118, 197, 0.12);
}

.tr-blog-filter-toggle-btn.active {
    border-color: var(--tr-blue);
    color: var(--tr-blue);
    background: #eff6ff;
}

.tr-blog-filter-toggle-btn .filter-icon {
    color: var(--tr-blue);
    font-size: 1rem;
}

.filter-active-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tr-blue);
    display: inline-block;
    margin-left: 2px;
}

/* ── Filter Articles Modal (Blue Theme & Fully Responsive) ── */
.tr-blog-filter-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tr-blog-filter-modal-backdrop.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.tr-blog-filter-modal-dialog {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    max-height: 85dvh;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    position: relative;
    z-index: 10;
}

.tr-blog-filter-modal-backdrop.open .tr-blog-filter-modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.tr-modal-drag-handle {
    display: none;
}

.tr-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    flex-shrink: 0;
}

.tr-modal-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tr-modal-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--tr-blue);
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.tr-modal-title {
    font-size: 1.28rem;
    font-weight: 850;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.tr-modal-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 3px;
    margin-bottom: 0;
}

.tr-modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.tr-modal-close-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.tr-modal-body {
    padding: 22px 24px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.tr-modal-body::-webkit-scrollbar {
    width: 6px;
}

.tr-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.tr-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}

.tr-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.tr-stream-section-label {
    font-size: 0.78rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.tr-stream-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tr-stream-option-card {
    background: #f8fafc;
    border: 1.5px solid transparent;
    border-radius: 12px;
    padding: 13px 18px;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    user-select: none;
    transition: all 0.15s ease;
}

.tr-stream-option-card:hover {
    background: #f0f9ff;
    border-color: #bfdbfe;
    color: var(--tr-blue);
}

.tr-stream-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #cbd5e1;
    display: inline-block;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.tr-stream-radio-dot {
    display: none;
}

.tr-stream-option-card.active {
    background: #eff6ff;
    border-color: #93c5fd;
    color: var(--tr-blue);
    font-weight: 700;
}

.tr-stream-option-card.active .tr-stream-radio {
    background: #ffffff;
    border: 2px solid var(--tr-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tr-stream-option-card.active .tr-stream-radio-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tr-blue);
}

.tr-modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
    flex-shrink: 0;
}

.tr-modal-apply-btn {
    width: 100%;
    background: var(--tr-blue-gradient, linear-gradient(135deg, #0176c5 0%, #005a9c 100%));
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 14px rgba(1, 118, 197, 0.35);
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.tr-modal-apply-btn:hover {
    background: linear-gradient(135deg, #0162a4 0%, #004d85 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(1, 118, 197, 0.45);
}

/* ── Mobile Responsive Drawer for Modal & Filters ── */
@media (max-width: 768px) {
    .tr-blog-filter-modal-backdrop {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .tr-blog-filter-modal-dialog {
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 22px 22px 0 0 !important;
        max-height: 85vh !important;
        max-height: 85dvh !important;
        margin: 0 !important;
        transform: translateY(100%) !important;
        opacity: 1 !important;
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .tr-blog-filter-modal-backdrop.open .tr-blog-filter-modal-dialog {
        transform: translateY(0) !important;
    }

    .tr-modal-drag-handle {
        display: block !important;
        width: 44px;
        height: 5px;
        background: #cbd5e1;
        border-radius: 4px;
        margin: 10px auto 4px !important;
        flex-shrink: 0;
    }

    .tr-modal-header {
        padding: 12px 18px 14px !important;
        flex-shrink: 0;
    }

    .tr-modal-title {
        font-size: 1.15rem !important;
    }

    .tr-modal-subtitle {
        font-size: 0.8rem !important;
    }

    .tr-modal-body {
        padding: 14px 18px !important;
        min-height: 0 !important;
        max-height: none !important;
        flex: 1 1 auto !important;
        overflow-y: auto !important;
    }

    .tr-stream-option-card {
        padding: 12px 14px !important;
        font-size: 0.92rem !important;
        border-radius: 10px !important;
    }

    .tr-modal-footer {
        padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
        flex-shrink: 0;
    }

    .tr-modal-apply-btn {
        padding: 13px 18px !important;
        font-size: 0.95rem !important;
    }

    /* Search pill on mobile */
    .tr-blog-search-wrap-box {
        margin: 20px auto 0 !important;
        padding: 0 4px !important;
    }

    .tr-blog-search-pill-form {
        padding: 4px 5px 4px 14px !important;
    }

    .tr-blog-search-pill-form .search-icon {
        font-size: 0.88rem !important;
        margin-right: 4px !important;
    }

    .tr-blog-search-input-pill {
        font-size: 0.88rem !important;
        padding: 6px 2px !important;
    }

    .tr-blog-search-submit-btn {
        padding: 8px 18px !important;
        font-size: 0.88rem !important;
    }

    /* Strip card on mobile */
    .tr-blog-status-strip-card {
        padding: 12px 16px !important;
        margin-bottom: 24px !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .tr-blog-showing-count {
        font-size: 0.84rem !important;
        line-height: 1.3 !important;
    }

    .tr-blog-filter-toggle-btn {
        padding: 7px 14px !important;
        font-size: 0.85rem !important;
        flex-shrink: 0 !important;
    }
}

/* ── Blog Cards Grid ── */
.tr-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tr-blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.tr-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(1, 118, 197, 0.12);
    border-color: #bfdbfe;
}

.tr-blog-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
}

.tr-blog-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.tr-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tr-blog-card:hover .tr-blog-img {
    transform: scale(1.05);
}

.tr-blog-badge-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.tr-blog-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tr-blog-card-meta-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 10px;
}

.tr-blog-card-meta-top .meta-dot {
    color: #cbd5e1;
}

.tr-blog-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.42;
    margin-bottom: 10px;
    color: #0f172a;
}

.tr-blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tr-blog-card:hover .tr-blog-card-title a {
    color: var(--tr-blue);
}

.tr-blog-card-excerpt {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.tr-blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-top: auto;
}

.tr-blog-author-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tr-blog-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--tr-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.tr-blog-author-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
}

.tr-blog-read-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--tr-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.tr-blog-read-btn:hover {
    gap: 10px;
    color: var(--tr-orange);
}

/* ── Pagination ── */
.tr-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.tr-page-btn {
    padding: 9px 16px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tr-page-btn:hover {
    border-color: var(--tr-blue);
    color: var(--tr-blue);
    background: #f0f9ff;
}

.tr-page-btn.active {
    background: var(--tr-blue) !important;
    border-color: var(--tr-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(1, 118, 197, 0.25);
}

/* ── Blog Detail Page ── */
.tr-blog-detail-article {
    width: 100%;
}

.tr-blog-breadcrumb-wrap {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
}

.tr-blog-breadcrumbs {
    font-size: 0.86rem;
    color: #64748b;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tr-blog-breadcrumbs a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.tr-blog-breadcrumbs a:hover {
    color: var(--tr-blue);
}

.tr-blog-breadcrumbs .sep {
    color: #cbd5e1;
    font-size: 0.7rem;
}

.tr-blog-breadcrumbs .current {
    color: #0f172a;
    font-weight: 700;
}

.tr-blog-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 44px 0 34px;
    text-align: center;
}

.tr-blog-cat-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: var(--tr-blue);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.tr-blog-detail-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    line-height: 1.28;
    color: #0f172a;
    margin-bottom: 16px;
}

.tr-blog-detail-lead {
    font-size: 1.1rem;
    line-height: 1.68;
    color: #475569;
    margin-bottom: 24px;
}

.tr-blog-detail-meta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.tr-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.tr-author-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--tr-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.tr-author-info strong {
    display: block;
    font-size: 0.92rem;
    color: #0f172a;
    font-weight: 800;
}

.tr-author-info span {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
}

.tr-meta-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.84rem;
    color: #64748b;
    font-weight: 600;
}

.tr-blog-hero-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 34px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.tr-blog-hero-image {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.tr-blog-reading-container {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 36px;
    align-items: start;
    position: relative;
}

.tr-blog-share-bar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.tr-blog-share-bar .share-lbl {
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.share-btn.wa { background: #25d366; }
.share-btn.fb { background: #1877f2; }
.share-btn.x { 
    background: #000000; 
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.share-btn.x svg {
    fill: #ffffff !important;
    width: 15px !important;
    height: 15px !important;
    display: block !important;
    margin: auto !important;
}
.share-btn.in { background: #0a66c2; }

.tr-blog-card-content-wrap {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 48px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.blog-content {
    font-size: 1.08rem;
    color: #1e293b;
    line-height: var(--blog-line-height, 1.85);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tr-blog-tags-box {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tr-tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tr-tag-item {
    background: #f1f5f9;
    color: #334155;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tr-tag-item:hover {
    background: var(--tr-blue);
    color: #ffffff;
}

.tr-blog-cta-banner {
    margin-top: 44px;
    background: linear-gradient(135deg, #0b1f3a 0%, #0176c5 100%);
    border-radius: 18px;
    padding: 36px 32px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 12px 32px rgba(1, 118, 197, 0.25);
}

.tr-blog-cta-content .cta-kicker {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fbbf24;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.tr-blog-cta-content h3 {
    font-size: 1.5rem;
    font-weight: 850;
    margin-bottom: 10px;
    color: #ffffff;
}

.tr-blog-cta-content p {
    font-size: 0.95rem;
    color: #e2e8f0;
    max-width: 580px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.tr-cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .tr-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    .tr-blog-reading-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .tr-blog-share-bar {
        position: static;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        background: #f8fafc;
        padding: 10px 18px;
        border-radius: 30px;
        border: 1px solid #e2e8f0;
        width: fit-content;
        max-width: 100%;
        margin: 0 auto 14px auto;
        gap: 10px;
    }
    .tr-blog-share-bar .share-lbl {
        margin-bottom: 0;
        margin-right: 6px;
    }
    .tr-blog-card-content-wrap {
        padding: 32px 28px;
    }
}

@media (max-width: 768px) {
    .tr-blog-header {
        padding: 28px 0 20px;
    }
    .tr-blog-detail-title {
        font-size: clamp(1.45rem, 5.5vw, 1.85rem) !important;
        line-height: 1.3 !important;
    }
    .tr-blog-detail-meta-bar {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }
    .tr-meta-pills {
        justify-content: center;
        gap: 10px;
        font-size: 0.8rem;
    }
    .tr-blog-card-content-wrap {
        padding: 22px 16px;
        border-radius: 14px;
    }
    .tr-blog-cta-banner {
        padding: 26px 18px !important;
        border-radius: 14px !important;
        margin-top: 30px !important;
    }
    .tr-blog-cta-content h3 {
        font-size: 1.28rem !important;
    }
    .tr-cta-btns {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .tr-cta-btns .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
        padding: 11px 20px !important;
    }
}

@media (max-width: 640px) {
    .tr-blog-grid {
        grid-template-columns: 1fr;
    }
    .tr-blog-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .tr-blog-search-form {
        max-width: 100%;
    }
    .tr-blog-card-content-wrap {
        padding: 20px 14px;
    }
    .tr-blog-detail-meta-bar {
        gap: 12px;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .tr-blog-detail-title {
        font-size: 1.38rem !important;
    }
    .tr-blog-card-content-wrap {
        padding: 18px 12px;
        border-radius: 12px;
    }
    .tr-blog-share-bar {
        padding: 8px 12px;
        gap: 8px;
        border-radius: 24px;
    }
    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .share-btn.x svg {
        width: 13px !important;
        height: 13px !important;
    }
}

/* ── Blog FAQ Accordion Card ── */
.blog-content .blog-faq-card,
.blog-faq-card {
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}
.blog-content .blog-faq-card details.blog-faq-item,
.blog-faq-card details.blog-faq-item {
    border-bottom: 1px solid #f1f5f9;
    margin: 0 !important;
}
.blog-content .blog-faq-card details.blog-faq-item:last-child,
.blog-faq-card details.blog-faq-item:last-child {
    border-bottom: none;
}
.blog-content .blog-faq-card summary.blog-faq-header,
.blog-faq-card summary.blog-faq-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 20px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    font-size: 1.05rem !important;
    line-height: 1.45 !important;
    list-style: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    background: #ffffff;
    transition: background 0.15s ease, color 0.15s ease;
}
.blog-detail-content .blog-faq-card summary.blog-faq-header *,
body:not(.admin-body) .blog-content .blog-faq-card summary.blog-faq-header * {
    pointer-events: none;
}
.blog-content .blog-faq-card summary.blog-faq-header:hover,
.blog-faq-card summary.blog-faq-header:hover {
    background: #f8fafc;
}
.blog-content .blog-faq-card summary.blog-faq-header:focus,
.blog-faq-card summary.blog-faq-header:focus,
.blog-content .blog-faq-card summary.blog-faq-header:focus-visible,
.blog-faq-card summary.blog-faq-header:focus-visible {
    outline: none;
}
.blog-content .blog-faq-card summary.blog-faq-header::-webkit-details-marker,
.blog-content .blog-faq-card summary.blog-faq-header::marker,
.blog-faq-card summary.blog-faq-header::-webkit-details-marker,
.blog-faq-card summary.blog-faq-header::marker {
    display: none !important;
}
.blog-content .blog-faq-card .blog-faq-question-text,
.blog-faq-card .blog-faq-question-text {
    flex: 1;
    font-weight: 700;
    color: #0f172a;
    padding-right: 12px;
}
.blog-content .blog-faq-card .blog-faq-plus-icon,
.blog-faq-card .blog-faq-plus-icon {
    color: #000000 !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-left: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.blog-content .blog-faq-card details.blog-faq-item[open] > summary.blog-faq-header,
.blog-faq-card details.blog-faq-item[open] > summary.blog-faq-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.blog-content .blog-faq-card details.blog-faq-item[open] > summary.blog-faq-header .blog-faq-plus-icon,
.blog-faq-card details.blog-faq-item[open] > summary.blog-faq-header .blog-faq-plus-icon {
    transform: rotate(45deg) !important;
    color: #000000 !important;
}
.blog-content .blog-faq-card details.blog-faq-item[open] > .blog-faq-body,
.blog-faq-card details.blog-faq-item[open] > .blog-faq-body {
    display: block !important;
    animation: faqFadeIn 0.2s ease-in-out;
}
.blog-content .blog-faq-card details.blog-faq-item:not([open]) > .blog-faq-body,
.blog-faq-card details.blog-faq-item:not([open]) > .blog-faq-body {
    display: none !important;
}
@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.blog-content .blog-faq-card .blog-faq-body,
.blog-faq-card .blog-faq-body {
    padding: 16px 20px 18px 20px !important;
    color: #334155 !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
    background: #ffffff;
}
.blog-content .blog-faq-card .blog-faq-body p,
.blog-faq-card .blog-faq-body p {
    margin-bottom: 0.6rem !important;
}
.blog-content .blog-faq-card .blog-faq-body p:last-child,
.blog-faq-card .blog-faq-body p:last-child {
    margin-bottom: 0 !important;
}

