/* ============================================================
   VALUE POINT CONSULTANCY — Master Stylesheet
   File: assets/css/style.css
   Theme: Deep Navy · Gold · Cream · Premium Professional
   Fonts: Playfair Display (headings) + DM Sans (body)
============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --navy:          #0B1D3A;
  --navy-dark:     #071225;
  --navy-mid:      #132848;
  --navy-light:    #1E3A5F;
  --gold:          #C9A84C;
  --gold-light:    #E4C56E;
  --gold-pale:     #F5E6BB;
  --gold-dark:     #A6872E;
  --cream:         #FAF6EE;
  --cream-dark:    #F0E9D8;
  --white:         #FFFFFF;
  --text-dark:     #1A1A2E;
  --text-mid:      #3D3D5C;
  --text-light:    #6B7280;
  --border:        rgba(201,168,76,0.2);
  --shadow-sm:     0 2px 12px rgba(11,29,58,0.08);
  --shadow-md:     0 6px 30px rgba(11,29,58,0.12);
  --shadow-lg:     0 16px 60px rgba(11,29,58,0.18);
  --shadow-gold:   0 4px 24px rgba(201,168,76,0.25);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
}

/* ── Base Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.25; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 600; }

a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; }

/* ── Utility ───────────────────────────────────────────────── */
.vp-section { padding: 90px 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn { border-radius: var(--radius-sm); font-weight: 500; transition: var(--transition); }

.btn-primary-vp {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  padding: 0.65rem 1.75rem;
}
.btn-primary-vp:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-vp {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 0.65rem 1.75rem;
}
.btn-outline-vp:hover {
  background: var(--navy);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border: 2px solid var(--gold);
  padding: 0.65rem 1.75rem;
  font-weight: 600;
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Verify button — navbar */
.btn-verify {
  background: var(--gold);
  color: var(--navy-dark) !important;
  border: none;
  padding: 0.55rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn-verify:hover {
  background: var(--gold-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ── Top Bar ───────────────────────────────────────────────── */
.vp-topbar {
  background: var(--navy-dark);
  padding: 8px 0;
  font-size: 0.82rem;
}

.vp-topbar a { color: rgba(255,255,255,0.7); }
.vp-topbar a:hover { color: var(--gold-light); }
.vp-topbar i { color: var(--gold); }
.topbar-divider {
  width: 1px; height: 16px;
  background: rgba(255,255,255,0.2);
  display: inline-block;
  vertical-align: middle;
}
.topbar-flag { color: rgba(255,255,255,0.6); font-size: 0.8rem; }

/* ── Navbar ────────────────────────────────────────────────── */
.vp-navbar {
  background: var(--white);
  border-bottom: 1px solid rgba(11,29,58,0.08);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(11,29,58,0.07);
  transition: var(--transition);
}

.vp-navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.vp-logo { height: 52px; width: auto; }

.vp-logo-text .logo-vp {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}
.vp-logo-text .logo-vp span { color: var(--gold); }

/* Nav links */
.vp-navbar .nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy) !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: var(--radius-sm);
  position: relative;
}
.vp-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
}
.vp-navbar .nav-link:hover::after,
.vp-navbar .nav-link.active::after { width: 60%; }
.vp-navbar .nav-link:hover,
.vp-navbar .nav-link.active { color: var(--gold-dark) !important; }

/* Dropdown */
.vp-dropdown {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem 0;
  min-width: 260px;
  background: var(--white);
  margin-top: 8px !important;
}
.vp-dropdown .dropdown-item {
  font-size: 0.88rem;
  color: var(--navy);
  padding: 0.55rem 1.25rem;
  transition: var(--transition);
}
.vp-dropdown .dropdown-item:hover {
  background: var(--cream);
  color: var(--gold-dark);
  padding-left: 1.6rem;
}
.vp-dropdown .dropdown-item i { color: var(--gold); width: 18px; }
.vp-dropdown-all {
  font-weight: 600 !important;
  color: var(--navy) !important;
}

/* Mobile toggle */
.vp-toggler {
  border: none;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.vp-toggler span {
  display: block;
  width: 26px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ──────────────────────────────────────────────────── */
.vp-hero {
  position: relative;
  background: var(--navy);
  background-image: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.min-vh-hero { min-height: 85vh; padding: 60px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light);
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
}
.hero-badge i { color: var(--gold); }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  color: var(--gold);
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-hero-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border: 2px solid var(--gold);
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}
.btn-hero-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
  padding: 0.85rem 2rem;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.hero-stat { padding: 0 1.5rem; }
.hero-stat:first-child { padding-left: 0; }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* Hero Card Stack */
.hero-card-stack { position: relative; height: 420px; }

.hero-image-frame {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 2px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-image-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(201,168,76,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}
.hero-monogram {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(201,168,76,0.25);
  position: relative;
  z-index: 1;
}

.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.2rem;
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}
.hero-float-card i { color: var(--gold); font-size: 1.1rem; }
.card-1 { top: 10%;  right: 0;   animation: floatA 4s ease-in-out infinite; }
.card-2 { top: 42%;  right: -5%; animation: floatB 5s ease-in-out infinite; }
.card-3 { bottom: 8%; right: 5%;  animation: floatA 4.5s ease-in-out infinite; }

@keyframes floatA {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* ── Trust Bar ─────────────────────────────────────────────── */
.vp-trust-bar {
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 24px;
}
.trust-item i { color: var(--gold); }
.trust-divider {
  width: 1px; height: 28px;
  background: var(--cream-dark);
}

/* ── About Intro ───────────────────────────────────────────── */
.vp-about-intro { background: var(--white); }

.about-image-block {
  position: relative;
  height: 400px;
}
.about-image-bg {
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
}
.about-image-content {
  position: absolute;
  inset: 0;
  background: var(--navy);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: 100%;
}
.about-icon-cell {
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  border: 1px solid rgba(201,168,76,0.1);
  transition: var(--transition);
}
.about-icon-cell:hover { background: rgba(201,168,76,0.1); }
.about-icon-cell i { font-size: 2rem; color: rgba(201,168,76,0.5); }

.about-badge-float {
  position: absolute;
  bottom: -15px; right: 30px;
  background: var(--gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1;
}
.badge-text {
  display: block;
  font-size: 0.78rem;
  color: var(--navy);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-features { display: flex; flex-direction: column; gap: 0.6rem; }
.about-feature {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.about-feature i { color: var(--gold); }

/* ── Category Cards ────────────────────────────────────────── */
.vp-categories-section { background: var(--cream); }

.vp-category-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.vp-category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.vp-category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
  color: inherit;
}
.vp-category-card:hover::before { transform: scaleX(1); }

.cat-card-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.vp-category-card:hover .cat-card-icon { background: var(--navy); }
.cat-card-icon i {
  font-size: 1.3rem;
  color: var(--gold);
}
.cat-card-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.cat-card-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.cat-card-link {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: auto;
}
.vp-category-card:hover .cat-card-link { color: var(--navy); }

/* ── Course Cards ──────────────────────────────────────────── */
.vp-featured-courses { background: var(--white); }

.vp-course-card {
  background: var(--white);
  border: 1px solid rgba(11,29,58,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  height: 100%;
  transition: var(--transition);
}
.vp-course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.course-card-header {
  background: var(--navy);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-level {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.course-level-foundation   { background: rgba(201,168,76,0.2); color: var(--gold-light); }
.course-level-intermediate { background: rgba(59,130,246,0.2); color: #93C5FD; }
.course-level-advanced     { background: rgba(168,85,247,0.2); color: #D8B4FE; }

.course-category-tag {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.course-card-body {
  padding: 1.5rem;
  flex: 1;
}
.course-card-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.course-card-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.course-card-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-light);
}
.course-card-meta i { color: var(--gold); }

.course-card-footer {
  padding: 1rem 1.5rem;
  background: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--cream-dark);
}
.course-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.btn-course-enroll {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.btn-course-enroll:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-1px);
}

/* ── Certificate Verify Banner ─────────────────────────────── */
.vp-verify-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.vp-verify-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at right, rgba(201,168,76,0.1), transparent 60%);
}
.verify-banner-icon {
  width: 80px; height: 80px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.verify-banner-icon i { font-size: 2.5rem; color: var(--gold); }
.verify-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 0.6rem;
}
.verify-banner-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin: 0;
}
.btn-verify-banner {
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  padding: 0.85rem 2rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.btn-verify-banner:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ── Why Section ───────────────────────────────────────────── */
.vp-why-section { background: var(--cream); }

.vp-why-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}
.vp-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.why-card-icon {
  width: 50px; height: 50px;
  background: rgba(201,168,76,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.why-card-icon i { font-size: 1.25rem; color: var(--gold-dark); }
.why-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.why-card-text { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* ── Webinar Cards ─────────────────────────────────────────── */
.vp-webinars-home { background: var(--white); }

.vp-webinar-card {
  background: var(--white);
  border: 1px solid rgba(11,29,58,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: var(--transition);
}
.vp-webinar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.webinar-date-badge {
  background: var(--navy);
  padding: 1rem;
  display: flex;
  align-items: center; gap: 0.75rem;
}
.wb-day {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.wb-month {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.webinar-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.webinar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.webinar-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--text-light);
  margin-bottom: 0.75rem;
}
.webinar-meta i { color: var(--gold); }
.webinar-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.webinar-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto;
}
.badge-free {
  background: rgba(34,197,94,0.15);
  color: #16A34A;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.btn-webinar-register {
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.btn-webinar-register:hover {
  background: var(--navy);
  color: var(--gold-light);
}

/* ── Testimonials ──────────────────────────────────────────── */
.vp-testimonials { background: var(--navy); }
.vp-testimonials .section-label { color: var(--gold); }
.vp-testimonials .section-title { color: var(--white); }

.vp-testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}
.vp-testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-4px);
}
.testimonial-stars { margin-bottom: 1rem; }
.testimonial-stars i { color: var(--gold); font-size: 0.9rem; }
.testimonial-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 42px; height: 42px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ── Contact Strip ─────────────────────────────────────────── */
.vp-contact-strip { background: var(--cream); }

.contact-strip-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.contact-strip-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.contact-strip-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.contact-strip-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.contact-strip-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}
.contact-strip-card a { color: var(--navy); }
.contact-strip-card a:hover { color: var(--gold-dark); }
.btn-strip-contact {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.45rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.btn-strip-contact:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

/* ── Pre-Footer CTA Banner ─────────────────────────────────── */
.vp-cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 60px 0;
  border-top: 3px solid var(--gold);
}
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin: 0;
}
.btn-cta-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border: 2px solid var(--gold);
  padding: 0.75rem 1.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.btn-cta-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-cta-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
  padding: 0.75rem 1.8rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.btn-cta-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ── Main Footer ───────────────────────────────────────────── */
.vp-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 70px 0 0;
}

.footer-logo { height: 48px; width: auto; }
.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
}

.footer-about { font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.55); }

.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-verify-link {
  color: var(--gold-light) !important;
  font-weight: 500;
}

.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li {
  display: flex; gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.footer-contact-list i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-list a { color: rgba(255,255,255,0.55); }
.footer-contact-list a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 50px;
  padding: 20px 0;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-bottom-links { display: flex; gap: 0.6rem; justify-content: flex-end; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-bottom-links a:hover { color: var(--gold-light); }
.footer-bottom-links .sep { color: rgba(255,255,255,0.2); }

/* ── Scroll Animations ─────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate="fade-left"]  { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* ── Alert Styles ──────────────────────────────────────────── */
.alert { border-radius: var(--radius-sm); font-size: 0.9rem; }
.alert-success { background: #F0FFF4; border-color: #BBF7D0; color: #166534; }
.alert-danger  { background: #FFF5F5; border-color: #FED7D7; color: #9B1C1C; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
  .vp-topbar { display: none; }
  .vp-hero   { padding: 60px 0; }
  .min-vh-hero { min-height: auto; }
  .hero-stats { gap: 8px; }
  .hero-stat  { padding: 0 1rem; }
  .vp-section { padding: 60px 0; }
  .trust-divider { display: none; }
  .trust-bar-inner { gap: 1rem 0; }
  .trust-item { padding: 6px 16px; }
}

@media (max-width: 767px) {
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 1rem 0; }
  .hero-stat-divider { display: none; }
  .section-title { font-size: 1.6rem; }
  .about-image-block { height: 260px; }
  .vp-section { padding: 50px 0; }
  .footer-bottom-links { justify-content: flex-start; margin-top: 0.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .vp-logo   { height: 40px; }
}

/* ============================================================
   PHASE 2 — Public Pages Styles
   Pages: about, courses, course-detail, course-register,
          webinars, webinar-register, contact
============================================================ */

/* ── Page Hero (shared across all inner pages) ─────────────── */
.vp-page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  overflow: hidden;
  padding: 70px 0 60px;
}
.page-hero-inner { position: relative; z-index: 1; }

.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.55); }
.page-hero-breadcrumb a:hover { color: var(--gold-light); }
.page-hero-breadcrumb i { font-size: 0.65rem; }
.page-hero-breadcrumb span { color: var(--gold-light); }

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.page-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 680px;
  line-height: 1.75;
  margin: 0;
}
.page-hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 500;
}

.course-hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  margin-top: 1.25rem;
}
.course-hero-meta span {
  display: flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.65); font-size: 0.88rem;
}
.course-hero-meta i { color: var(--gold); }

/* ── About Page ─────────────────────────────────────────────── */
.about-mvv-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}
.about-mvv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.about-mvv-navy { background: var(--navy); }
.about-mvv-navy .mvv-icon i,
.about-mvv-navy .mvv-title,
.about-mvv-navy .mvv-text { color: var(--white); }
.about-mvv-gold { background: var(--gold); }
.about-mvv-gold .mvv-icon i,
.about-mvv-gold .mvv-title { color: var(--navy-dark); }
.about-mvv-gold .mvv-text { color: rgba(11,29,58,0.8); }
.mvv-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(255,255,255,0.15); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.mvv-icon i { font-size: 1.1rem; color: var(--gold); }
.about-mvv-gold .mvv-icon { background: rgba(11,29,58,0.12); }
.mvv-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--white); }
.mvv-text  { font-size: 0.85rem; line-height: 1.6; margin: 0; color: rgba(255,255,255,0.7); }

.vp-stats-bar {
  background: var(--navy);
  padding: 50px 0;
}
.stats-bar-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.stats-bar-item i { font-size: 1.5rem; color: var(--gold); margin-bottom: 0.4rem; }
.stats-number {
  font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.stats-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; }

.about-service-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); padding: 1.75rem; height: 100%;
  transition: var(--transition);
}
.about-service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,0.1); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.svc-icon i { font-size: 1.2rem; color: var(--gold-dark); }
.svc-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.svc-text  { font-size: 0.85rem; color: var(--text-light); line-height: 1.65; margin: 0; }

.presence-card {
  padding: 2.5rem; border-radius: var(--radius-lg); height: 100%;
}
.presence-uk { background: var(--navy); }
.presence-ng { background: var(--navy-mid); }
.presence-flag { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.presence-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.presence-body  { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.75; margin-bottom: 1.25rem; }
.presence-list  { list-style: none; padding: 0; }
.presence-list li { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 0.5rem; }
.presence-list i  { color: var(--gold); }

.about-reason-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-md); padding: 2rem; height: 100%;
  transition: var(--transition);
}
.about-reason-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(201,168,76,0.3); transform: translateY(-3px); }
.reason-number {
  display: inline-block; font-family: var(--font-heading);
  font-size: 2rem; font-weight: 800; color: rgba(201,168,76,0.3);
  margin-bottom: 0.5rem; line-height: 1;
}
.reason-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.reason-text  { font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 0; }

/* ── Course Listing Page ────────────────────────────────────── */
.vp-filters-bar {
  background: var(--white);
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--cream-dark);
  position: sticky; top: 78px; z-index: 90;
  box-shadow: var(--shadow-sm);
}
.filter-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 0.4rem; display: block; }
.filter-input {
  border: 1px solid #DDE2EA; border-radius: var(--radius-sm);
  font-size: 0.9rem; padding: 0.55rem 0.9rem;
  color: var(--navy); background: var(--white);
  transition: var(--transition);
}
.filter-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); outline: none; }
.search-input-wrap { position: relative; }
.search-input-wrap i {
  position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%);
  color: var(--text-light); font-size: 0.85rem; pointer-events: none;
}
.search-input-wrap .filter-input { padding-left: 2.2rem; }

.cat-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cat-pill {
  display: inline-flex; align-items: center;
  padding: 0.35rem 0.9rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 500;
  background: var(--cream); border: 1px solid var(--cream-dark);
  color: var(--navy); transition: var(--transition);
  white-space: nowrap;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--navy); border-color: var(--navy);
  color: var(--gold-light);
}
.cat-pill i { font-size: 0.75rem; }

.courses-count-badge {
  background: var(--gold); color: var(--navy-dark);
  padding: 0.35rem 1rem; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700;
}

.cat-section-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.cat-section-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--navy); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.cat-section-icon i { font-size: 1.1rem; color: var(--gold); }
.cat-section-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 0; }
.cat-section-count { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; display: block; }
.cat-view-all { font-size: 0.85rem; font-weight: 600; color: var(--gold-dark); white-space: nowrap; }
.cat-view-all:hover { color: var(--navy); }

.btn-course-detail {
  background: transparent; border: 1px solid var(--navy);
  color: var(--navy); padding: 0.4rem 0.9rem;
  font-size: 0.82rem; font-weight: 500;
  border-radius: var(--radius-sm);
}
.btn-course-detail:hover { background: var(--navy); color: var(--white); }

.no-results-block { padding: 4rem 0; }

/* ── Course Detail Page ─────────────────────────────────────── */
.detail-block {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); padding: 2rem;
}
.detail-block-title {
  font-family: var(--font-body); font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 1.25rem;
  padding-bottom: 0.75rem; border-bottom: 2px solid var(--cream-dark);
}
.detail-block-title i { color: var(--gold); }
.detail-block-body p, .prose-content { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; }

.learning-outcome {
  display: flex; gap: 0.7rem; align-items: flex-start;
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.5;
}
.learning-outcome i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }

.audience-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.audience-tag {
  background: var(--cream); border: 1px solid var(--cream-dark);
  color: var(--navy); padding: 0.35rem 0.85rem;
  border-radius: 50px; font-size: 0.82rem; font-weight: 500;
}
.audience-tag i { color: var(--gold); font-size: 0.75rem; }

.delivery-mode-card {
  background: var(--cream); border-radius: var(--radius-md); padding: 1.25rem;
  text-align: center; height: 100%;
}
.delivery-mode-card i { font-size: 1.5rem; color: var(--gold-dark); margin-bottom: 0.75rem; display: block; }
.delivery-mode-card h5 { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.delivery-mode-card p  { font-size: 0.82rem; color: var(--text-light); margin: 0; line-height: 1.6; }

.cert-info-block {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--cream); padding: 1.25rem; border-radius: var(--radius-md);
}
.cert-info-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--navy); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.cert-info-icon i { font-size: 1.4rem; color: var(--gold); }
.cert-info-block h5 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.cert-info-block p  { font-size: 0.87rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 0.5rem; }
.cert-verify-link   { font-size: 0.85rem; color: var(--gold-dark); font-weight: 600; }
.cert-verify-link:hover { color: var(--navy); }

/* Course Sidebar */
.course-sidebar { top: 100px; }
.sticky-sidebar  { position: sticky; }

.sidebar-price-card {
  background: var(--navy); border-radius: var(--radius-md);
  padding: 2rem; text-align: center;
}
.sidebar-price {
  font-family: var(--font-heading); font-size: 3rem; font-weight: 800;
  color: var(--gold); line-height: 1;
}
.sidebar-price-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }
.sidebar-note { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-align: center; margin: 0; }

.sidebar-info-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); padding: 1.5rem;
}
.sidebar-info-title {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--navy); margin-bottom: 1rem;
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--cream-dark);
}
.sidebar-info-list { list-style: none; padding: 0; margin: 0; }
.sidebar-info-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 0.87rem; color: var(--text-mid);
  padding: 0.5rem 0; border-bottom: 1px solid var(--cream-dark);
}
.sidebar-info-list li:last-child { border-bottom: none; }
.sidebar-info-list i { color: var(--gold); width: 16px; text-align: center; margin-top: 2px; flex-shrink: 0; }

.sidebar-contact-card {
  background: var(--cream); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); padding: 1.5rem; text-align: center;
}
.sidebar-contact-card i { font-size: 1.8rem; color: var(--gold); margin-bottom: 0.75rem; display: block; }
.sidebar-contact-card h5 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.sidebar-contact-card p  { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.75rem; }

/* ── Forms (shared) ─────────────────────────────────────────── */
.vp-form-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg); overflow: hidden;
  padding: 2.5rem;
}
.form-card-header {
  font-size: 1.1rem; font-weight: 700; color: var(--navy);
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 2px solid var(--cream-dark);
}
.form-card-header i { color: var(--gold); }

.vp-label {
  font-size: 0.82rem; font-weight: 600; color: var(--navy);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.4rem; display: block;
}
.required { color: #E53E3E; }

.vp-input {
  border: 1px solid #DDE2EA; border-radius: var(--radius-sm);
  font-size: 0.92rem; padding: 0.65rem 0.9rem;
  color: var(--navy); background: var(--white);
  width: 100%; transition: var(--transition);
}
.vp-input:focus {
  border-color: var(--gold); outline: none;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
textarea.vp-input { resize: vertical; min-height: 100px; }

.form-section-title {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; font-weight: 700; color: var(--navy);
}
.form-section-title span {
  width: 26px; height: 26px;
  background: var(--navy); color: var(--gold-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; flex-shrink: 0;
}
.form-hint { font-size: 0.78rem; color: var(--text-light); margin-top: 0.35rem; }

.privacy-notice {
  background: var(--cream); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; font-size: 0.82rem; color: var(--text-light);
  border-left: 3px solid var(--gold);
}
.privacy-notice a { color: var(--navy); font-weight: 600; }
.privacy-notice i { color: var(--gold); }

.form-success-block {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg); padding: 3rem; text-align: center;
}
.success-icon i { font-size: 4rem; color: #22C55E; margin-bottom: 1rem; display: block; }
.success-title { font-family: var(--font-heading); font-size: 2rem; color: var(--navy); margin-bottom: 1rem; }
.success-body  { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; max-width: 480px; margin: 0 auto 0.75rem; }

.form-sidebar > div { position: sticky; top: 100px; }

.next-steps  { display: flex; flex-direction: column; gap: 0.85rem; }
.next-step   { display: flex; gap: 0.75rem; align-items: flex-start; }
.next-step-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(201,168,76,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.next-step-icon i { font-size: 0.8rem; color: var(--gold-dark); }
.next-step-title { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.next-step-text  { font-size: 0.8rem; color: var(--text-light); }

/* ── Webinar Page ─────────────────────────────────────────────── */
.vp-webinar-full-card {
  display: flex;
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); overflow: hidden; height: 100%;
  transition: var(--transition);
}
.vp-webinar-full-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.webinar-full-date {
  background: var(--navy); min-width: 80px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem 1rem; text-align: center; flex-shrink: 0;
}
.wfd-month { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-light); font-weight: 600; }
.wfd-day   { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--white); line-height: 1; }
.wfd-year  { font-size: 0.72rem; color: rgba(255,255,255,0.4); }

.webinar-full-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.webinar-full-price { margin-bottom: 0.6rem; }
.webinar-paid-badge {
  background: rgba(201,168,76,0.15); color: var(--gold-dark);
  padding: 0.2rem 0.75rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 700;
}
.webinar-full-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.4; }
.webinar-full-desc  { font-size: 0.87rem; color: var(--text-light); line-height: 1.65; flex: 1; margin-bottom: 0.75rem; }
.webinar-full-meta  { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.75rem; }
.webinar-full-meta i { color: var(--gold); }
.webinar-full-actions { display: flex; align-items: center; gap: 1rem; margin-top: auto; flex-wrap: wrap; }
.webinar-capacity { font-size: 0.8rem; color: var(--text-light); }
.webinar-capacity i { color: var(--gold); }

.past-webinar-row {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  transition: var(--transition);
}
.past-webinar-row:hover { box-shadow: var(--shadow-sm); }
.past-wb-date { font-size: 0.8rem; color: var(--text-light); white-space: nowrap; min-width: 90px; }
.past-wb-info { flex: 1; }
.past-wb-title { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin: 0 0 0.2rem; }
.past-wb-meta  { font-size: 0.78rem; color: var(--text-light); }
.past-wb-meta i { color: var(--gold); }
.badge-completed {
  background: rgba(107,114,128,0.12); color: var(--text-light);
  padding: 0.2rem 0.65rem; border-radius: 50px; font-size: 0.75rem; white-space: nowrap;
}

/* ── Contact Page ─────────────────────────────────────────────── */
.contact-info-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); padding: 2rem; text-align: center; height: 100%;
  transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cic-icon {
  width: 54px; height: 54px;
  background: var(--navy); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.cic-icon i { font-size: 1.2rem; color: var(--gold); }
.contact-info-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.contact-info-card p  { font-size: 0.87rem; color: var(--text-light); line-height: 1.65; margin-bottom: 0.4rem; }
.contact-info-card a  { color: var(--navy); }
.contact-info-card a:hover { color: var(--gold-dark); }
.cic-note { font-size: 0.75rem; color: var(--text-light); background: var(--cream); padding: 0.2rem 0.75rem; border-radius: 50px; display: inline-block; margin-top: 0.5rem; }

.contact-map-placeholder {
  background: var(--navy); border-radius: var(--radius-md); overflow: hidden;
}
.map-label { background: rgba(0,0,0,0.3); padding: 0.75rem 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.map-label i { color: var(--gold); }
.map-placeholder-inner {
  height: 200px; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-dark));
}

.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; font-size: 0.87rem; color: var(--text-mid); padding: 0.5rem 0; border-bottom: 1px solid var(--cream-dark); }
.hours-list li:last-child { border-bottom: none; }
.hours-list .closed { color: #E53E3E; }
.hours-list .hours-note span { color: var(--text-light); font-size: 0.8rem; }

.contact-social-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.contact-social-link {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 500; transition: var(--transition);
  border: 1px solid var(--cream-dark); color: var(--navy);
}
.contact-social-link:hover { color: var(--white); transform: translateY(-1px); }
.contact-social-link.linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.contact-social-link.twitter:hover  { background: #000; border-color: #000; }
.contact-social-link.facebook:hover { background: #1877F2; border-color: #1877F2; }
.contact-social-link.youtube:hover  { background: #FF0000; border-color: #FF0000; }

/* ── Responsive Additions ───────────────────────────────────── */
@media (max-width: 991px) {
  .vp-filters-bar { position: static; }
  .sticky-sidebar  { position: static; }
  .form-sidebar > div { position: static; }
  .vp-webinar-full-card { flex-direction: column; }
  .webinar-full-date { flex-direction: row; justify-content: flex-start; padding: 1rem 1.5rem; gap: 0.75rem; }
}

@media (max-width: 767px) {
  .cat-section-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .cat-section-header .ms-auto { margin-left: 0 !important; }
  .vp-form-card { padding: 1.5rem; }
  .contact-social-links { grid-template-columns: 1fr; }
  .course-hero-meta { gap: 0.75rem; }
}

/* ============================================================
   PHASE 3 — Certificate Verification System Styles
   Files: verify.php, verification-result.php, certificate-view.php
============================================================ */

/* ── Verify Hero ────────────────────────────────────────────── */
.verify-hero { overflow: visible; }

.verify-hero-bg-icon {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  font-size: 20rem;
  color: rgba(201,168,76,0.04);
  pointer-events: none;
  line-height: 1;
}

.verify-hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}
.verify-hero-badge i { color: var(--gold); }

.verify-hero-features {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
}
.verify-hero-features span {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  display: flex; align-items: center;
}
.verify-hero-features i { color: var(--gold); margin-right: 0.3rem; }

/* Hero Visual */
.verify-hero-visual {
  position: relative;
  width: 320px; height: 320px;
  margin: 0 auto;
}
.vhv-shield {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.vhv-shield i {
  font-size: 7rem;
  color: var(--gold);
  filter: drop-shadow(0 0 30px rgba(201,168,76,0.4));
  animation: shieldPulse 3s ease-in-out infinite;
}
@keyframes shieldPulse {
  0%,100% { filter: drop-shadow(0 0 20px rgba(201,168,76,0.3)); }
  50%      { filter: drop-shadow(0 0 50px rgba(201,168,76,0.6)); }
}
.vhv-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.2);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.vhv-ring-1 { width: 160px; height: 160px; animation: ringExpand 3s ease-in-out infinite; }
.vhv-ring-2 { width: 230px; height: 230px; animation: ringExpand 3s ease-in-out infinite 0.5s; }
.vhv-ring-3 { width: 300px; height: 300px; animation: ringExpand 3s ease-in-out infinite 1s; }
@keyframes ringExpand {
  0%,100% { opacity: 0.6; }
  50%      { opacity: 0.2; }
}
.vhv-float {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem; color: var(--white); white-space: nowrap;
  z-index: 3;
}
.vhv-float i { color: var(--gold); }
.vhv-float-1 { top: 5%;  left: 0;   animation: floatA 4s ease-in-out infinite; }
.vhv-float-2 { top: 42%; right: -5%;animation: floatB 5s ease-in-out infinite; }
.vhv-float-3 { bottom: 5%;left: 5%; animation: floatA 4.5s ease-in-out infinite; }

/* ── Verify Input Card ──────────────────────────────────────── */
.verify-input-section {
  padding: 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.verify-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-dark);
  overflow: hidden;
  margin-bottom: 0;
}

.verify-card-header {
  display: flex; align-items: flex-start; gap: 1.25rem;
  background: var(--navy);
  padding: 2rem 2.5rem;
}
.verify-card-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(201,168,76,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.verify-card-icon i { font-size: 1.4rem; color: var(--gold); }
.verify-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); margin: 0 0 0.4rem;
}
.verify-card-subtitle {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  margin: 0; line-height: 1.6;
}
.verify-card-subtitle code {
  background: rgba(201,168,76,0.2);
  color: var(--gold-light);
  padding: 0.1rem 0.4rem; border-radius: 4px;
  font-size: 0.85rem;
}

.verify-form {
  padding: 2.5rem;
}
.verify-input-group { margin-bottom: 1.5rem; }

.verify-input-wrap { position: relative; }
.verify-input-icon {
  position: absolute; left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-light); font-size: 1rem;
  pointer-events: none;
}
.verify-input {
  padding: 1rem 1rem 1rem 2.8rem;
  font-size: 1.05rem;
  font-family: 'Courier New', monospace;
  border: 2px solid #DDE2EA;
  border-radius: var(--radius-sm);
  width: 100%;
  color: var(--navy);
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.verify-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.12);
  outline: none;
}
.verify-prefill-note {
  margin-top: 0.5rem;
  font-size: 0.8rem; color: var(--gold-dark);
  display: flex; align-items: center;
}
.verify-input-hint {
  margin-top: 0.5rem;
  font-size: 0.8rem; color: var(--text-light); line-height: 1.5;
}

.btn-verify-submit {
  width: 100%;
  padding: 1rem;
  background: var(--navy);
  color: var(--gold-light);
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.btn-verify-submit:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ── How Verify Cards ───────────────────────────────────────── */
.how-verify-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: var(--transition);
  text-align: center;
}
.how-verify-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.hvc-step {
  font-family: var(--font-heading);
  font-size: 3.5rem; font-weight: 800;
  color: rgba(11,29,58,0.06);
  line-height: 1;
  position: absolute; top: 1rem; right: 1.25rem;
}
.hvc-icon {
  width: 60px; height: 60px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.hvc-icon i { font-size: 1.5rem; color: var(--gold); }
.hvc-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.hvc-text  { font-size: 0.87rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1rem; flex: 1; }
.hvc-tag   {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--gold-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}

/* ── Status Guide Cards ─────────────────────────────────────── */
.status-guide-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: 100%;
  border-top: 4px solid transparent;
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}
.status-guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.status-valid   { border-top-color: #22C55E; }
.status-revoked { border-top-color: #F97316; }
.status-tampered{ border-top-color: #EAB308; }
.status-invalid { border-top-color: #EF4444; }

.sgc-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.85rem;
}
.status-valid    .sgc-icon { background: #F0FFF4; }
.status-valid    .sgc-icon i { color: #22C55E; font-size: 1.3rem; }
.status-revoked  .sgc-icon { background: #FFF7ED; }
.status-revoked  .sgc-icon i { color: #F97316; font-size: 1.3rem; }
.status-tampered .sgc-icon { background: #FFFBEB; }
.status-tampered .sgc-icon i { color: #D97706; font-size: 1.3rem; }
.status-invalid  .sgc-icon { background: #FFF5F5; }
.status-invalid  .sgc-icon i { color: #EF4444; font-size: 1.3rem; }

.sgc-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.65rem; border-radius: 4px;
  margin-bottom: 0.6rem;
}
.status-valid    .sgc-badge { background: #F0FFF4; color: #166534; }
.status-revoked  .sgc-badge { background: #FFF7ED; color: #9A3412; }
.status-tampered .sgc-badge { background: #FFFBEB; color: #92400E; }
.status-invalid  .sgc-badge { background: #FFF5F5; color: #9B1C1C; }

.sgc-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.sgc-text  { font-size: 0.84rem; color: var(--text-light); line-height: 1.65; margin: 0; }

/* ── Security Section ───────────────────────────────────────── */
.verify-security-section {
  background: var(--navy);
  padding: 50px 0;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.security-title { font-family: var(--font-heading); font-size: 1.4rem; color: var(--white); margin-bottom: 0.75rem; }
.security-body  { font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 1.8; margin: 0; }
.security-body strong { color: var(--gold-light); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.verify-faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.5rem;
  font-size: 0.92rem; font-weight: 600; color: var(--navy);
  text-align: left; cursor: pointer;
  transition: var(--transition);
  gap: 1rem;
}
.faq-question:hover { background: var(--cream); color: var(--gold-dark); }
.faq-chevron { transition: transform 0.3s ease; flex-shrink: 0; font-size: 0.75rem; color: var(--gold); }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.5rem 1.1rem;
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.75;
  border-top: 1px solid var(--cream-dark);
}

/* ── Cert Code Display (in hero) ────────────────────────────── */
.cert-code-display {
  background: rgba(201,168,76,0.15);
  color: var(--gold-light);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: 'Courier New', monospace;
}

/* ── Result Section ─────────────────────────────────────────── */
.verify-result-section { padding: 50px 0 30px; }

/* Status Banner */
.result-status-banner {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.result-status-valid    { background: #F0FFF4; border-color: #BBF7D0; }
.result-status-revoked  { background: #FFF7ED; border-color: #FED7AA; }
.result-status-tampered { background: #FFFBEB; border-color: #FCD34D; }
.result-status-not_found{ background: #FFF5F5; border-color: #FED7D7; }

.rsb-icon-wrap {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.result-status-valid     .rsb-icon-wrap { background: #DCFCE7; color: #16A34A; }
.result-status-revoked   .rsb-icon-wrap { background: #FFEDD5; color: #EA580C; }
.result-status-tampered  .rsb-icon-wrap { background: #FEF3C7; color: #D97706; }
.result-status-not_found .rsb-icon-wrap { background: #FEE2E2; color: #DC2626; }

.rsb-label {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.3rem;
}
.result-status-valid     .rsb-label { color: #15803D; }
.result-status-revoked   .rsb-label { color: #9A3412; }
.result-status-tampered  .rsb-label { color: #92400E; }
.result-status-not_found .rsb-label { color: #991B1B; }

.rsb-message { font-size: 0.92rem; line-height: 1.65; }
.result-status-valid     .rsb-message { color: #166534; }
.result-status-revoked   .rsb-message { color: #7C2D12; }
.result-status-tampered  .rsb-message { color: #78350F; }
.result-status-not_found .rsb-message { color: #7F1D1D; }

.rsb-checkmark {
  margin-left: auto; flex-shrink: 0;
  width: 40px; height: 40px;
  background: #16A34A; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem;
}

/* Result Card */
.result-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.result-card-header {
  background: var(--navy);
  padding: 1.5rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.rch-left  { display: flex; align-items: center; gap: 1rem; }
.rch-logo img { height: 36px; width: auto; }
.rch-org     { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.rch-tagline { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

.rch-status-badge {
  display: flex; align-items: center;
  padding: 0.4rem 1rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.result-status-valid-badge    { background: #DCFCE7; color: #15803D; }
.result-status-revoked-badge  { background: #FFEDD5; color: #9A3412; }
.result-status-tampered-badge { background: #FEF3C7; color: #92400E; }

.result-card-body { padding: 2rem; }

/* Details Grid */
.result-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.rdg-item {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--cream-dark);
  border-right: 1px solid var(--cream-dark);
}
.rdg-item:nth-child(even) { border-right: none; }
.rdg-item:last-child, .rdg-item:nth-last-child(2):not(.rdg-full) { border-bottom: none; }
.rdg-full { grid-column: 1 / -1; border-right: none; }

.rdg-label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.35rem;
  display: flex; align-items: center;
}
.rdg-label i { color: var(--gold); margin-right: 0.3rem; }

.rdg-value   { font-size: 0.95rem; color: var(--navy); font-weight: 500; }
.rdg-name    { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.rdg-course  { font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.rdg-mono    { font-family: 'Courier New', monospace; font-size: 1rem; font-weight: 700; color: var(--gold-dark); letter-spacing: 0.08em; }
.rdg-active  { color: #16A34A; font-weight: 600; }
.rdg-expired { color: #DC2626; }
.rdg-expired-tag {
  display: inline-block; margin-left: 0.5rem;
  background: #FEE2E2; color: #DC2626;
  padding: 0.1rem 0.5rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700;
}
.rdg-grade-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15); color: var(--gold-dark);
  padding: 0.25rem 0.75rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 700;
}

/* Hash Block */
.hash-block {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.hash-block-header {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}
.hash-block-header i { color: var(--gold); }
.hash-verified-tag {
  margin-left: auto;
  background: #DCFCE7; color: #15803D;
  padding: 0.15rem 0.65rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0;
}
.hash-failed-tag {
  margin-left: auto;
  background: #FEF3C7; color: #92400E;
  padding: 0.15rem 0.65rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0;
}
.hash-block-value {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem; color: var(--gold-light);
  word-break: break-all; line-height: 1.8;
  letter-spacing: 0.04em;
}
.hash-block-note {
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  margin-top: 0.75rem; line-height: 1.6;
}

/* Tamper / Revoke Warning */
.tamper-warning {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #FFFBEB; border: 1px solid #FCD34D;
  border-radius: var(--radius-md); padding: 1.25rem;
}
.tamper-warning i { font-size: 1.5rem; color: #D97706; flex-shrink: 0; margin-top: 2px; }
.tamper-warning strong { display: block; font-size: 0.95rem; color: #92400E; margin-bottom: 0.35rem; }
.tamper-warning p  { font-size: 0.87rem; color: #78350F; line-height: 1.7; margin: 0; }
.tamper-warning a  { color: #92400E; text-decoration: underline; }
.revoke-warning    { background: #FFF7ED; border-color: #FED7AA; }
.revoke-warning i  { color: #F97316; }
.revoke-warning strong { color: #9A3412; }
.revoke-warning p  { color: #7C2D12; }

/* Result Card Footer */
.result-card-footer {
  background: var(--cream);
  padding: 1.25rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--cream-dark);
  flex-wrap: wrap; gap: 0.75rem;
}
.rcf-verified-time { font-size: 0.82rem; color: var(--text-light); }
.rcf-verified-time i { color: var(--gold); }
.rcf-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Not Found Card */
.result-notfound-card {
  background: var(--white);
  border: 2px solid #FED7D7;
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.nfc-icon { font-size: 3.5rem; color: #EF4444; opacity: 0.4; margin-bottom: 1rem; }
.nfc-icon i { display: block; }
.nfc-title  { font-family: var(--font-heading); font-size: 1.6rem; color: var(--navy); margin-bottom: 0.75rem; }
.nfc-searched {
  font-family: monospace; font-size: 0.9rem;
  background: #FFF5F5; color: #9B1C1C;
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  display: inline-block; margin-bottom: 1.25rem;
}
.nfc-searched code { font-weight: 700; }
.nfc-body   { font-size: 0.92rem; color: var(--text-mid); margin-bottom: 1rem; }
.nfc-reasons {
  list-style: none; padding: 0; text-align: left;
  max-width: 460px; margin: 0 auto 1.75rem;
}
.nfc-reasons li {
  font-size: 0.88rem; color: var(--text-mid);
  padding: 0.4rem 0; display: flex; align-items: flex-start;
}
.nfc-reasons i { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.nfc-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Verification Log Note */
.verify-log-note {
  background: var(--cream); border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  font-size: 0.82rem; color: var(--text-light);
  display: flex; align-items: center; gap: 0.5rem;
  border-left: 3px solid var(--gold);
  margin-bottom: 0;
}
.verify-log-note i { color: var(--gold); flex-shrink: 0; }
.verify-log-note a { color: var(--navy); font-weight: 600; }

/* ── Certificate View Page ──────────────────────────────────── */
.cert-view-section { padding: 50px 0 60px; background: var(--cream); }

.cert-document {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 80px rgba(11,29,58,0.2);
  overflow: hidden;
  margin-bottom: 2rem;
}

.cert-outer-frame {
  padding: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 50%, var(--gold) 100%);
}
.cert-inner-frame {
  background: var(--white);
  padding: 3rem;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}
/* Subtle background watermark pattern */
.cert-inner-frame::before {
  content: 'VP';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-heading);
  font-size: 18rem; font-weight: 800;
  color: rgba(11,29,58,0.025);
  pointer-events: none; line-height: 1;
  z-index: 0;
}
.cert-inner-frame > * { position: relative; z-index: 1; }

.cert-header { text-align: center; margin-bottom: 2rem; }
.cert-logo   { height: 60px; width: auto; margin-bottom: 0.75rem; }
.cert-logo-fallback {
  font-family: var(--font-heading); font-size: 1.6rem;
  font-weight: 800; color: var(--navy);
  display: block; margin-bottom: 0.5rem;
}
.cert-org-name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.cert-org-tagline { font-size: 0.8rem; color: var(--text-light); letter-spacing: 0.1em; margin-top: 0.25rem; }

.cert-divider-gold {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0;
}
.cert-divider-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.cert-divider-diamond {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--gold); border-radius: 4px;
  transform: rotate(45deg);
  display: flex; align-items: center; justify-content: center;
}
.cert-divider-diamond i { transform: rotate(-45deg); color: var(--white); font-size: 0.7rem; }

.cert-type {
  text-align: center;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}
.cert-presented { text-align: center; font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.75rem; }

.cert-student-name {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cert-body-text { text-align: center; font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.75rem; }

.cert-course-name {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700; color: var(--navy-mid);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.cert-category-tag {
  text-align: center;
  font-size: 0.8rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.cert-grade-block {
  text-align: center; margin-top: 0.75rem;
}
.cert-grade-label { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; margin-right: 0.5rem; }
.cert-grade-value {
  display: inline-block;
  background: rgba(201,168,76,0.15); color: var(--gold-dark);
  padding: 0.25rem 1rem; border-radius: 50px;
  font-size: 0.95rem; font-weight: 700;
}

.cert-footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: end;
  margin-top: 1rem;
}
.cert-footer-col { display: flex; flex-direction: column; }

.cert-dates { gap: 0.75rem; }
.cert-date-item {}
.cert-date-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); }
.cert-date-value { font-size: 0.95rem; font-weight: 600; color: var(--navy); }

.cert-signature { align-items: center; text-align: center; }
.cert-sig-line  { width: 180px; height: 1px; background: var(--navy); margin-bottom: 0.5rem; }
.cert-sig-name  { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.cert-sig-title { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; }
.cert-sig-org   { font-size: 0.8rem; color: var(--gold-dark); font-weight: 600; }

.cert-qr { align-items: flex-end; }
.cert-qr-image {
  width: 90px; height: 90px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm); padding: 4px;
}
.cert-qr-placeholder {
  width: 90px; height: 90px;
  border: 2px dashed var(--cream-dark);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.cert-qr-placeholder i { font-size: 2.5rem; color: var(--cream-dark); }
.cert-qr-label { font-size: 0.68rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.35rem; }

.cert-id-strip {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
  display: flex; flex-wrap: wrap; gap: 1rem;
}
.cert-id-item { display: flex; gap: 0.5rem; align-items: baseline; flex-wrap: wrap; }
.cert-id-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-light); white-space: nowrap; }
.cert-id-value { font-family: monospace; font-size: 0.82rem; font-weight: 700; color: var(--gold-dark); }
.cert-id-hash  { font-family: monospace; font-size: 0.6rem; color: var(--text-light); word-break: break-all; }
.cert-id-url   { font-size: 0.75rem; color: var(--navy); font-weight: 600; }

.cert-view-actions {
  display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 1.5rem;
}

.cert-verified-note {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: #F0FFF4; border: 1px solid #BBF7D0;
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  font-size: 0.85rem; color: #166534; line-height: 1.6;
}
.cvn-icon { font-size: 1.2rem; color: #16A34A; flex-shrink: 0; margin-top: 1px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .verify-input-section { margin-top: -20px; }
  .verify-card-header { flex-direction: column; }
  .result-details-grid { grid-template-columns: 1fr; }
  .rdg-item { border-right: none; }
  .cert-footer-row { grid-template-columns: 1fr 1fr; }
  .cert-signature { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .verify-form { padding: 1.5rem; }
  .verify-card-header { padding: 1.5rem; }
  .result-status-banner { flex-direction: column; }
  .result-card-header { flex-direction: column; }
  .result-card-footer { flex-direction: column; align-items: flex-start; }
  .cert-inner-frame { padding: 1.5rem; }
  .cert-student-name { font-size: 1.6rem; }
  .cert-footer-row { grid-template-columns: 1fr; }
  .cert-qr { align-items: flex-start; }
  .cert-id-strip { flex-direction: column; }
}

/* ── Gallery Strip ────────────────────────────────────────── */
.gallery-card {
  position: relative; border-radius: var(--radius-md);
  overflow: hidden; height: 220px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.gallery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem; background: linear-gradient(to top, rgba(7,18,37,0.85), transparent);
  color: var(--white); font-weight: 600; font-size: 0.9rem;
}

/* ── Hero Real Image Frame ──────────────────────────────── */
.hero-img-frame {
  position: relative; height: 420px;
  border-radius: var(--radius-lg); overflow: hidden;
}
.hero-real-img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(201,168,76,0.4);
}
