/* =========================================================
   Tripinsync â€“ Shared Stylesheet
   ========================================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Instrument+Sans:wght@400;500;600&display=swap');

/* ---- CSS Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- CSS Variables ---- */
:root {
  --navy:   #0D1A2E;
  --orange: #0A5E49;
  --orange-light: #0D7A60;
  --offwhite: #F4F2EE;
  --teal:   #0A5E49;
  --green:  #2E9E5B;
  --purple: #6B3FA0;
  --white:  #FFFFFF;
  --gray-100: #F8F8F6;
  --gray-200: #EBEBEB;
  --gray-400: #9A9A9A;
  --gray-600: #555555;
  --gray-800: #222222;

  --font-head: 'Syne', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(13,26,46,0.08);
  --shadow-md: 0 8px 28px rgba(13,26,46,0.12);
  --shadow-lg: 0 20px 60px rgba(13,26,46,0.18);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1180px;
}

body {
  font-family: var(--font-body);
  background: var(--offwhite);
  color: var(--navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

.section-title { color: var(--navy); margin-bottom: 1rem; }
.section-subtitle { color: var(--gray-600); font-size: 1.05rem; max-width: 580px; }

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section ---- */
.section { padding: 96px 0; }
.section--light { background: var(--white); }
.section--gray { background: var(--gray-100); }
.section--navy { background: var(--navy); color: var(--offwhite); }
.section--teal { background: var(--teal); color: var(--white); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(10,94,73, 0.35);
}
.btn-primary:hover {
  background: #b35522;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10,94,73, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: #1a2d4a;
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ---- Navigation (matches home page) ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: var(--navy);
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(13, 26, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  background: transparent;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-signin {
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.nav-signin:hover {
  background: var(--orange-light, #0D7A60);
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0A5E49 50%, var(--navy) 100%);
  background-size: 300% 300%;
  animation: heroGradient 10s ease infinite;
}
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1449824913935-8c6bb4ba3df3?w=1400&q=80') center/cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 8px 18px;
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  z-index: 1;
}
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 500px;
  object-fit: cover;
}
.hero-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--white);
  padding: 40px 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { padding: 16px; }
.stat-number {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number .stat-suffix { color: var(--orange); }
.stat-label { font-size: 0.88rem; color: var(--gray-600); font-weight: 500; }
.stat-divider {
  width: 1px;
  background: var(--gray-200);
  align-self: stretch;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px; height: 56px;
  background: rgba(10,94,73,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
  flex-shrink: 0;
}
.card-icon.teal { background: rgba(10,94,73,0.1); color: var(--teal); }
.card-icon.green { background: rgba(46,158,91,0.1); color: var(--green); }
.card-icon.navy { background: rgba(13,26,46,0.08); color: var(--navy); }
.card-icon.purple { background: rgba(107,63,160,0.1); color: var(--purple); }

/* ---- Feature Grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10,94,73,0.15);
}
.feature-card h4 { margin-bottom: 10px; color: var(--navy); }
.feature-card p { color: var(--gray-600); font-size: 0.93rem; }

/* ---- Problem/Solution Cards ---- */
.problem-grid, .solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border-left: 4px solid #e55353;
  box-shadow: var(--shadow-sm);
}
.solution-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow-sm);
}

/* ---- Service Tabs ---- */
.tabs { margin-bottom: 40px; }
.tab-buttons {
  display: flex;
  gap: 8px;
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 6px;
  width: fit-content;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.tab-btn.active { color: var(--orange); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card h4 { margin-bottom: 8px; }
.service-card p { color: var(--gray-600); font-size: 0.9rem; }

/* ---- Badge Pills ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.badge-live { background: rgba(46,158,91,0.12); color: var(--green); }
.badge-soon { background: rgba(10,94,73,0.12); color: var(--orange); }
.badge-ai { background: rgba(107,63,160,0.12); color: var(--purple); }
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---- Portal / Account Type Cards ---- */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portal-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.portal-card:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.portal-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(13,26,46,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: var(--navy);
}
.portal-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.portal-card p { color: var(--gray-600); font-size: 0.88rem; margin-bottom: 20px; }
.portal-card.featured {
  background: var(--navy);
  color: var(--white);
}
.portal-card.featured p { color: rgba(255,255,255,0.7); }
.portal-card.featured .portal-icon { background: rgba(255,255,255,0.12); color: var(--orange); }

/* ---- Blog Cards ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px; }
.blog-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--gray-400);
}
.blog-tag {
  background: rgba(10,94,73,0.1);
  color: var(--orange);
  padding: 3px 10px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.75rem;
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--navy); }
.blog-card p { color: var(--gray-600); font-size: 0.88rem; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 16px;
  transition: gap var(--transition);
}
.blog-read-more:hover { gap: 10px; }

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--orange);
  opacity: 0.15;
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
}
.testimonial-text {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-role { font-size: 0.8rem; color: var(--gray-400); }
.stars {
  color: #F5A623;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

/* ---- How It Works ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid var(--orange);
}
.step h4 { margin-bottom: 10px; }
.step p { color: var(--gray-600); font-size: 0.92rem; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.78); margin-bottom: 36px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Account Types Horizontal ---- */
.account-types-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.account-type-chip {
  flex-shrink: 0;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
}
.account-type-chip:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}
.account-type-chip svg { color: var(--orange); flex-shrink: 0; }
.account-type-chip span { font-weight: 600; font-size: 0.92rem; }

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--orange); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { appearance: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---- FAQ Accordion ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 4px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-chevron {
  flex-shrink: 0;
  color: var(--orange);
  transition: transform var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-answer-inner { padding-bottom: 20px; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), var(--teal));
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
}
.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { color: var(--gray-600); font-size: 0.9rem; }

/* ---- Team Cards ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
}
.team-body { padding: 20px; }
.team-body h4 { margin-bottom: 4px; }
.team-role { font-size: 0.85rem; color: var(--orange); font-weight: 600; }

/* ---- Values Grid ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--orange);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); }

/* ---- Job Listings ---- */
.job-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  transition: var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-md); }
.job-info h3 { margin-bottom: 8px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.job-tag {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 500;
}
.job-tag.type { background: rgba(10,94,73,0.08); color: var(--teal); }
.job-tag.location { background: rgba(13,26,46,0.06); color: var(--navy); }

/* ---- Blog Article ---- */
.article-hero {
  background: var(--navy);
  padding: 160px 0 80px;
  color: var(--white);
}
.article-hero h1 { color: var(--white); margin-bottom: 20px; }
.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  flex-wrap: wrap;
}
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px;
}
.article-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--navy);
}
.article-content h3 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--navy);
}
.article-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 18px;
}
.article-content ul, .article-content ol {
  margin: 16px 0 20px 24px;
  color: var(--gray-600);
  line-height: 1.8;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; }
.article-content strong { color: var(--navy); }
.article-content .highlight-box {
  background: rgba(10,94,73,0.07);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.article-img {
  border-radius: var(--radius-md);
  margin: 32px 0;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(10,94,73,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 40px;
  height: 300px;
  box-shadow: var(--shadow-sm);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ---- Footer (matches home page) ---- */
footer,
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-logo span { color: var(--orange); }
.footer-tagline { font-size: 0.88rem; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-size: 0.9rem;
}
.social-link:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.footer-col h4,
.footer-col h5 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a,
.footer-col > a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul li a { margin-bottom: 0; }
.footer-col ul li a:hover,
.footer-col > a:hover { color: var(--orange); }
.footer-newsletter input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 10px;
  outline: none;
  transition: border-color var(--transition);
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter input:focus { border-color: var(--orange); }
.footer-newsletter .btn-primary { width: 100%; justify-content: center; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0F2A4A 100%);
  color: var(--white);
  padding: 160px 0 80px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ---- Legal pages ---- */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 24px;
}
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 14px; color: var(--navy); }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 10px; color: var(--navy); }
.legal-content p { color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--gray-600);
  margin-bottom: 16px;
}
.legal-content ul li { margin-bottom: 6px; line-height: 1.7; }
.legal-date {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 32px;
}

/* ---- Animate on scroll ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ---- Signin / Portal Selector ---- */
.signin-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), #0F2A4A);
  padding: 120px 24px 60px;
}
.signin-inner { max-width: 880px; width: 100%; text-align: center; }
.signin-inner h1 { color: var(--white); margin-bottom: 12px; }
.signin-inner p { color: rgba(255,255,255,0.7); margin-bottom: 48px; }
.signin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---- Misc ---- */
.divider { height: 1px; background: var(--gray-200); margin: 0; }
.text-orange { color: var(--orange); }
.text-teal { color: var(--teal); }
.text-green { color: var(--green); }
.text-white { color: var(--white); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }
.fw-600 { font-weight: 600; }

/* ======== RESPONSIVE ======== */

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
    font-size: 1.3rem;
  }
  .nav-cta.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 48px;
    left: 0; right: 0;
    z-index: 1000;
  }

  /* Grids */
  .hero-two-col { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid, .solution-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .portal-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; }
  .signin-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }
  .tab-buttons { gap: 4px; }
  .tab-btn { padding: 9px 16px; font-size: 0.82rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .signin-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}
