/* ==========================================================
   FEMTO SCIENTIFIC — TRAINING PAGES
   Accent: --page-accent set inline to #1f5c8a / rgb 31,92,138
   Prefix: .trn-
   ========================================================== */

/* ----------------------------------------------------------
   TRAINING HUB — dark photo hero
   ---------------------------------------------------------- */
.trn-hero {
    background-color: #0d1e2d;
    background-image: url('/images/landing_page_picture.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    padding: 80px 0 70px;
    color: #fff;
}
.trn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 35, 0.84);
    z-index: 1;
}
.trn-hero .service-container {
    position: relative;
    z-index: 2;
}
.trn-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.55);
    margin: 0 0 14px;
}
.trn-hero h1 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 18px;
    max-width: 680px;
    letter-spacing: 0.2px;
}
.trn-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 32px;
}
.trn-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.trn-btn-primary {
    display: inline-block;
    padding: 13px 32px;
    background: #1f5c8a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.2s;
}
.trn-btn-primary:hover { background: #174e77; color: #fff; text-decoration: none; }
.trn-btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid rgba(255,255,255,0.45);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    transition: border-color 0.2s, background 0.2s;
}
.trn-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }

/* ----------------------------------------------------------
   TRUST BADGES STRIP
   ---------------------------------------------------------- */
.trn-trust-strip {
    background: #1f5c8a;
    padding: 0;
}
.trn-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.trn-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-right: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}
.trn-trust-item:last-child { border-right: none; }
.trn-trust-icon {
    font-size: 22px;
    flex-shrink: 0;
    opacity: 0.85;
}
.trn-trust-text h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px;
}
.trn-trust-text p {
    font-size: 11px;
    color: rgba(255,255,255,0.70);
    margin: 0;
}

/* ----------------------------------------------------------
   VALUE PROPOSITION SECTION
   ---------------------------------------------------------- */
.trn-value-section {
    background: #fff;
    padding: 64px 0;
}
.trn-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1f5c8a;
    margin: 0 0 10px;
}
.trn-section-title {
    font-size: 26px;
    font-weight: 800;
    color: #2D2D2D;
    margin: 0 0 14px;
    line-height: 1.25;
}
.trn-section-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    max-width: 580px;
    margin: 0 0 40px;
}
.trn-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.trn-value-card {
    padding: 28px 24px;
    border: 1px solid #e8e8e8;
    border-top: 3px solid #1f5c8a;
    background: #fff;
    transition: box-shadow 0.2s;
}
.trn-value-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); }
.trn-value-icon {
    width: 46px; height: 46px;
    background: rgba(31,92,138,0.10);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    color: #1f5c8a;
    margin-bottom: 16px;
}
.trn-value-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #2D2D2D;
    margin: 0 0 8px;
}
.trn-value-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* ----------------------------------------------------------
   COURSE PREVIEW SECTION (hub)
   ---------------------------------------------------------- */
.trn-preview-section {
    background: #f4f6f8;
    padding: 64px 0;
    border-top: 1px solid #e0e0e0;
}
.trn-preview-header {
    margin-bottom: 36px;
}
.trn-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.trn-preview-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.trn-preview-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); }
.trn-preview-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #1f5c8a;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border: 1px solid #1f5c8a;
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 14px;
    align-self: flex-start;
}
.trn-preview-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #2D2D2D;
    margin: 0 0 10px;
    line-height: 1.35;
}
.trn-preview-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.65;
    margin: 0 0 20px;
    flex: 1;
}
.trn-card-link {
    font-size: 12px;
    font-weight: 700;
    color: #1f5c8a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
.trn-card-link:hover { color: #174e77; text-decoration: underline; }
.trn-preview-cta {
    margin-top: 36px;
    text-align: center;
}

/* ----------------------------------------------------------
   CTA SECTION (hub)
   ---------------------------------------------------------- */
.trn-cta-section {
    background: linear-gradient(135deg, #0d1e2d 0%, #1f5c8a 100%);
    padding: 72px 0;
    text-align: center;
    color: #fff;
}
.trn-cta-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
}
.trn-cta-section p {
    font-size: 15px;
    color: rgba(255,255,255,0.80);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.trn-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ----------------------------------------------------------
   TITLE BAR (course listing + detail pages)
   ---------------------------------------------------------- */
.trn-title-bar {
    background: #d5e6f3;
    padding: 18px 0;
    border-bottom: 1px solid #b8d2e8;
}
.trn-title-bar h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2D2D2D;
    margin: 0;
    line-height: 1.3;
}
.trn-title-bar .service-breadcrumb {
    color: #444;
    margin-bottom: 6px;
    opacity: 1;
}
.trn-title-bar .service-breadcrumb a { color: #1f5c8a; }
.trn-title-bar .service-breadcrumb a:hover { color: #174e77; }

/* ----------------------------------------------------------
   COURSE LISTING GRID
   ---------------------------------------------------------- */
.trn-courses-section {
    background: #f4f6f8;
    padding: 56px 0 72px;
    border-top: 1px solid #e0e0e0;
}
.trn-courses-intro {
    max-width: 640px;
    margin: 0 0 40px;
}
.trn-courses-intro h2 {
    font-size: 22px;
    font-weight: 800;
    color: #2D2D2D;
    margin: 0 0 10px;
}
.trn-courses-intro p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin: 0;
}
.trn-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.trn-course-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s, transform 0.18s;
}
.trn-course-card:hover {
    box-shadow: 0 6px 22px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}
.trn-course-card-header {
    background: #1f5c8a;
    padding: 20px 22px 18px;
}
.trn-course-number {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 8px;
}
.trn-course-card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}
.trn-course-card-body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.trn-course-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.trn-course-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #888;
}
.trn-course-meta-item i { color: #1f5c8a; }
.trn-course-card-body p {
    font-size: 13px;
    color: #666;
    line-height: 1.65;
    margin: 0 0 20px;
    flex: 1;
}
.trn-course-components {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
}
.trn-component-chip {
    font-size: 10px;
    font-weight: 600;
    color: #1f5c8a;
    background: rgba(31,92,138,0.08);
    border: 1px solid rgba(31,92,138,0.20);
    padding: 3px 8px;
    border-radius: 2px;
    white-space: nowrap;
}
.trn-course-card-footer {
    padding: 14px 22px;
    border-top: 1px solid #f0f0f0;
}
.trn-enroll-btn {
    display: block;
    text-align: center;
    padding: 10px 20px;
    background: #1f5c8a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.2s;
}
.trn-enroll-btn:hover { background: #174e77; color: #fff; text-decoration: none; }

/* ----------------------------------------------------------
   COURSE DETAIL — hero
   ---------------------------------------------------------- */
.trn-course-hero {
    background: linear-gradient(135deg, #0a1828 0%, #1f5c8a 100%);
    padding: 48px 0 40px;
    color: #fff;
}
.trn-course-hero-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
.trn-course-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.55);
    margin: 0 0 12px;
}
.trn-course-hero h1 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.25;
}
.trn-course-hero-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    margin: 0;
    max-width: 520px;
}
.trn-course-info-box {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 22px 20px;
}
.trn-course-info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.65);
}
.trn-course-info-row:last-child { border-bottom: none; }
.trn-course-info-row strong { color: #fff; font-size: 13px; }

/* ----------------------------------------------------------
   COURSE DETAIL — 7-component curriculum
   ---------------------------------------------------------- */
.trn-curriculum-section {
    background: #f4f6f8;
    padding: 48px 0 64px;
    border-top: 1px solid #e0e0e0;
}
.trn-curriculum-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
}
.trn-curriculum-main {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.trn-component {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #1f5c8a;
    margin-bottom: 16px;
}
.trn-component:last-child { margin-bottom: 0; }
.trn-component-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.trn-component-num {
    width: 28px; height: 28px;
    background: #1f5c8a;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.trn-component-header h3 {
    font-size: 14px;
    font-weight: 700;
    color: #2D2D2D;
    margin: 0;
}
.trn-component-body {
    padding: 20px 20px 22px;
}
.trn-component-body p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 12px;
}
.trn-component-body p:last-child { margin-bottom: 0; }
.trn-component-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.trn-component-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.65;
    padding: 7px 0;
    border-bottom: 1px solid #f5f5f5;
}
.trn-component-list li:last-child { border-bottom: none; }
.trn-component-list li::before {
    content: '›';
    color: #1f5c8a;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1.4;
}
.trn-objective-box {
    background: #0d1e2d;
    color: #fff;
    padding: 18px 20px;
    border-radius: 2px;
}
.trn-objective-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.50);
    margin: 0 0 8px;
}
.trn-objective-text {
    font-size: 14px;
    color: #fff;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}
.trn-demo-banner {
    background: rgba(31,92,138,0.06);
    border: 1px solid rgba(31,92,138,0.15);
    padding: 11px 16px;
    border-radius: 3px;
    font-size: 12px;
    color: #555;
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.trn-demo-banner i { color: #1f5c8a; font-size: 14px; flex-shrink: 0; }
.trn-assessment-callout {
    background: #1f5c8a;
    color: #fff;
    padding: 14px 18px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.trn-assessment-callout i { font-size: 16px; flex-shrink: 0; }

/* ----------------------------------------------------------
   COURSE DETAIL — sticky sidebar
   ---------------------------------------------------------- */
.trn-curriculum-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 24px;
}
.trn-sidebar-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}
.trn-sidebar-card-header {
    background: #1f5c8a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 10px 16px;
}
.trn-sidebar-card-body {
    padding: 18px 16px;
}
.trn-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}
.trn-toc-list li {
    counter-increment: toc;
    font-size: 12px;
    color: #555;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.trn-toc-list li:last-child { border-bottom: none; }
.trn-toc-list li::before {
    content: counter(toc);
    font-size: 10px;
    font-weight: 700;
    color: #1f5c8a;
    background: rgba(31,92,138,0.08);
    border: 1px solid rgba(31,92,138,0.20);
    min-width: 18px; height: 18px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.trn-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f0f0f0;
}
.trn-detail-row:last-child { border-bottom: none; }
.trn-detail-label {
    color: #999;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    padding-top: 1px;
}
.trn-detail-value {
    color: #2D2D2D;
    font-weight: 600;
    text-align: right;
    line-height: 1.4;
}
.trn-sidebar-cta {
    background: #0d1e2d;
    padding: 22px 18px;
}
.trn-sidebar-cta h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.trn-sidebar-cta p {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin: 0 0 16px;
}
.trn-sidebar-cta .trn-enroll-btn {
    background: #1f5c8a;
}
.trn-sidebar-cta .trn-enroll-btn:hover {
    background: #174e77;
}
.trn-sidebar-phone {
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    margin-top: 10px;
}

/* ----------------------------------------------------------
   COURSE DETAIL — prev/next navigation
   ---------------------------------------------------------- */
.trn-course-nav {
    background: #fff;
    padding: 32px 0;
    border-top: 1px solid #e0e0e0;
}
.trn-course-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}
.trn-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    text-decoration: none;
    flex: 1;
    max-width: 48%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.trn-nav-btn:hover { border-color: #1f5c8a; box-shadow: 0 3px 10px rgba(0,0,0,0.08); text-decoration: none; }
.trn-nav-btn.trn-nav-next { flex-direction: row-reverse; text-align: right; }
.trn-nav-btn-label {
    font-size: 10px;
    font-weight: 700;
    color: #1f5c8a;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}
.trn-nav-btn-title {
    font-size: 13px;
    font-weight: 600;
    color: #2D2D2D;
    line-height: 1.35;
}
.trn-nav-arrow {
    font-size: 22px;
    color: #1f5c8a;
    flex-shrink: 0;
    line-height: 1;
}

/* ----------------------------------------------------------
   INLINE CTA BLOCK (bottom of listing pages)
   ---------------------------------------------------------- */
.trn-inline-cta {
    background: #fff;
    padding: 56px 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}
.trn-inline-cta h2 {
    font-size: 22px;
    font-weight: 800;
    color: #2D2D2D;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}
.trn-inline-cta p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 28px;
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1100px) {
    .trn-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trn-trust-item:nth-child(2) { border-right: none; }
    .trn-trust-item:nth-child(3),
    .trn-trust-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.15); }
    .trn-trust-item:nth-child(4) { border-right: none; }
    .trn-course-grid { grid-template-columns: repeat(2, 1fr); }
    .trn-value-grid { grid-template-columns: repeat(2, 1fr); }
    .trn-preview-grid { grid-template-columns: repeat(2, 1fr); }
    .trn-course-hero-inner { grid-template-columns: 1fr; }
    .trn-course-info-box { display: none; }
    .trn-curriculum-layout { grid-template-columns: 1fr; }
    .trn-curriculum-sidebar { position: static; }
}
@media (max-width: 768px) {
    .trn-hero h1 { font-size: 28px; }
    .trn-hero-sub { font-size: 14px; }
    .trn-trust-grid { grid-template-columns: 1fr; }
    .trn-trust-item { border-right: none; border-top: 1px solid rgba(255,255,255,0.15); }
    .trn-trust-item:first-child { border-top: none; }
    .trn-value-grid { grid-template-columns: 1fr; }
    .trn-course-grid { grid-template-columns: 1fr; }
    .trn-preview-grid { grid-template-columns: 1fr; }
    .trn-course-nav-inner { flex-direction: column; }
    .trn-nav-btn { max-width: 100%; }
    .trn-nav-btn.trn-nav-next { flex-direction: row; text-align: left; }
}
@media (max-width: 576px) {
    .trn-hero h1 { font-size: 24px; }
    .trn-hero-actions { flex-direction: column; align-items: flex-start; }
    .trn-cta-actions { flex-direction: column; align-items: center; }
    .trn-course-hero h1 { font-size: 22px; }
}
