
:root {
  --primary: #0f4c81;
  --primary-dark: #0a355c;
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --dark: #0f172a;
  --slate: #334155;
  --muted: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --star: #f59e0b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--dark); background: #ffffff; line-height: 1.65; }
a { color: var(--primary); text-decoration: none; transition: 0.2s; }

/* Clean, Non-Wrapping Desktop Header */
.site-header { background: #ffffff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05); }
.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}
.brand-logos { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logos svg { height: 38px; width: auto; display: block; }
.brand-logos img { height: 34px; width: auto; object-fit: contain; display: block; }
.logo-sep { width: 1px; height: 26px; background: var(--border); }

/* Header Search */
.header-search { position: relative; flex: 0 1 180px; min-width: 120px; }
.header-search input { width: 100%; padding: 7px 12px 7px 30px; border: 1px solid #cbd5e1; border-radius: 999px; font-size: 0.82rem; background: var(--light); outline: none; transition: 0.2s; }
.header-search input:focus { border-color: var(--primary); background: #ffffff; box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1); }
.header-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; stroke: var(--muted); pointer-events: none; }

/* Desktop Mega Nav — STRICT SINGLE LINE (NO WRAPPING) */
.mega-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}
.mega-item { position: static; }
.mega-trigger {
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  line-height: 1;
}
.mega-trigger:hover, .mega-item:hover .mega-trigger { background: #f1f5f9; color: var(--primary); }
.mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 20px;
  right: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
  padding: 22px;
  z-index: 1001;
  max-height: 80vh;
  overflow-y: auto;
}
@media (min-width: 1181px) {
  .mega-item:hover .mega-panel, .mega-item:focus-within .mega-panel { display: block; }
}
.mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.mega-col h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 8px; padding-bottom: 4px; border-bottom: 2px solid #f1f5f9; font-weight: 800; }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li { margin-bottom: 4px; }
.mega-col a { display: block; font-size: 0.82rem; color: var(--slate); padding: 4px 6px; border-radius: 4px; font-weight: 500; line-height: 1.3; }
.mega-col a:hover { background: #f0f6ff; color: var(--primary); font-weight: 600; }

/* Mobile Menu Button */
.menu-toggle { display: none; background: var(--light); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--dark); align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; stroke: var(--dark); display: block; }

/* Responsive Breakpoint for Smooth Transition to Mobile Drawer */
@media (max-width: 1180px) {
  .nav-container { padding: 8px 14px; flex-wrap: wrap; }
  .brand-logos svg { height: 32px; }
  .brand-logos img { height: 26px; }
  .menu-toggle { display: inline-flex; }
  .header-search { order: 3; width: 100%; margin-top: 6px; }
  .mega-nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 10px 4px 20px;
    gap: 4px;
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .mega-nav.open { display: flex; }
  .mega-trigger { width: 100%; justify-content: space-between; padding: 12px 10px; border-bottom: 1px solid #f1f5f9; }
  .mega-panel {
    position: static;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 8px;
    padding: 14px;
    max-height: 55vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mega-item.mobile-open .mega-panel { display: block; }
}

/* PDU Highlight Badge */
.pdu-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
  letter-spacing: 0.02em;
}

/* Talent Triangle Grid on Single Pages */
.talent-triangle-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
  margin: 18px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  text-align: center;
}
.talent-metric { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px; }
.talent-metric strong { display: block; font-size: 1.25rem; color: #ea580c; }
.talent-metric span { font-size: 0.76rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* Hero & Live Search Box */
.hero { background: linear-gradient(135deg, #0b192c 0%, #0f4c81 100%); color: #ffffff; padding: 60px 24px; text-align: center; }
.hero-inner { max-width: 980px; margin: 0 auto; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); padding: 5px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.75rem); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.hero p { font-size: 1.05rem; color: #e2e8f0; max-width: 800px; margin: 0 auto 24px; }

.live-search-wrap { max-width: 740px; margin: 0 auto 24px; position: relative; text-align: left; }
.live-search-input-box { display: flex; align-items: center; background: #ffffff; border-radius: 12px; padding: 5px 6px 5px 16px; box-shadow: 0 12px 30px rgba(0,0,0,0.22); border: 2px solid transparent; }
.live-search-input-box:focus-within { border-color: #38bdf8; }
.live-search-input-box input { flex: 1; border: none; outline: none; font-size: 0.95rem; color: var(--dark); padding: 10px 8px; background: transparent; }
.live-search-input-box button { background: var(--accent); color: #ffffff; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 0.92rem; }
.live-search-input-box button:hover { background: var(--accent-hover); }
.live-search-results { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #ffffff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 20px 40px rgba(15,23,42,0.22); max-height: 420px; overflow-y: auto; z-index: 900; padding: 8px; color: var(--dark); }
.live-search-results.active { display: block; }
.search-result-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid #f1f5f9; border-radius: 6px; }
.search-result-item:hover { background: #f0f6ff; }
.search-result-item h5 { font-size: 0.9rem; color: var(--dark); margin-bottom: 2px; }
.search-result-item span { font-size: 0.76rem; color: var(--muted); }

.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: #ffffff !important; padding: 11px 22px; border-radius: 8px; font-weight: 700; display: inline-block; font-size: 0.92rem; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: rgba(255,255,255,0.1); color: #ffffff !important; border: 1px solid rgba(255,255,255,0.3); padding: 11px 22px; border-radius: 8px; font-weight: 600; display: inline-block; font-size: 0.92rem; }
.btn-outline:hover { background: rgba(255,255,255,0.2); }

/* Sections */
.section { padding: 60px 24px; max-width: 1320px; margin: 0 auto; }
.section-alt { background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { margin-bottom: 28px; }
.section-tag { display: inline-block; color: var(--accent); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.section-title { font-size: clamp(1.55rem, 2.6vw, 2.2rem); color: var(--dark); font-weight: 800; margin-bottom: 8px; }
.section-desc { color: var(--slate); font-size: 1rem; max-width: 860px; }

/* Filter Bar */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn { background: #ffffff; border: 1px solid #cbd5e1; color: var(--slate); padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 0.84rem; cursor: pointer; transition: 0.2s; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #ffffff; border-color: var(--primary); }

/* Course Cards Grid */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(295px, 1fr)); gap: 18px; }
.course-card { background: #ffffff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s, box-shadow 0.2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(15, 76, 129, 0.08); border-color: #cbd5e1; }
.card-top-badges { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.card-badge { display: inline-block; background: #e0f2fe; color: #0369a1; font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 5px; }
.course-card h4 { font-size: 1rem; color: var(--dark); margin-bottom: 6px; line-height: 1.35; font-weight: 700; }
.course-card h4 a { color: var(--dark); }
.course-card h4 a:hover { color: var(--primary); }
.course-card p { font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.btn-card-seo { flex: 1; text-align: center; background: var(--light); color: var(--primary); border: 1px solid #cbd5e1; padding: 7px 8px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }
.btn-card-seo:hover { background: #e2e8f0; }
.btn-card-enroll { flex: 1; text-align: center; background: var(--primary); color: #ffffff !important; padding: 7px 8px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }
.btn-card-enroll:hover { background: var(--primary-dark); }

/* Schemes & Testimonials */
.scheme-box { background: #ffffff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-bottom: 32px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); text-align: center; }
.scheme-box img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px auto; display: block; }

.testimonials-section { background: #f0f6ff; border-top: 1px solid #dbeafe; border-bottom: 1px solid #dbeafe; padding: 64px 24px; }
.testimonials-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial-card { background: #ffffff; border: 1px solid #dbeafe; border-radius: 14px; padding: 26px 20px; text-align: center; box-shadow: 0 6px 20px rgba(15, 76, 129, 0.05); display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.stars { color: var(--star); font-size: 1.25rem; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-text { font-size: 0.92rem; color: #1e293b; line-height: 1.65; margin-bottom: 18px; }
.testimonial-author-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #ffffff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; border: 3px solid #e0f2fe; }
.testimonial-author-name { font-weight: 800; color: #0f172a; font-size: 0.95rem; }
.testimonial-author-role { font-size: 0.8rem; color: var(--muted); }

/* About Box & Footer */
.about-box { background: linear-gradient(135deg, #0f4c81 0%, #1e3a8a 100%); color: #ffffff; border-radius: 16px; padding: 40px 28px; text-align: center; max-width: 980px; margin: 0 auto; }
.about-box h2 { font-size: 1.85rem; margin-bottom: 12px; font-weight: 800; }
.about-box p { font-size: 1.1rem; line-height: 1.65; color: #f1f5f9; max-width: 800px; margin: 0 auto; }

.site-footer { background: #0b132b; color: #cbd5e1; padding: 52px 24px 34px; }
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-contact-bar { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 22px; margin: 22px 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.footer-contact-item { font-size: 0.88rem; color: #e2e8f0; }
.footer-contact-item strong { display: block; color: #94a3b8; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.footer-contact-item a { color: #38bdf8; font-weight: 600; }
.footer-contact-item a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; font-size: 0.84rem; color: #94a3b8; line-height: 1.7; }
.footer-bottom p { margin-bottom: 10px; }
.footer-bottom a { color: #38bdf8; text-decoration: underline; }

.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 0.92rem; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 11px 14px; text-align: left; }
.spec-table th { background: var(--light); color: var(--dark); font-weight: 700; width: 34%; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; background: #ffffff; overflow: hidden; }
.faq-item summary { padding: 14px 18px; font-weight: 700; color: var(--dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 0.96rem; background: var(--light); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.25rem; color: var(--primary); font-weight: 800; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 14px 18px; color: var(--slate); font-size: 0.92rem; border-top: 1px solid var(--border); line-height: 1.65; }

/* ===== PDU Pack Finder (Hero) ===== */
.pack-finder { margin: 30px auto 0; max-width: 900px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 24px 22px; text-align: center; }
.pack-finder h2 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 800; margin-bottom: 10px; color: #ffffff; }
.pack-finder p { font-size: 0.98rem; margin: 0 auto 18px; }
.pack-finder p strong { color: #fdba74; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pack-tile { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #ffffff; color: var(--dark); border-radius: 12px; padding: 16px 12px; border: 2px solid transparent; transition: transform 0.2s, border-color 0.2s; }
.pack-tile:hover, .pack-tile:focus-visible { transform: translateY(-3px); border-color: var(--accent); }
.pack-certs { font-size: 0.78rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; }
.pack-tile strong { font-size: 1.9rem; font-weight: 900; color: var(--accent); line-height: 1.2; }
.pack-edu { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.pack-cta { margin-top: 6px; font-size: 0.82rem; font-weight: 700; color: var(--primary); }

/* ===== PDU Renewal Plans ===== */
.plans-section { scroll-margin-top: 90px; }
.plans-block { scroll-margin-top: 90px; }
.plans-block + .plans-block { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.plan-card { background: #ffffff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(15,23,42,0.04); }
.plan-featured { border: 2px solid var(--accent); box-shadow: 0 8px 22px rgba(234,88,12,0.12); }
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.plan-head h4 { font-size: 1rem; font-weight: 800; line-height: 1.35; color: var(--dark); }
.plan-total { flex-shrink: 0; background: linear-gradient(135deg, #ea580c, #c2410c); color: #ffffff; font-weight: 800; font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.plan-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 12px; }
.plan-list { list-style: none; margin-top: auto; border-top: 1px solid var(--border); padding-top: 10px; }
.plan-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #e2e8f0; font-size: 0.88rem; }
.plan-list li:last-child { border-bottom: none; }
.plan-list a { color: var(--primary); font-weight: 600; }
.plan-list a:hover { text-decoration: underline; }
.plan-pdu { flex-shrink: 0; font-weight: 800; color: var(--accent); font-size: 0.82rem; white-space: nowrap; }
