:root {
  --primary-blue: #1548b7;
  --secondary-blue: #3462ae;
  --accent-cyan: #32b7ec;
  --dark-navy: #0f172a;
  --heading-dark: #212b36;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  color: var(--heading-dark);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Accessibility & Utility */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(50, 183, 236, 0.12);
  color: var(--primary-blue);
  border: 1px solid rgba(50, 183, 236, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  font-family: var(--font-family);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(21, 72, 183, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #274d8e, #113893);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 72, 183, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--dark-navy);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-light);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-round-icon {
  width: 2rem;
  height: 2rem;
  background: #ffffff;
  color: var(--primary-blue);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Header & Navbar */
.navbar-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--dark-navy);
}

/* High Visibility Rounded Badge for Logo (Zoomed & Crisp) */
.logo-box {
  width: 62px;
  height: 62px;
  background: #1877f2;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo-wrap:hover .logo-box {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.55);
}

.logo-box-footer {
  width: 54px;
  height: 54px;
  border-radius: 12px;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Zoom the graphic inside the container to make V3 mark bold and prominent */
  transform: scale(1.42);
  transform-origin: center center;
}

/* Premium Organic Morphing Stage: V3 -> VAN -> Vantri (Fast, Crisp, Run Once) */
.brand-morph-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 52px;
  min-width: 175px;
  user-select: none;
}

/* Stage V3: Solid Crisp Glyph */
.stage-v3 {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  transition: transform 0.25s ease-out, opacity 0.2s ease, filter 0.2s ease;
  pointer-events: none;
}

.v3-glyph {
  font-size: 2.15rem;
  font-weight: 900;
  color: #000000;
  letter-spacing: -1.5px;
  font-family: var(--font-family);
  display: inline-block;
}

/* Panel 2 Dissolve State */
.stage-v3.dissolving {
  opacity: 0;
  transform: translateY(-50%) scale(1.1);
  filter: blur(4px);
}

.stage-v3.hidden {
  visibility: hidden;
  opacity: 0;
  display: none;
}

/* Word Container */
.stage-word {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: baseline;
  font-size: 2.2rem;
  font-weight: 850;
  color: #000000;
  letter-spacing: -0.6px;
  font-family: var(--font-family);
}

/* Individual letter transitions - Fast & Snappy */
.m-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px) scale(0.95);
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.18s ease;
  color: #000000;
}

.m-char.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Capital V styling */
.m-v {
  font-weight: 900;
  margin-right: -1px;
}

/* Natural Letter 'i' with naturally attached dot in font body */
.m-i-full {
  display: inline-block;
  font-weight: 850;
  line-height: 1;
  color: #000000;
  margin-left: 0.5px;
}

/* Final Locked State (Fixed in place permanently) */
.stage-word.locked .m-char {
  color: #000000;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #3a416f;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-navy);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at 10% 20%, rgba(50, 183, 236, 0.08) 0%, rgba(21, 72, 183, 0.03) 90%);
  position: relative;
  overflow: hidden;
}

.hero-banner {
  background: linear-gradient(135deg, #091e42 0%, #153e75 60%, #1b4b9b 100%);
  border-radius: 24px;
  padding: 4rem 3.5rem;
  color: #ffffff;
  position: relative;
  box-shadow: 0 20px 40px -15px rgba(21, 72, 183, 0.3);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
  overflow: hidden;
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(50, 183, 236, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.15;
  font-weight: 800;
  margin: 1.25rem 0 1rem;
}

.hero-content h1 span {
  color: var(--accent-cyan);
}

.hero-desc {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-metrics {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.metric-item h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.metric-item p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.v3-pillars-card {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 2.2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease;
}

.pillar-item:first-of-type {
  padding-top: 0.5rem;
}

.pillar-item:last-child {
  border-bottom: none;
  padding-bottom: 0.25rem;
}

.pillar-item:hover {
  transform: translateX(4px);
}

/* Neat Capsule Pill Badge for V1, V2, V3 (matching screenshot) */
.pillar-badge {
  width: 46px;
  height: 60px;
  background: linear-gradient(180deg, #32b7ec 0%, #1a73e8 55%, #1557bf 100%);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.22);
  position: relative;
  overflow: hidden;
}

/* Subtle top gloss highlight for crisp modern 3D depth */
.pillar-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  pointer-events: none;
}

.pillar-text h4 {
  font-size: 1.3rem;
  font-weight: 750;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  letter-spacing: -0.2px;
}

.pillar-text p {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* Infinite Marquee Section */
.marquee-section {
  padding: 3rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.marquee-title {
  text-align: center;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2rem;
}

.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
  animation: scrollMarquee 35s linear infinite;
  align-items: center;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-card {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 0.75rem 1.4rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.marquee-card:hover {
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 6px 16px rgba(21, 72, 183, 0.12);
  transform: translateY(-2px);
}

.marquee-card svg, .marquee-card img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.marquee-card span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--heading-dark);
}

/* Workshop Grid Section */
.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--heading-dark);
  margin-top: 0.75rem;
  line-height: 1.25;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.workshop-card {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.workshop-card:hover {
  transform: translateY(-6px);
  border-color: rgba(50, 183, 236, 0.5);
  box-shadow: 0 16px 32px rgba(21, 72, 183, 0.12);
}

.card-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}

.workshop-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--heading-dark);
}

.workshop-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.workshop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.workshop-tag {
  background: var(--bg-light);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.price-pill {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 1.1rem;
}

/* Saas & Tech Rental Section */
.tech-rental-card {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.tech-rental-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary-blue);
  box-shadow: 0 16px 30px rgba(52, 98, 174, 0.15);
}

.rental-badge {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-saas {
  background: #e0f2fe;
  color: #0284c7;
}

.badge-rent {
  background: #fef3c7;
  color: #d97706;
}

.badge-custom {
  background: #f3e8ff;
  color: #7c3aed;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 0.65rem;
}

.feature-list li svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 550px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalEnter 0.25s ease-out forwards;
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--bg-light);
  color: var(--dark-navy);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--heading-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(21, 72, 183, 0.1);
}

/* Footer */
.footer-section {
  background: var(--dark-navy);
  color: #cbd5e1;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 340px;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #64748b;
}

/* ==========================================================
   Leadership & Founders Section (Side-by-side Desktop, 1-per-view Mobile)
   ========================================================== */
.leadership-section {
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.leadership-carousel-container {
  width: 100%;
  position: relative;
}

/* Side-by-side desktop frame (1fr 1fr) */
.leadership-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

.leader-banner-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #002e99;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(0, 46, 153, 0.28), 0 4px 12px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 380px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px -10px rgba(0, 46, 153, 0.38);
}

/* Standard Split Card Content */
.leader-content-side {
  background: linear-gradient(135deg, #00227a 0%, #0036b3 60%, #0747dc 100%);
  padding: 2.2rem 2.2rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.leader-watermark {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  pointer-events: none;
  color: #ffffff;
  z-index: 1;
}

.leader-badge-pill {
  display: inline-block;
  color: #f43f5e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  position: relative;
  z-index: 2;
}

.leader-headline {
  font-size: clamp(1.4rem, 1.8vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.4px;
  position: relative;
  z-index: 2;
}

.leader-quote {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #dbeafe;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.leader-meta {
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.leader-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.leader-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #93c5fd;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.leader-links {
  display: flex;
  gap: 0.65rem;
}

.leader-links a {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.leader-links a:hover {
  background: #ffffff;
  color: #002e99;
  transform: translateY(-2px);
}

.leader-photo-side {
  position: relative;
  background: #11141a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leader-photo-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.leader-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* Show face from top — works for portrait/headshot images */
  filter: grayscale(100%) contrast(1.12);
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.leader-banner-card:hover .leader-photo-img {
  transform: scale(1.04);
  filter: grayscale(70%) contrast(1.15);
}

.leader-content-side::after {
  content: '';
  position: absolute;
  top: 0;
  right: -45px;
  bottom: 0;
  width: 90px;
  background: linear-gradient(135deg, #00227a 0%, #0036b3 60%, #0747dc 100%);
  transform: skewX(-14deg);
  z-index: 3;
}

/* Mobile Nav Dots */
.leadership-mobile-nav {
  display: none;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.lead-nav-btn {
  width: 28px;
  height: 8px;
  border-radius: 9999px;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lead-nav-btn.active {
  background: #002e99;
  width: 44px;
}

/* Mobile: Exactly 1 Profile Seen at a time with smooth scroll-snap */
@media (max-width: 992px) {
  .leadership-cards-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
  }

  .leadership-cards-grid::-webkit-scrollbar {
    display: none;
  }

  /* Keep the same horizontal split layout as desktop — text left | photo right */
  .leader-banner-card {
    flex: 0 0 calc(100vw - 2rem); /* Full viewport width minus padding */
    min-width: calc(100vw - 2rem);
    scroll-snap-align: start;
    grid-template-columns: 1.1fr 0.9fr; /* Keep side-by-side split */
    min-height: 420px;
    height: auto;
  }

  .leader-content-side {
    padding: 1.8rem 1.4rem;
  }

  .leader-headline {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
  }

  .leader-quote {
    font-size: 0.88rem;
  }

  /* Keep diagonal skew on mobile */
  .leader-content-side::after {
    display: block;
  }

  /* Photo fills the right half of the card completely */
  .leader-photo-side {
    height: auto;
    min-height: 420px;
  }

  .leader-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .leadership-mobile-nav {
    display: flex;
  }
}

/* Responsive Breakpoints & Device Adaptability */
@media (max-width: 1024px) {
  .hero-banner {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    gap: 2rem;
  }
  
  .v3-pillars-card {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 1.25rem;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Very small phones (< 480px): tighten leadership card spacing */
@media (max-width: 480px) {
  .leader-banner-card {
    flex: 0 0 calc(100vw - 1.5rem);
    min-width: calc(100vw - 1.5rem);
    min-height: 360px;
    grid-template-columns: 1.05fr 0.95fr;
  }

  .leader-content-side {
    padding: 1.25rem 1rem;
  }

  .leader-badge-pill {
    font-size: 0.68rem;
    letter-spacing: 1.2px;
  }

  .leader-headline {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .leader-quote {
    font-size: 0.8rem;
    margin-bottom: 0.9rem;
  }

  .leader-name {
    font-size: 0.8rem;
  }

  .leader-role {
    font-size: 0.7rem;
  }

  .leader-photo-side {
    min-height: 360px;
  }
}

/* ==========================================================================
   Certificate Portal & Verification System
   ========================================================================== */
.cert-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  position: relative;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 6rem;
}

.cert-search-card {
  max-width: 820px;
  margin: 0 auto 3rem;
  background: #ffffff;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 16px 36px -10px rgba(0, 46, 153, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(21, 72, 183, 0.15);
}

.cert-input-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cert-input-wrap {
  position: relative;
  flex: 1;
}

.cert-input-wrap i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.1rem;
}

.cert-input-field {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3.2rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading-dark);
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  background: #f8fafc;
}

.cert-input-field:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(21, 72, 183, 0.12);
}

.cert-sample-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cert-chip {
  display: inline-block;
  background: #eff6ff;
  color: var(--primary-blue);
  border: 1px solid #bfdbfe;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cert-chip:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  transform: translateY(-1px);
}

/* Alert Not Found */
.cert-not-found {
  display: none;
  max-width: 820px;
  margin: 0 auto 2.5rem;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  color: #9f1239;
}

.cert-not-found-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.cert-not-found-icon {
  font-size: 2rem;
  color: #e11d48;
}

/* Verification Result Summary Card */
.cert-result-wrap {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.cert-summary-banner {
  max-width: 1040px;
  margin: 0 auto 2rem;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.8rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cert-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cert-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.cert-summary-item span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.cert-summary-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--heading-dark);
  font-weight: 800;
}

.cert-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ==========================================================================
   High-Resolution Certificate Template Paper
   ========================================================================== */
.cert-preview-scroller {
  width: 100%;
  overflow-x: auto;
  padding: 1.5rem 0.5rem 2rem;
  display: flex;
  justify-content: center;
}

.certificate-paper {
  width: 1040px;
  min-width: 1040px;
  height: 730px;
  background: #ffffff;
  position: relative;
  box-sizing: border-box;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 25px 60px -12px rgba(0, 34, 122, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.08);
  color: #0f172a;
  user-select: text;
  display: flex;
  flex-direction: column;
}

/* Luxury Multi-layer Security Border */
.cert-border-outer {
  width: 100%;
  height: 100%;
  border: 4px solid #00227a;
  padding: 6px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
}

.cert-border-inner {
  width: 100%;
  height: 100%;
  border: 2px solid #d97706; /* Gold inner line */
  padding: 30px 42px 24px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
  overflow: hidden;
}

/* Corner Rosettes / Ornaments */
.cert-corner-tl,
.cert-corner-tr,
.cert-corner-bl,
.cert-corner-br {
  position: absolute;
  width: 44px;
  height: 44px;
  pointer-events: none;
  z-index: 4;
}

.cert-corner-tl { top: -2px; left: -2px; border-top: 6px solid #d97706; border-left: 6px solid #d97706; }
.cert-corner-tr { top: -2px; right: -2px; border-top: 6px solid #d97706; border-right: 6px solid #d97706; }
.cert-corner-bl { bottom: -2px; left: -2px; border-bottom: 6px solid #d97706; border-left: 6px solid #d97706; }
.cert-corner-br { bottom: -2px; right: -2px; border-bottom: 6px solid #d97706; border-right: 6px solid #d97706; }

/* Subtle Background Security Watermark */
.cert-watermark-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  pointer-events: none;
  opacity: 0.045;
  z-index: 1;
}

/* Header Area */
.cert-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 3;
  margin-bottom: 0.5rem;
}

.cert-brand-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cert-logo-box {
  width: 58px;
  height: 58px;
  background: #002e99;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 46, 153, 0.25);
}

.cert-logo-box img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.cert-brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #00227a;
  text-transform: uppercase;
  line-height: 1.1;
}

.cert-brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: #d97706;
  text-transform: uppercase;
}

.cert-id-badge {
  text-align: right;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.cert-id-badge strong {
  display: block;
  font-size: 0.95rem;
  color: #00227a;
  font-family: monospace;
  letter-spacing: 1px;
}

/* Certificate Main Titles */
.cert-main-body {
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 0.4rem 0;
}

.cert-main-headline {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00227a;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.cert-sub-ribbon {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #d97706;
  border-bottom: 1.5px solid #d97706;
  padding-bottom: 2px;
  margin-bottom: 1.1rem;
}

.cert-confer-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.cert-recipient-name {
  font-size: 2.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
  padding: 0.2rem 1.5rem;
  display: inline-block;
  border-bottom: 2.5px solid #00227a;
  margin-bottom: 0.9rem;
  font-family: 'DM Sans', serif;
}

.cert-completion-desc {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.45;
  max-width: 820px;
  margin: 0 auto 0.6rem;
}

.cert-workshop-name-pill {
  font-size: 1.28rem;
  font-weight: 800;
  color: #00227a;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 0.4rem 1.4rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 0.6rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.cert-meta-notes {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.4rem;
}

/* Certificate Footer: Security QR, Seal, 3 Signatures */
.cert-footer-row {
  display: grid;
  grid-template-columns: 190px 140px 1fr;
  align-items: flex-end;
  gap: 1.5rem;
  position: relative;
  z-index: 3;
  padding-top: 0.5rem;
  border-top: 1px dashed #cbd5e1;
}

/* Dynamic QR Box */
.cert-qr-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.cert-qr-box {
  width: 96px;
  height: 96px;
  background: #ffffff;
  padding: 3px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-qr-box svg {
  width: 100%;
  height: 100%;
}

.cert-qr-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #00227a;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
}

/* Gold Official Seal Medallion */
.cert-seal-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cert-seal-svg {
  width: 110px;
  height: 110px;
  filter: drop-shadow(0 3px 6px rgba(180, 83, 9, 0.3));
}

/* 3 Signatures Grid */
.cert-signatures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.cert-sig-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-sig-preview {
  height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 4px;
}

.sig-svg {
  width: 130px;
  height: 46px;
}

.cert-sig-line {
  width: 130px;
  height: 1.5px;
  background: #00227a;
  margin-bottom: 5px;
}

.cert-sig-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.cert-sig-role {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

/* Navigation button highlights */
.nav-cert-btn {
  background: rgba(21, 72, 183, 0.08);
  border: 1px solid rgba(21, 72, 183, 0.2);
  color: var(--primary-blue) !important;
  font-weight: 700 !important;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.nav-cert-btn:hover {
  background: var(--primary-blue);
  color: #ffffff !important;
  border-color: var(--primary-blue);
}

/* Mobile Responsiveness for Certificate section */
@media (max-width: 768px) {
  .cert-input-group {
    flex-direction: column;
  }
  
  .cert-summary-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cert-action-bar {
    width: 100%;
  }

  .cert-action-bar .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Print Rules for Perfect Landscape A4 Export
   ========================================================================== */
@media print {
  @page {
    size: A4 landscape;
    margin: 0;
  }

  body * {
    visibility: hidden;
  }

  header, footer, nav, .cert-search-card, .cert-summary-banner, .modal-overlay, #leadership, #workshops, #tech-rental, #about, #features, .marquee-container {
    display: none !important;
  }

  #printableCertificate, #printableCertificate * {
    visibility: visible;
  }

  #printableCertificate {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 12mm !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .cert-preview-scroller {
    padding: 0 !important;
    overflow: visible !important;
    display: block !important;
  }
}

/* ==========================================================================
   Footer Administrator Login Section
   ========================================================================== */
.footer-admin-section {
  margin: 3rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
}

.footer-admin-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.footer-admin-card:hover {
  border-color: rgba(50, 183, 236, 0.3);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.footer-admin-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-admin-icon {
  width: 48px;
  height: 48px;
  background: rgba(21, 72, 183, 0.25);
  border: 1px solid rgba(50, 183, 236, 0.4);
  color: var(--accent-cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.footer-admin-header h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  letter-spacing: 0.3px;
}

.footer-admin-header p {
  color: #94a3b8;
  font-size: 0.88rem;
  margin-bottom: 0;
}

.footer-admin-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.footer-admin-inputs {
  display: flex;
  flex: 1;
  gap: 0.85rem;
  min-width: 280px;
}

.footer-input-wrap {
  position: relative;
  flex: 1;
}

.footer-input-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.95rem;
}

.footer-input-wrap input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.footer-input-wrap input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(50, 183, 236, 0.15);
}

.footer-admin-btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.footer-admin-error {
  margin-top: 1rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-admin-logged {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

@media (max-width: 768px) {
  .footer-admin-inputs {
    flex-direction: column;
    width: 100%;
  }

  .footer-admin-form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-admin-btn {
    width: 100%;
    justify-content: center;
  }
}


