/* Dedicated Training Course Detail Page Styles - Intechno Theme */

:root {
    --tp-blue-gradient: linear-gradient(135deg, #082d71 0%, #10429c 50%, #009fe3 100%);
    --tp-card-bg: #ffffff;
    --tp-accent-blue: #009fe3;
    --tp-navy: #082d71;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.tp-detail-hero {
    background: linear-gradient(135deg, #051d4b 0%, #082d71 45%, #0f4c81 80%, #009fe3 100%);
    position: relative;
    padding: 65px 0 75px;
    color: #ffffff;
    overflow: hidden;
}

.tp-detail-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 159, 227, 0.22) 0%, rgba(8, 45, 113, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tp-detail-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.18) 0%, rgba(8, 45, 113, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tp-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.tp-hero-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tp-hero-breadcrumb a:hover {
    color: #38bdf8;
}

.tp-hero-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
}

.tp-hero-breadcrumb .active {
    color: #38bdf8;
    font-weight: 600;
}

.tp-course-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 159, 227, 0.2);
    border: 1px solid rgba(0, 159, 227, 0.4);
    color: #38bdf8;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.tp-course-hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.22;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.tp-course-hero-title span {
    color: #38bdf8;
}

.tp-course-hero-tagline {
    font-size: 1.18rem;
    line-height: 1.65;
    color: #e2e8f0;
    max-width: 680px;
    margin-bottom: 24px;
}

.tp-hero-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.tp-hero-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #f1f5f9;
}

.tp-hero-meta-pill i {
    color: #38bdf8;
}

.tp-btn-primary-hero {
    background: linear-gradient(135deg, #009fe3, #0077b6);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 28px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 159, 227, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.tp-btn-primary-hero:hover {
    background: linear-gradient(135deg, #0077b6, #082d71);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 159, 227, 0.55);
}

.tp-btn-outline-hero {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 13px 26px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.tp-btn-outline-hero:hover {
    background: #ffffff;
    color: #082d71;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Right Visual Card */
.tp-hero-visual-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    position: relative;
}

.tp-hero-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.tp-hero-card-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 159, 227, 0.3), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(0, 159, 227, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #38bdf8;
    margin-bottom: 20px;
}

.tp-hero-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tp-hero-stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: tpPulse 2s infinite;
}

@keyframes tpPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.tp-hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 0.95rem;
}

.tp-hero-feature-item:last-child {
    border-bottom: none;
}

.tp-hero-feature-item i {
    color: #38bdf8;
    font-size: 1rem;
}

/* ==========================================================================
   2. HIGHLIGHT CARDS (Duration, Practical, Certification - Matches Other Pages)
   ========================================================================== */
.tp-time-details-section {
    background: #ffffff;
}

/* Remove section heading horizontal border lines & corner ticks */
.tp-course-body-section .section-heading__title span:after,
.tp-course-body-section .section-heading__title span:before,
.tp-time-details-section .section-heading__title span:after,
.tp-time-details-section .section-heading__title span:before,
.tp-course-body-section .section-heading__eyebrow:before,
.tp-time-details-section .section-heading__eyebrow:before {
    display: none !important;
}

.tp-highlight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tp-highlight-card:hover {
    border-color: var(--tp-primary, #009fe3);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(8, 45, 113, 0.08) !important;
}

.tp-highlight-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 159, 227, 0.12), rgba(123, 44, 191, 0.12));
    color: var(--tp-primary, #009fe3);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tp-highlight-card:hover .tp-highlight-icon {
    background: linear-gradient(135deg, #009fe3, #7b2cbf);
    color: #ffffff;
}

/* ==========================================================================
   3. COURSE BODY / SYLLABUS SECTION
   ========================================================================== */
.tp-course-body-section {
    background: #f8fafc;
    position: relative;
}

.tp-content-card {
    transition: all 0.3s ease;
}

.tp-content-card:hover {
    box-shadow: 0 8px 26px rgba(8, 45, 113, 0.07);
}

.tp-card-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 159, 227, 0.12), rgba(8, 45, 113, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #009fe3;
    flex-shrink: 0;
}

/* Tech Stack Pills */
.tp-tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #082d71;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.tp-tech-pill:hover {
    background: #082d71;
    color: #ffffff;
    border-color: #082d71;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 45, 113, 0.15);
}

.tp-tech-pill:hover i {
    color: #38bdf8 !important;
}

/* Module Step Item */
.tp-module-step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
}

.tp-module-step-item:hover {
    border-color: #009fe3;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 159, 227, 0.09);
}

.tp-module-num {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #082d71, #009fe3);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tp-module-tag {
    font-size: 0.76rem;
    background: #e0f2fe;
    color: #0284c7;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
}

/* Who Should Enroll 2x2 Grid */
.tp-audience-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 18px;
    height: 100%;
    transition: all 0.3s ease;
}

.tp-audience-card:hover {
    background: #ffffff;
    border-color: #009fe3;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 159, 227, 0.08);
}

.tp-audience-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 159, 227, 0.15), rgba(8, 45, 113, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #009fe3;
    font-size: 20px;
    margin-bottom: 12px;
}

/* Career Roles Badges */
.tp-career-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #059669;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   4. STICKY SIDEBAR CARD
   ========================================================================== */
.tp-sticky-sidebar {
    position: sticky;
    top: 90px;
}

.tp-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 5px solid #009fe3;
    border-radius: 22px;
    padding: 30px 24px;
    box-shadow: 0 10px 32px rgba(8, 45, 113, 0.07);
}

.tp-sidebar-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.tp-sidebar-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.93rem;
}

.tp-sidebar-spec-row:last-child {
    border-bottom: none;
}

.tp-sidebar-spec-label {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp-sidebar-spec-label i {
    color: #009fe3;
    width: 18px;
    text-align: center;
}

.tp-sidebar-spec-val {
    font-weight: 700;
    color: #082d71;
    text-align: right;
}

.tp-sidebar-btn-enroll {
    background: linear-gradient(135deg, #082d71, #009fe3);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(0, 159, 227, 0.25);
}

.tp-sidebar-btn-enroll:hover {
    background: linear-gradient(135deg, #009fe3, #082d71);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 159, 227, 0.4);
}

.tp-sidebar-btn-wa {
    background: #25d366;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 11px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tp-sidebar-btn-wa:hover {
    background: #1eb956;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.tp-sidebar-btn-call {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #082d71;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 11px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tp-sidebar-btn-call:hover {
    background: #ffffff;
    border-color: #082d71;
    color: #082d71;
}

.tp-sidebar-guarantee-note {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 14px;
    margin-top: 18px;
    font-size: 0.83rem;
    color: #64748b;
    line-height: 1.5;
}

/* ==========================================================================
   5. OTHER COURSES STRIP
   ========================================================================== */
.tp-other-course-card {
    transition: all 0.25s ease;
    border-color: #e2e8f0 !important;
}

.tp-other-course-card:hover {
    transform: translateY(-4px);
    border-color: #009fe3 !important;
    box-shadow: 0 10px 24px rgba(8, 45, 113, 0.1);
}

@media (max-width: 991px) {
    .tp-course-hero-title {
        font-size: 2.15rem;
    }
    .tp-sticky-sidebar {
        position: static !important;
        margin-top: 30px;
    }
    .tp-content-card {
        padding: 24px 20px;
    }
}
