/* WorkRef NG — Public Pages Stylesheet (light theme override) */

/* ============================================================
   Override dark-theme CSS variables with light-theme values
   ============================================================ */
:root {
  --primary:       #1a2d5a;
  --primary-light: #2d4a8a;
  --accent:        #16a34a;
  --accent-hover:  #15803d;
  --danger:        #dc2626;
  --warning:       #d97706;
  --success:       #16a34a;
  --bg:            #ffffff;
  --card:          #ffffff;
  --card-hover:    #f8fafc;
  --text:          #0f172a;
  --text-muted:    #64748b;
  --border:        #e2e8f0;
  --input-bg:      #f8fafc;
  --shadow:        0 4px 20px rgba(0,0,0,0.08);
  --radius:        12px;
  --transition:    all 0.3s ease;
}

body { background: #fff; color: #0f172a; }

/* ============================================================
   Public Page Wrapper
   ============================================================ */
.public-page {
  min-height: 100vh;
  background: #fff;
}

/* ============================================================
   Navigation Header
   ============================================================ */
.pub-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 52px;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
}

.pub-header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0px auto;
  flex-grow:1;
}

.pub-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.pub-logo-icon { width: 38px; height: 38px; }

.pub-logo-text { display: flex; flex-direction: column; }

.pub-logo-name {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.3px;
}
.pub-logo-name span { color: #16a34a; }

.pub-logo-tagline {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 3px;
  font-weight: 500;
}

.pub-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.pub-nav a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.pub-nav a:hover,
.pub-nav a.active { color: #16a34a; }

.btn-signin {
  background: #0d1b2a;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-signin:hover { background: #1a2d4a; }

/* ============================================================
   Hero Section
   ============================================================ */
.pub-hero-section {
  position: relative;
  overflow: hidden;
  background-color: #011B3B;
}


.pub-hero-grid {
  max-width: 1380px;
  margin: 0 auto;
  padding: 64px 50px 56px;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  background: url(/assets/images/hero-bg.png);
  background-size: cover;
  background-position: 95% 44%;
  background-repeat: no-repeat;

}

/* Hero — Left Text */
.hero-headline {
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  line-height: 1.13;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
}
.hero-headline .green {
  color: #4ade80;
  display: block;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 390px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.btn-hero-green {
  background: #16a34a;
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-hero-green:hover { background: #15803d; transform: translateY(-1px); }

.btn-hero-outline {
  background: transparent;
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.36);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-hero-outline:hover { border-color: rgba(255,255,255,0.78); background: rgba(255,255,255,0.06); }

.hero-badges {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.hero-badge svg { width: 16px; height: 16px; color: #4ade80; flex-shrink: 0; }

/* Hero — Globe */
.globe-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-svg {
  width: 320px;
  height: 320px;
  filter:
    drop-shadow(0 0 30px rgba(74,222,128,0.18))
    drop-shadow(0 0 60px rgba(20,70,160,0.32));
}

/* Hero — Country Panel */
.country-panel {
  background: rgba(255,255,255,0.065);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 16px;
  padding: 20px 18px;
}

.country-panel-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.country-panel-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,0.44);
  margin-bottom: 14px;
  line-height: 1.5;
}

.country-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.country-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
  cursor: pointer;
}
.country-row:hover { background: rgba(255,255,255,0.09); }

.country-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.country-flag { 
  border: 1px solid white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
}

.country-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
}

.country-chevron {
  color: rgba(255,255,255,0.3);
  font-size: 18px;
  line-height: 1;
}

.country-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
  cursor: pointer;
  transition: opacity 0.15s;
}
.country-all:hover { opacity: 0.8; }

/* ============================================================
   Features Row
   ============================================================ */
.pub-features {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 50px 52px;
}

.pub-features-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; color: #16a34a; }

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 5px;
}

.feature-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
}

/* ============================================================
   Leadership Section
   ============================================================ */
.pub-leadership {
  background: #ffffff;
  padding: 76px 52px;
}

.pub-leadership-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

.leadership-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.leadership-heading {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1.2px;
}

.leadership-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 28px;
}

.btn-meet-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #16a34a;
  color: #fff;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-meet-team:hover { background: #15803d; }

.leader-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.leader-card { 
  text-align: center; 
  border: 1px solid lightgrey;
  border-radius: 14px;
}

.leader-photo {
  width: 100%;
  border-radius: 14px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  overflow: hidden;
  margin-bottom: 12px;
}

.leader-photo-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #c8d9ee 0%, #b4c9e8 55%, #a8bedd 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.leader-photo-bg svg { width: 80%; height: 88%; }

.leader-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.leader-title {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 9px;
  line-height: 1.4;
}

.leader-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #0a66c2;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 12px;
}
.leader-linkedin:hover { background: #084fa0; }
.leader-linkedin svg { width: 14px; height: 14px; color: #fff; }

/* ============================================================
   Partners Strip
   ============================================================ */
.pub-partners {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 30px 52px;
}

.pub-partners-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.partners-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  max-width: 150px;
  line-height: 1.5;
  flex-shrink: 0;
  border-right: 1px solid #e2e8f0;
  padding-right: 36px;
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  flex: 1;
}

.partner-item {
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.partner-item:hover { color: #64748b; }

/* ============================================================
   Inner Page Content
   ============================================================ */
.public-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 52px;
}

.public-hero {
  text-align: center;
  padding: 60px 32px 52px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  margin-bottom: 40px;
  border: 1px solid #e2e8f0;
}

.public-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.public-hero p {
  font-size: 16px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 28px;
}

/* Step cards */
.step-number { background: #16a34a; color: #fff; }
.step-card { border-color: #e2e8f0; }
.step-card:hover { border-color: #16a34a; }

/* Timeline */
.timeline::before { background: #e2e8f0; }
.timeline-content { background: #f8fafc; border-color: #e2e8f0; }
.timeline-dot { background: #fff; border-color: #e2e8f0; }
.timeline-dot.completed { border-color: #16a34a; background: #dcfce7; }
.timeline-dot.active { border-color: #16a34a; background: #dcfce7; }

/* Cards in light theme */
.card { background: #fff; border: 1px solid #e2e8f0; }
.card:hover { border-color: #16a34a; }

/* Alerts */
.alert-info    { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; }
.alert-danger  { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }

/* Badges */
.badge-success { background: #dcfce7; color: #15803d; }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-danger  { background: #fee2e2; color: #b91c1c; }
.badge-info    { background: #dcfce7; color: #15803d; }
.badge-muted   { background: #f1f5f9; color: #64748b; }

/* Table */
th { color: #64748b; border-bottom-color: #e2e8f0; }
td { color: #0f172a; border-bottom-color: #f1f5f9; }
tr:hover td { background: #f8fafc; }

/* Forms */
.form-input, .form-select, .form-textarea {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}
.form-input::placeholder,
.form-textarea::placeholder { color: #94a3b8; }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}

/* Code block */
.code-block { background: #f8fafc; border-color: #e2e8f0; color: #16a34a; }

/* Scrollbar */
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Progress bar */
.progress-bar { background: #e2e8f0; }

/* ============================================================
   Footer
   ============================================================ */
.pub-footer { background: #0d1b2a; }

.pub-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 52px 44px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.pub-footer-brand .pub-logo-name { color: #fff; }
.pub-footer-brand .pub-logo-tagline { color: rgba(255,255,255,0.38); }

.pub-footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.44);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 240px;
}

.pub-footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.pub-footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.44);
  text-decoration: none;
  margin-bottom: 11px;
  transition: color 0.2s;
}
.pub-footer-col a:hover { color: #4ade80; }

.pub-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  flex-wrap: wrap;
  gap: 12px;
}

.pub-footer-bottom a {
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color 0.2s;
}
.pub-footer-bottom a:hover { color: rgba(255,255,255,0.65); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .pub-hero-grid {
    grid-template-columns: 1fr 300px;
    gap: 20px;
  }
  .country-panel { display: none; }
  .globe-svg { width: 280px; height: 280px; }
  .pub-footer-grid { grid-template-columns: 1fr 1fr; }
  .pub-nav { display: none; }

}

@media (max-width: 900px) {
  .pub-leadership-inner { grid-template-columns: 1fr; }
  .leader-cards { grid-template-columns: repeat(4, 1fr); }
  .pub-features-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .pub-header { padding: 0 20px; }

  .pub-hero-grid {
    grid-template-columns: 1fr;
    padding: 40px 24px 44px;
  }
  .globe-wrapper { display: none; }
  .hero-headline { font-size: 32px; }
  .hero-sub { max-width: 100%; }

  .pub-features { padding: 40px 24px; }
  .pub-features-inner { grid-template-columns: 1fr; gap: 24px; }

  .pub-leadership { padding: 52px 24px; }
  .leader-cards { grid-template-columns: repeat(2, 1fr); }

  .pub-partners { padding: 24px; }
  .pub-partners-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .partners-label { border-right: none; border-bottom: 1px solid #e2e8f0; padding-right: 0; padding-bottom: 16px; max-width: 100%; }

  .pub-footer-grid { grid-template-columns: 1fr; padding: 40px 24px 28px; }
  .pub-footer-bottom { padding: 16px 24px; }

  .public-content { padding: 32px 20px; }
  .public-hero { padding: 40px 20px 36px; }
  .public-hero h1 { font-size: 28px; }
}

@media (max-width: 480px) {
  .leader-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-badges { gap: 14px; }
}

/* ============================================================
   Hamburger Button
   ============================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.15s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: #f1f5f9; }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-hamburger { display: flex; }
}

/* ============================================================
   Mobile Navigation Drawer
   ============================================================ */
.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.38);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.mob-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.mob-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 288px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 28px rgba(0,0,0,0.13);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.mob-nav.is-open { transform: translateX(0); }

.mob-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
  min-height: 70px;
}

.mob-nav-close {
  width: 34px;
  height: 34px;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  flex-shrink: 0;
  transition: background 0.15s;
}
.mob-nav-close:hover { background: #e2e8f0; }
.mob-nav-close svg { width: 16px; height: 16px; }

.mob-nav-links {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
}

.mob-nav-links a {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  border-bottom: 1px solid #f8fafc;
  transition: background 0.15s, color 0.15s;
}
.mob-nav-links a:hover { background: #f8fafc; }
.mob-nav-links a.active { color: #16a34a; background: #f0fdf4; font-weight: 600; }

.mob-nav-foot {
  padding: 20px;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.mob-nav-foot .btn-signin {
  display: block;
  text-align: center;
  width: 100%;
}

/* ============================================================
   Country Float Button (homepage only, ≤1100px)
   ============================================================ */
.country-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 150;
  display: none;
}

@media (max-width: 1100px) {
  .country-float { display: block; }
}

.country-float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(22,163,74,0.42);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.country-float-btn:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(22,163,74,0.5);
}
.country-float-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   Country Bottom Sheet Modal
   ============================================================ */
.cmodal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.42);
  z-index: 151;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cmodal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.cmodal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0d1b2a;
  border-radius: 20px 20px 0 0;
  z-index: 152;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  max-height: 80vh;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom, 16px);
}
.cmodal.is-open { transform: translateY(0); }

.cmodal-drag {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  margin: 12px auto 0;
}

.cmodal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 6px;
}

.cmodal-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.cmodal-close {
  width: 30px;
  height: 30px;
  border: none;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.15s;
  flex-shrink: 0;
}
.cmodal-close:hover { background: rgba(255,255,255,0.2); }
.cmodal-close svg { width: 14px; height: 14px; }

.cmodal-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.44);
  padding: 0 20px 10px;
  margin: 0;
}

.cmodal-body {
  padding: 0 12px 20px;
}
