/* ═══════════════════════════════════════════════════════════
   INTERNSHIP DETAIL PAGE STYLES — RootAxis Technologies
   ═══════════════════════════════════════════════════════════ */
:root {
    --id-dark: #0b0f19;
    --id-border: #eaeaea;
}

.id-hero {
    background: var(--id-dark);
    padding: 36px 0 60px;
    position: relative;
    overflow: hidden;
}
.id-dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.id-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.id-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ra-primary);
    background: rgba(var(--ra-primary-rgb), 0.1);
    border: 1px solid rgba(var(--ra-primary-rgb), 0.2);
    border-radius: 8px;
}

.id-section-white { background: #ffffff; padding: 90px 0; }
.id-section-light { background: #fafafa; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; padding: 90px 0; }
.id-section-dark  { background: var(--id-dark); padding: 90px 0; }

.id-heading {
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.id-card {
    background: #fff;
    border: 1px solid var(--id-border);
    border-radius: 20px;
    transition: all 0.3s ease;
}
.id-card:hover { border-color: var(--ra-primary); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }

.id-sidebar {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 24px;
    padding: 32px;
    position: sticky;
    top: 110px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.id-sidebar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
}
.id-sidebar-row:last-child { border-bottom: none; }

.id-eligibility-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f4f6fa;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    transition: all 0.25s;
}
.id-eligibility-pill:hover {
    background: rgba(var(--ra-primary-rgb), 0.06);
    border-color: var(--ra-primary);
    color: var(--ra-primary);
}

.id-timeline { position: relative; }
.id-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--ra-primary), rgba(var(--ra-primary-rgb), 0.1));
}
.id-timeline-step {
    position: relative;
    padding-left: 72px;
    margin-bottom: 36px;
}
.id-timeline-step:last-child { margin-bottom: 0; }
.id-timeline-dot {
    position: absolute;
    left: 16px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ra-primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(var(--ra-primary-rgb), 0.2), 0 4px 12px rgba(var(--ra-primary-rgb), 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.id-timeline-content {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 22px 26px;
    transition: all 0.25s;
}
.id-timeline-content:hover { border-color: var(--ra-primary); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.id-timeline-week {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ra-primary);
    background: rgba(var(--ra-primary-rgb), 0.08);
    border-radius: 6px;
    margin-bottom: 8px;
}

.id-tech-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #f4f6fa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    margin: 5px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1e293b;
    transition: all 0.25s;
    min-width: 100px;
    text-align: center;
}
.id-tech-pill:hover { background: rgba(var(--ra-primary-rgb), 0.08); border-color: var(--ra-primary); color: var(--ra-primary); }
.id-tech-sub { font-size: 0.62rem; font-weight: 600; color: #94a3b8; margin-top: 3px; text-transform: uppercase; letter-spacing: 0.05em; }

.id-schedule-card {
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 22px;
    background: #fff;
    transition: all 0.25s;
}
.id-schedule-card:hover { border-color: var(--ra-primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.id-schedule-time {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ra-primary);
    margin-bottom: 4px;
}

.id-project {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: all 0.25s;
}
.id-project:hover { border-color: var(--ra-primary); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }

.id-mentor-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s;
}
.id-mentor-card:hover { border-color: var(--ra-primary); background: rgba(255,255,255,0.08); transform: translateY(-4px); }

.id-gain-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    transition: all 0.25s;
}
.id-gain-item:hover { border-color: var(--ra-primary); background: rgba(var(--ra-primary-rgb), 0.06); }

.id-cert-box {
    background: linear-gradient(135deg, #fff7ed 0%, #fffbf5 100%);
    border: 1px solid rgba(var(--ra-primary-rgb), 0.2);
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}
.id-cert-box::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(var(--ra-primary-rgb), 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.id-story-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    padding: 28px;
    height: 100%;
    transition: all 0.3s;
}
.id-story-card:hover { border-color: var(--ra-primary); box-shadow: 0 12px 32px rgba(0,0,0,0.06); transform: translateY(-3px); }

.id-faq-item {
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.id-faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.id-faq-btn {
    background: transparent !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 18px 24px !important;
}
.id-faq-btn:not(.collapsed) { color: var(--ra-primary) !important; }
.id-faq-body { padding: 0 24px 18px; color: #64748b; line-height: 1.75; font-size: 0.95rem; }

.id-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(var(--ra-primary-rgb), 0.1);
    border: 2px solid rgba(var(--ra-primary-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    color: var(--ra-primary);
    flex-shrink: 0;
}

.id-sticky-bar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: calc(100% - 2rem);
    max-width: 900px;
    background: var(--id-dark);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    z-index: 1000;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.id-sticky-bar.visible { transform: translateX(-50%) translateY(0); }

@media (max-width: 575.98px) {
    .id-sticky-bar {
        bottom: 0; left: 0; right: 0; width: 100%; max-width: 100%;
        transform: translateY(150%);
        border-radius: 20px 20px 0 0;
        border-bottom: none;
        padding: 0.75rem 0.75rem 0.75rem 1rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    }
    .id-sticky-bar.visible { transform: translateY(0); }
    .id-sticky-bar .id-sb-title { display: none !important; }
}

.id-content-area p { line-height: 1.85; color: #4b5563; margin-bottom: 1.5rem; }
.id-content-area h3, .id-content-area h4 { font-weight: 800; color: #1e293b; }

.id-hover { transition: transform 0.3s ease; }
.id-hover:hover { transform: translateY(-4px); }

.id-stars { color: #f59e0b; }
