/* hero top section */
.jh-hero-wrapper{position:relative;background-color:#f8f9fa;border-radius:20px;overflow:hidden;margin-bottom:2rem;background-image:linear-gradient(135deg,rgba(255,255,255,.95) 0,rgba(255,255,255,.85) 100%),url('https://jobdha.com/assets/about/img/hero.jpeg');background-size:cover;background-position:center;border:1px solid rgba(0,0,0,.05)}.jh-hero-content{padding:4rem 2rem;max-width:max-content}.jh-hero-title{color:#1a1a1a;font-weight:800!important;line-height:1.2!important;letter-spacing:-.02em;margin-bottom:1.5rem!important}.jh-hero-subtitle{color:#4a4a4a;font-size:1.15rem;line-height:1.6;margin-bottom:2rem}.jh-patent-badge{display:inline-flex;align-items:center;background:#fff;border:1px solid #e0e0e0;padding:6px 16px;border-radius:50px;font-size:.85rem;color:#6c5ce7;font-weight:600;margin-bottom:1rem;box-shadow:0 2px 10px rgba(0,0,0,.03)}.jh-btn-main,.jh-btn-outline{font-weight:700;text-decoration:none;transition:.3s}.jh-hero-cta-group{display:flex;gap:1rem;flex-wrap:wrap}.jh-btn-main{background:#6c5ce7;color:#fff!important;padding:12px 30px;border-radius:12px;box-shadow:0 4px 15px rgba(108,92,231,.3)}.jh-btn-main:hover{color:#fff!important;transform:translateY(-2px);box-shadow:0 6px 20px rgba(108,92,231,.4)}.jh-btn-outline{border:2px solid #6c5ce7;color:#6c5ce7!important;padding:10px 28px;border-radius:12px}.jh-btn-outline:hover{background:rgba(108,92,231,.05)}@media (max-width:768px){.jh-hero-content{padding:3rem 1.5rem;text-align:center}.jh-hero-title{font-size:1.8rem!important;margin-left:-20px!important}.jh-hero-cta-group{justify-content:center}}



/* 4 pilars */
/* 1. Container and Header */
 .jh-pillars-container {
 padding: 1rem 0 3rem 0;
 }
 .jh-section-title {
 font-weight: 800;
 color: #1a1a1a;
 font-size: 1.75rem;
 letter-spacing: -0.01em;
 margin-bottom: 2.5rem;
 }

/* 2. Card Base Design */
 .jh-pillar-card {
 background: #ffffff;
 border: 1px solid #edf2f7;
 border-radius: 20px;
 padding: 24px;
 height: 100%;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 display: flex;
 flex-direction: column;
 text-decoration: none !important;
 position: relative;
 }
 .jh-pillar-card:hover {
 transform: translateY(-8px);
 border-color: #6c5ce7;
 box-shadow: 0 12px 30px rgba(108, 92, 231, 0.08);
 }

/* 3. Icon Styling - Matching Side Nav exactly */
 .jh-pillar-icon-box {
 width: 52px;
 height: 52px;
 border-radius: 14px;
 display: flex;
 align-items: center;
 justify-content: center;
 margin-bottom: 1.5rem;
 }
 
 /* The Magic: Direct Unicode Injection matching Magic Theme */
 .jh-pillar-icon-box::before {
 font-family: "Font Awesome 6 Free";
 font-weight: 900;
 font-size: 1.5rem;
 display: block;
 }

/* Assigning Unicode from your Side Nav */
 .pillar-search .jh-pillar-icon-box::before { content: "\e522"; } /* Job Scan */
 .pillar-market .jh-pillar-icon-box::before { content: "\f200"; } /* Job Market */
 .pillar-salary .jh-pillar-icon-box::before { content: "\f688"; } /* Job Salary */
 .pillar-growth .jh-pillar-icon-box::before { content: "\f5a0"; } /* Job Growth */

/* 4. Column Specific Colors */
 .pillar-search .jh-pillar-icon-box { background: rgba(108, 92, 231, 0.1); color: #6c5ce7; }
 .pillar-market .jh-pillar-icon-box { background: rgba(16, 185, 129, 0.1); color: #10b981; }
 .pillar-salary .jh-pillar-icon-box { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
 .pillar-growth .jh-pillar-icon-box { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

/* 5. Typography */
 .jh-pillar-title {
 font-weight: 700;
 color: #1a1a1a;
 font-size: 1.15rem;
 margin-bottom: 0.75rem;
 }
 .jh-pillar-desc {
 color: #64748b;
 font-size: 0.92rem;
 line-height: 1.5;
 margin-bottom: 1.5rem;
 flex-grow: 1;
 }
 .jh-pillar-action {
 font-weight: 700;
 font-size: 0.88rem;
 display: flex;
 align-items: center;
 gap: 8px;
 color: #6c5ce7;
 }
 .jh-pillar-action i {
 font-size: 0.75rem;
 transition: transform 0.3s ease;
 }
 .jh-pillar-card:hover .jh-pillar-action i {
 transform: translateX(4px);
 }
 



/* recognition section */

/* 1. Wrapper & Header */
 .jh-trust-wrapper {
 background: transparent;
 border: 1px solid #f1f1f1;
 padding-top: 2rem;
 padding-bottom: 1rem;
 border-radius: 15px;
 position: relative; /* Added for tooltip anchoring */
 }
 .jh-trust-title {
 font-weight: 800; color: #0f172a; font-size: 1.4rem;
 text-transform: uppercase; letter-spacing: 1.5px;
 text-align: center; margin-bottom: 3.5rem;
 }

/* 2. Logo Grid */
 .jh-logo-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4rem; padding: 0 1rem; }
 .jh-logo-item { display: flex; flex-direction: column; align-items: center; max-width: 150px; }
 .jh-logo-item img { height: 95px; width: auto; object-fit: contain; border-radius:10px;margin-bottom: 1.25rem; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
 .jh-logo-item:hover img { transform: scale(1.08); }
 .jh-logo-label { font-size: 0.75rem; font-weight: 800; color: #64748b; text-align: center; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.5px; }

/* 3. Tech Stats Strip & CUSTOM TOOLTIP (About-Us Style) */
 .jh-stats-strip { display: flex; justify-content: center; gap: 2rem; margin-top: 5rem; flex-wrap: wrap; }
 
 .jh-stat-badge {
 position: relative; /* Required for custom tooltip */
 display: flex; align-items: center; gap: 14px;
 background: #f8fafc; border: 1px solid #e2e8f0;
 padding: 16px 30px; border-radius: 18px;
 transition: all 0.3s ease; cursor: pointer;
 }
 .jh-stat-badge:hover { border-color: #6c5ce7; background: #fff; transform: translateY(-2px); }

/* The Custom Tooltip Magic */
 .jh-stat-badge::after {
 content: attr(data-title);
 position: absolute;
 bottom: 125%;
 left: 50%;
 transform: translateX(-50%) translateY(10px);
 background: rgba(15, 23, 42, 0.95);
 color: #fff;
 padding: 10px 15px;
 font-size: 12px;
 line-height: 1.4;
 border-radius: 8px;
 width: 250px; /* Fixed width for better wrapping */
 text-align: center;
 opacity: 0;
 visibility: hidden;
 transition: all 0.2s ease;
 z-index: 999;
 pointer-events: none;
 box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
 }
 .jh-stat-badge:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.jh-stat-badge i { color: #6c5ce7; font-size: 1.5rem; }
 .jh-stat-text { display: flex; flex-direction: column; }
 .jh-stat-val { font-weight: 800; color: #0f172a; font-size: 1.1rem; }
 .jh-stat-lab { font-size: 0.68rem; color: #64748b; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; }

@media (max-width: 768px) {
 .jh-logo-grid { gap: 2.5rem; }
 .jh-logo-item img { height: 75px; }
 .jh-stats-strip { gap: 1rem; }
 .jh-stat-badge { width: 100%; max-width: 340px; }
 .jh-stat-badge::after { width: 200px; } /* Slightly narrower for mobile */
 }


/* Bento Grid Container */
.jh-trending-wrapper {
    padding: 2rem 0;
}
.jh-trending-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}
.jh-trending-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.75rem;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}
.jh-trending-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Intelligence Card Design */
.jh-trend-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 0;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
.jh-trend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    border-color: #6c5ce7;
}

/* Card Hero Cover Image */
.jh-card-hero {
    position: relative;
    width: 100%;
    height: 130px;
    overflow: hidden;
    flex-shrink: 0;
}
.jh-card-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.jh-trend-card:hover .jh-card-hero img {
    transform: scale(1.04);
}
.jh-card-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,23,42,0.18) 0%, rgba(15,23,42,0.55) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px 16px;
}
.jh-card-hero-overlay .jh-trend-badge-row {
    margin-bottom: 4px;
}
.jh-card-hero-overlay .jh-trend-role {
    margin-bottom: 0;
}
.jh-card-hero-overlay .jh-trend-role a {
    color: #ffffff!important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.jh-card-hero-overlay .jh-trend-loc {
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
    font-size: 0.78rem;
}
.jh-card-hero-overlay .jh-fresher-dept-tag {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.64rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 2px 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
/* Subtle placeholder when no hero image */
.jh-card-hero-placeholder {
    position: relative;
    width: 100%;
    height: 80px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
    border-bottom: 1px solid #f1f5f9;
}
.jh-card-hero-placeholder .jh-trend-badge-row {
    margin-bottom: 0;
}
/* Card body padding when hero present */
.jh-card-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
/* When no hero, badge+title+loc go inside card-body */
.jh-card-body .jh-trend-badge-row { margin-bottom: 0.75rem; }
.jh-card-body .jh-trend-role { margin-bottom: 0.2rem; }
.jh-card-body .jh-trend-loc { margin-bottom: 0.5rem; }
.jh-card-body .jh-fresher-dept-tag {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-size: 0.64rem;
    font-weight: 700;
    color: #3b6ea5;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 2px 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Stretched Link for Card */
.jh-card-link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
}
.jh-card-link {
    position: static;
}

/* Pulse Live Indicator */
.jh-pulse-dot {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: jh-pulse 2s infinite;
}
@keyframes jh-pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.jh-trend-badge-row { margin-bottom: 1rem; position: relative; z-index: 2; }
.jh-trend-role { font-weight: 800; font-size: 1.15rem; margin-bottom: 0.25rem; position: static; }
.jh-trend-role a { color: #1e293b; text-decoration: none; position: static; }
.jh-trend-loc { font-weight: 600; color: #64748b; font-size: 0.9rem; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.5px; position: relative; z-index: 2; pointer-events: none; }

/* Data Highlights */
.jh-trend-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.jh-stat-item { display: flex; flex-direction: column; }
.jh-stat-val { font-weight: 800; color: #0f172a; font-size: 1.1rem; }
.jh-stat-lab { font-size: 0.65rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; }

.jh-trend-snippet {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* E-E-A-T Author Row */
.jh-trend-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    position: relative;
    z-index: 2;
}
.jh-author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.jh-author-img:hover { transform: scale(1.1); }
.jh-author-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.jh-author-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    font-style: italic;
}
.jh-author-name:hover { color: #6c5ce7; text-decoration: underline; }
.jh-author-lab {
    font-size: 0.65rem;
    color: #94a3b8;
}

.jh-view-all-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}
.jh-view-all-btn:hover { background: #6c5ce7; color: #fff; border-color: #6c5ce7; }

/* Expert Voices Section */
.jh-experts-wrapper {
    padding: 4rem 0;
    background: #fdfdfd;
}
.jh-experts-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.jh-experts-subtitle {
    color: #64748b;
    font-size: 1.1rem;
}
.jh-expert-card {
    text-align: center;
    transition: transform 0.3s ease;
}
.jh-expert-card:hover {
    transform: translateY(-5px);
}
.jh-expert-link {
    text-decoration: none !important;
    display: block;
}
.jh-expert-avatar-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
}
.jh-expert-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.jh-expert-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #6c5ce7;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border: 2px solid #fff;
}
.jh-expert-name {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.25rem;
}
.jh-expert-role {
    font-size: 0.75rem;
    color: #6c5ce7;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 0.5rem;
}
.jh-expert-exp {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
    padding: 0 5px;
}

@media (max-width: 768px) {
    .jh-trending-header { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
}

/* Call to action in trending report card */
.jh-report-cta {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6c5ce7;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.jh-report-cta:hover {
    color: #4a3eb3;
    text-decoration: underline;
}
.opacity-50 .jh-report-cta {
    color: #64748b;
}
.opacity-50 .jh-report-cta:hover {
    color: #475569;
}
