/* ===================================================
   BEYOND FINTAX — IMMERSIVE DARK GLASS THEME
   style.css
   =================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Fraunces:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700;1,900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --nav-w: 56px;
  --nav-open: 228px;
  --base: #0a1628;
  --base-2: #0d1e38;
  --card-bg: rgba(15, 28, 56, 0.92);
  --card-border: rgba(255, 255, 255, 0.09);
  --blue: #1362F0;
  --blue-dark: #0035D9;
  --blue-glow: rgba(19, 98, 240, 0.35);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --muted-2: rgba(255, 255, 255, 0.35);
  --footer-h: 50px;
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--base);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  line-height: 1.18;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Sidebar ---------- */
.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--nav-w);
  background: linear-gradient(180deg, #0a1628 0%, #162140 100%);
  display: flex;
  flex-direction: column;
  transition: width var(--transition);
  z-index: 9999;
  overflow: hidden;
  will-change: width;
}

.sidenav:hover {
  width: var(--nav-open);
}

/* Right-edge blue accent line */
.sidenav::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--blue) 40%, var(--blue-dark) 60%, transparent 100%);
  opacity: 0.5;
  border-radius: 2px;
}

/* --- Logo Area --- */
.nav-logo {
  padding: 20px 0 20px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  flex-shrink: 0;
  padding-left: 10px;
  background:#fff;
}

.logo-circle {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  letter-spacing: -0.5px;
  z-index: 1;
}

/* Pulsing ring animation */
.logo-circle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  opacity: 0.7;
  animation: pulse-ring 2.4s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(1);    opacity: 0.7; }
  50%  { transform: scale(1.22); opacity: 0.2; }
  100% { transform: scale(1);    opacity: 0.7; }
}

.nav-logo-text {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.sidenav:hover .nav-logo-text {
  opacity: 1;
  transform: translateX(0);
}

.nav-logo-text strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.3px;
}

.nav-logo-text span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 1px;
}

/* --- Nav Items --- */
.nav-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.nav-items::-webkit-scrollbar { width: 3px; }
.nav-items::-webkit-scrollbar-track { background: transparent; }
.nav-items::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0 11px 17px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition), color var(--transition);
  color: var(--muted);
  white-space: nowrap;
  border-radius: 0;
}

.nav-item i {
  font-size: 16px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
  transition: color var(--transition);
}

.nav-item span {
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition);
  letter-spacing: 0.2px;
}

.sidenav:hover .nav-item span {
  opacity: 1;
  transform: translateX(0);
}

.nav-item:hover,
.nav-item.active {
  background: rgba(5, 108, 244, 0.12);
  color: var(--text);
}

.nav-item:hover i,
.nav-item.active i {
  color: var(--blue);
}

/* Active right-side indicator */
.nav-item.active::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue);
  border-radius: 2px 0 0 2px;
}

/* --- Social Links at Bottom --- */
.nav-social {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
}

.nav-social a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0 9px 17px;
  color: var(--muted-2);
  font-size: 13px;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-social a i {
  width: 22px;
  text-align: center;
  font-size: 15px;
  flex-shrink: 0;
}

.nav-social a span {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition);
}

.sidenav:hover .nav-social a span {
  opacity: 1;
  transform: translateX(0);
}

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

/* ---------- Page Wrapper ---------- */
.page-wrapper {
  margin-left: var(--nav-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Footer ---------- */
.site-footer {
  height: var(--footer-h);
  background: #050d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.site-footer p {
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.3px;
}

/* ---------- Main Content Area ---------- */
.main-content {
  flex: 1;
}

/* ---------- Hero Sections ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(10, 22, 40, 0.78) 50%,
    rgba(10, 22, 40, 0.88) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ---------- Home Hero Layout ---------- */
.hero-left {
  flex: 0 0 75%;
  max-width: 75%;
}

.hero-right {
  flex: 0 0 25%;
  max-width: 25%;
  position: relative;
}

/* Label chip */
.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(5, 108, 244, 0.12);
  border: 1px solid rgba(5, 108, 244, 0.3);
  border-radius: 100px;
  font-size: 18px;
  font-weight: bold;
  color: var(--blue);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.label-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 22px;
  color: #fff;
}

.hero-h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero-sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 38px;
}

/* CTA Buttons */
.cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(5, 108, 244, 0.35);
  letter-spacing: 0.2px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(5, 108, 244, 0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: transparent;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  letter-spacing: 0.2px;
}

.btn-ghost:hover {
  border-color: var(--blue);
  background: rgba(5, 108, 244, 0.08);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 480px;
}

.stat-item {}

.stat-number {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-number span {
  color: var(--blue);
}

.stat-label {
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

/* ---------- Hero Right — Cards Stack ---------- */
.cards-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.glass-card {
  /* background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px; */
  /* padding: 28px 30px; */
  
  /* transform: scale(1);  */
  transition: transform 0.3s ease-in-out; 
  transform: scale(1.2); 
}

@keyframes slowZoomInOnLoad {
  0% {
    transform: scale(0.6);   /* Starts at original default size */
  }
  100% {
    transform: scale(1); /* Gradually grows 40% larger and stays there */
  }
}

.glass-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.card-logo-sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Fraunces', serif;
  font-style: italic;
  flex-shrink: 0;
}

.card-title-sm {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 35px;
  color: #fff;
}

.card-sub-sm {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.feature-list li i {
  color: var(--blue);
  font-size: 11px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

/* Connector line between cards */
.card-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: -8px 0;
  position: relative;
  z-index: 1;
}

.connector-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(5,108,244,0.4) 0%, rgba(5,108,244,0.4) 100%);
}

.connector-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue-glow);
}

/* Beyond Finance card accent */
.glass-card.bf-card {
  border-color: rgba(5,108,244,0.25);
}

/* ---------- Floating Metric Tags ---------- */
.metric-tag {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid rgba(5, 108, 244, 0.4);
  border-radius: 10px;
  padding: 9px 15px;
  box-shadow: 0 0 18px rgba(5, 108, 244, 0.18);
  white-space: nowrap;
  z-index: 3;
}

.metric-tag .mt-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: block;
  margin-bottom: 3px;
}

.metric-tag .mt-value {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
}

.metric-tag.tag-1 {
  top: -20px;
  right: -10px;
  animation: float-1 3.6s ease-in-out infinite;
}

.metric-tag.tag-2 {
  bottom: 60px;
  right: -20px;
  animation: float-2 4.2s ease-in-out infinite;
}

.metric-tag.tag-3 {
  bottom: -20px;
  left: 20px;
  animation: float-1 3s ease-in-out infinite 0.8s;
}

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

@keyframes float-2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ---------- Section Shared Styles ---------- */
.section {
  padding: 52px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-full {
  padding: 52px 40px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section-h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.section-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
}

/* ---------- Dark Section (full-bleed bg) ---------- */
.dark-section {
  background: var(--base-2);
  padding: 52px 0;
}

.dark-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- About Page ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  /*height: 420px;*/
}

.about-img-wrap img {
  width: 100%;
  /*height: 100%;
  object-fit: cover;*/
  /*filter: brightness(0.75) saturate(0.8);*/

}

.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(5,108,244,0.2);
}

.about-text .section-h2 { margin-bottom: 20px; }

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  font-weight:normal;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Values Cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.value-card:hover {
  border-color: rgba(5, 108, 244, 0.35);
  transform: translateY(-4px);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(5, 108, 244, 0.12);
  border: 1px solid rgba(5, 108, 244, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--blue);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats-row-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.stats-row-item:last-child { border-right: none; }

.stats-row-item .big-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 2.8rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stats-row-item .big-num em {
  color: var(--blue);
  font-style: normal;
}

.stats-row-item .num-label {
  font-size: 12.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ---------- Services Page ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
  border-color: rgba(5, 108, 244, 0.3);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(5, 108, 244, 0.1);
  border: 1px solid rgba(5, 108, 244, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 22px;
  color: var(--blue);
  box-shadow: 0 0 20px rgba(5, 108, 244, 0.15);
  transition: box-shadow 0.3s;
}

.service-card:hover .service-icon {
  box-shadow: 0 0 30px rgba(5, 108, 244, 0.35);
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
}

/* CTA Gradient Section */
.cta-section {
  background: linear-gradient(135deg, rgba(5,108,244,0.12) 0%, rgba(0,65,229,0.08) 100%);
  border-top: 1px solid rgba(5,108,244,0.15);
  border-bottom: 1px solid rgba(5,108,244,0.15);
  padding: 80px 60px;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.team-image{
  border-radius:50%
}
/* ---------- Team Page ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

 .team-grid1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom:20px;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.team-card:hover {
  border-color: rgba(5,108,244,0.3);
  transform: translateY(-4px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 0 24px rgba(5,108,244,0.3);
}

.team-avatar1 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 0 24px rgba(5,108,244,0.3);
}

.team-card .role-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(5,108,244,0.12);
  border: 1px solid rgba(5,108,244,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.team-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.68;
}

/* ---------- Careers Page ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.benefit-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px 26px;
}

.benefit-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.benefit-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(5,108,244,0.1);
  border: 1px solid rgba(5,108,244,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--blue);
  margin-bottom: 18px;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 52px;
}

.job-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: border-color 0.3s;
}

.job-card:hover {
  border-color: rgba(5,108,244,0.3);
}

.job-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.job-meta span {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-meta span i {
  color: var(--blue);
  font-size: 11px;
}

.cv-submit-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cv-submit-section h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.cv-submit-section p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Collaboration Page ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.partner-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.partner-card:hover {
  transform: translateY(-5px);
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}

.partner-card.bf-card::before {
  background: linear-gradient(90deg, #0099cc 0%, #00d4b4 100%);
}

.partner-card.bc-card::before {
  background: linear-gradient(90deg, #50648a 0%, #50648a 100%);
}


.bc-card .partner-logo {
  background: linear-gradient(135deg, #50648a 0%, #4167b1 100%);
}

.btn-purple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(135deg, #50648a 0%, #7489b0 100%);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.25);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
}


.partner-card.bf-card {
  border-color: rgba(0, 212, 180, 0.2);
}

.partner-card.bc-card {
  border-color: rgba(168, 85, 247, 0.2);
}

.partner-card.bf-card:hover { border-color: rgba(0, 212, 180, 0.4); }
.partner-card.bc-card:hover { border-color: rgba(168, 85, 247, 0.4); }

.partner-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 24px;
}

.bf-card .partner-logo {
  background: linear-gradient(135deg, #0099cc 0%, #00d4b4 100%);
}



.partner-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.partner-tagline {
  font-size: 13px;
  font-style: normal;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}

.partner-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 28px;
}

.partner-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.partner-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
}

.bf-card .partner-features li i { color: #00d4b4; }
.bc-card .partner-features li i { color: #a855f7; }

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(135deg, #0099cc 0%, #00d4b4 100%);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 212, 180, 0.25);
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 180, 0.4);
}


/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 44px 40px;
}

.form-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #fff;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  padding: 12px 16px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-2);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(5,108,244,0.5);
  box-shadow: 0 0 0 3px rgba(5,108,244,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.3s;
}

.contact-info-card:hover {
  border-color: rgba(5,108,244,0.3);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(5,108,244,0.1);
  border: 1px solid rgba(5,108,244,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 5px;
  font-style: normal;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.contact-info-card p {
  font-size: 14.5px;
  color: #fff;
  line-height: 1.5;
}

/* ---------- Inner Page Hero (smaller) ---------- */
.page-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 40px 40px;
}

.page-hero-inner .hero-h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  max-width: 700px;
  margin-bottom: 16px;
}

.page-hero-inner .hero-sub {
  font-size: 16px;
  max-width: 600px;
  margin-bottom: 0;
}

/* ---------- Split Hero Layout ---------- */
.page-hero-split {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 40px;
  position: relative;
  z-index: 2;
}

.page-hero-right-panel {
  background: rgba(15, 28, 56, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 28px;
}

.hero-stat-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-stat-item:last-child { border-bottom: none; }

.hero-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #1362F0;
  min-width: 80px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.hero-service-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.hero-service-mini-item {
  background: rgba(19, 98, 240, 0.12);
  border: 1px solid rgba(19, 98, 240, 0.25);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-service-mini-item i {
  display: block;
  font-size: 18px;
  color: #1362F0;
  margin-bottom: 6px;
}

/* Hero avatar cluster for team page */
.hero-avatar-cluster {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 20px 0;
}

.hero-avatar-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.hero-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Hero hiring badge for careers page */
.hero-hiring-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(19, 98, 240, 0.18);
  border: 1px solid rgba(19, 98, 240, 0.4);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: #1362F0;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(19, 98, 240, 0.2);
}

.hero-role-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.hero-role-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-role-item:last-child { border-bottom: none; }

.hero-role-item i {
  color: #1362F0;
  font-size: 12px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* Hero partner logos for collaboration page */
.hero-partner-logos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-partner-logo-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(15, 28, 56, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.hero-partner-logo-card .logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.hero-partner-logo-card .logo-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.hero-partner-logo-card .logo-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.hero-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 0;
}

.hero-connector-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19, 98, 240, 0.4), transparent);
}

.hero-connector-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1362F0;
  box-shadow: 0 0 8px rgba(19, 98, 240, 0.6);
}

/* Hero contact info for contact page */
.hero-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.hero-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-contact-line i {
  color: #1362F0;
  font-size: 13px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* Hero consultation CTA card for contact page */
.hero-consult-card {
  text-align: center;
  padding: 28px 24px;
}

.hero-consult-card .consult-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(19, 98, 240, 0.15);
  border: 1px solid rgba(19, 98, 240, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #1362F0;
  margin: 0 auto 14px;
  box-shadow: 0 0 20px rgba(19, 98, 240, 0.2);
}

.hero-consult-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.hero-consult-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
  line-height: 1.55;
}

/* Responsive for split hero */
@media (max-width: 900px) {
  .page-hero-split {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
  .page-hero-right-panel { display: none; }
}

/* ---------- About Split — Reverse Variant ---------- */
.about-split-reverse {
  direction: ltr; /* override on mobile handled below */
}
@media (min-width: 769px) {
  .about-split-reverse {
    /* on desktop, mimic flex-direction:row-reverse using order */
    direction: ltr;
  }
  .about-split-reverse > :first-child { order: 2; }
  .about-split-reverse > :last-child  { order: 1; }
}

/* ---------- Intro Band (index.html) ---------- */
.intro-band-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 52px 60px;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.intro-band-col {
  flex: 1;
  min-width: 260px;
}
.intro-band-btn {
  display: inline-flex !important;
}

/* ---------- Services Preview Grid (index.html) ---------- */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- How It Works Grid (services.html) ---------- */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.how-it-works-step {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.how-it-works-step:last-child {
  border-right: none;
}
.how-it-works-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(5,108,244,0.12);
  border: 1px solid rgba(5,108,244,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  color: #1362F0;
}

/* ---------- Culture Band Grid (team.html) ---------- */
.culture-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.culture-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- Collaboration Synergy Grid (collaboration.html) ---------- */
.collab-synergy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- Map Section (contact.php) ---------- */
.map-section {
  padding: 0 40px 52px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-60 { margin-bottom: 60px; }
.mt-auto { margin-top: auto; }

.section-header {
  margin-bottom: 52px;
}

.section-header.text-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Beyond Fintax Logo Classes ---------- */
.logo-icon-only {
  width: 40px; height: 40px;
  object-fit: contain; flex-shrink: 0;
  transition: opacity 0.2s, width 0.2s;
}
.sidenav:hover .logo-icon-only { opacity: 0; width: 0; }

.logo-img-collapsed {
  display: flex; align-items: center;
}
.logo-expanded {
  height: 50px; object-fit: contain;
  opacity: 0; transition: opacity 0.2s 0.1s;
  max-width: 160px;
  /* filter: brightness(0) invert(1); */
}
.sidenav:hover .logo-expanded { opacity: 1; }
.bf-logo-img {
  height: 28px; object-fit: contain; max-width: 110px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-inner { padding: 60px 40px; gap: 40px; }
  .section { padding: 44px 32px; }
  .section-full { padding: 44px 32px; }
  .dark-section-inner { padding: 0 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    padding: 80px 32px 60px;
  }
  .hero-left, .hero-right {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .about-split { grid-template-columns: 1fr !important; }
  .about-split-reverse > :first-child { order: unset; }
  .about-split-reverse > :last-child  { order: unset; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .cv-submit-section { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  /* Inline-style grids that need overriding at 900px */
  .inline-grid-2col { grid-template-columns: 1fr !important; }
  .inline-grid-3col { grid-template-columns: 1fr 1fr !important; }
  .inline-grid-4col { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 28px 16px; }
  .section-full { padding: 28px 16px; }
  .dark-section-inner { padding: 0 16px; }
  .hero-inner { padding: 24px 16px 40px; }
  .page-hero-inner { padding: 28px 16px 24px; }
  .contact-form-wrap { padding: 24px 16px; }
  .cta-section { padding: 40px 16px; }
  .metric-tag { display: none; }
  .job-card { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   MOBILE & TABLET RESPONSIVE NAV — DESIGN 3
   ============================================================ */
.mobile-topbar { display: none; }
.mobile-overlay { display: none; }

@media (max-width: 768px) {
  .sidenav { display: none !important; }
  .page-wrapper { margin-left: 0 !important; }

  .mobile-topbar {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    background: #0a1628;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 9999;
  }

  .mobile-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
  }
  .mobile-logo img { height: 32px; object-fit: contain; }
  .mobile-logo-text {
    font-size: 15px; font-weight: 700; color: #fff;
    font-family: 'Fraunces', serif; font-style: italic;
  }

  .hamburger-btn {
    background: none; border: none; cursor: pointer;
    color: #1362F0; font-size: 22px; padding: 8px;
    border-radius: 8px; transition: background 0.2s;
    display: flex; align-items: center;
  }
  .hamburger-btn:hover { background: rgba(19,98,240,0.15); }

  .mobile-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    background: #0a1628;
    z-index: 10000;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  .mobile-overlay.open { transform: translateX(0); }

  .mobile-overlay-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    height: 56px; flex-shrink: 0;
    background:#fff;
  }
  .mobile-overlay-logo img {
    height: 50px; object-fit: contain;
    /* filter: brightness(0) invert(1); */
  }

  .close-btn {
    background: none; border: none; cursor: pointer;
    color: #fff; font-size: 20px; padding: 8px; border-radius: 8px;
  }

  .mobile-nav-list { flex: 1; overflow-y: auto; padding: 8px 0; }
  .mobile-nav-list a {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 24px;
    color: rgba(255,255,255,0.6); font-size: 15px; font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-decoration: none; transition: all 0.2s;
  }
  .mobile-nav-list a:hover,
  .mobile-nav-list a.active {
    color: #fff;
    background: rgba(19,98,240,0.15);
    border-left: 3px solid #1362F0;
    padding-left: 21px;
  }
  .mobile-nav-list a i { width: 24px; text-align: center; font-size: 18px; color: #1362F0; }

  .mobile-nav-social {
    padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; gap: 20px;
  }
  .mobile-nav-social a {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.4); font-size: 14px; text-decoration: none;
  }
  .mobile-nav-social a:hover { color: #1362F0; }

  /* Push content below topbar */
  .page-wrapper { padding-top: 56px; }

  /* Hero: ensure correct height accounting for topbar */
  .hero { min-height: calc(100vh - 56px); }
  .hero-inner { flex-direction: column; padding: 32px 20px 48px; }
  .hero-left { flex: none; width: 100%; max-width: 100%; }
  .hero-right { display: none !important; }
  .metric-tag { display: none !important; }

  /* Inner page heroes */
  .page-hero { min-height: auto; }
  .page-hero-split { grid-template-columns: 1fr !important; padding: 32px 20px !important; }
  .page-hero-right-panel { display: none !important; }
  .page-hero-inner { padding: 32px 20px; }

  /* Sections — reduce padding on mobile */
  .section { padding: 32px 16px !important; }
  .section-full { padding: 32px 16px !important; }
  .dark-section-inner { padding: 0 16px !important; }
  .dark-section { padding: 32px 0; }
  .section-header { margin-bottom: 32px; }

  /* All grids to single or 2-column */
  .services-grid { grid-template-columns: 1fr !important; }
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .values-grid { grid-template-columns: 1fr !important; }
  .about-split { grid-template-columns: 1fr !important; }
  .stats-row { grid-template-columns: repeat(2, 1fr) !important; }
  .partner-grid { grid-template-columns: 1fr !important; }
  .contact-layout { grid-template-columns: 1fr !important; }
  .benefits-grid { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }

  /* Cards — reduce padding on mobile */
  .service-card,
  .team-card,
  .value-card,
  .benefit-card { padding: 20px 16px; }
  .contact-form-wrap { padding: 24px 16px; }
  .cv-submit-section { flex-direction: column !important; align-items: flex-start !important; padding: 28px 20px; }
  .partner-card { padding: 28px 20px; }
  .cta-section { padding: 48px 20px !important; }

  /* Job cards — stack on mobile */
  .job-card { flex-direction: column !important; align-items: flex-start !important; }
  .job-card .btn-primary { width: 100% !important; justify-content: center !important; margin-top: 12px; }

  /* Buttons — full width on mobile */
  .btn-grad,
  .btn-ghost,
  .btn-primary,
  .btn-secondary,
  .btn-teal,
  .btn-purple { width: 100% !important; justify-content: center !important; }
  .cta-group { flex-direction: column !important; gap: 12px; }

  /* CV submit section buttons */
  .cv-submit-section > div:last-child { display: flex; flex-direction: column; gap: 12px; width: 100%; }
  .cv-submit-section > div:last-child a { margin-right: 0 !important; }

  /* Images */
  img { max-width: 100%; height: auto; }
  .about-img-wrap { height: 260px !important; }

  /* Typography */
  h1 { font-size: clamp(1.8rem, 7vw, 2.6rem) !important; line-height: 1.2; }
  h2 { font-size: clamp(1.4rem, 5.5vw, 2rem) !important; }

  /* Hero stats grid */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }
  .stats-grid .stat-item:last-child { grid-column: 1 / -1; }

  /* Footer */
  .site-footer p { font-size: 11px; text-align: center; padding: 0 16px; }

  /* Intro band */
  .intro-band-inner { padding: 32px 16px; gap: 24px; flex-direction: column; }
  .intro-band-col { min-width: 0; width: 100%; }
  .intro-band-btn { width: 100% !important; justify-content: center !important; }

  /* Services preview grid */
  .services-preview-grid { grid-template-columns: 1fr !important; }

  /* How it works */
  .how-it-works-grid { grid-template-columns: 1fr 1fr !important; }
  .how-it-works-step { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 20px 16px; }
  .how-it-works-step:last-child { border-bottom: none; }

  /* Culture band */
  .culture-band-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .culture-stats-grid { grid-template-columns: 1fr 1fr !important; }

  /* Collaboration synergy grid */
  .collab-synergy-grid { grid-template-columns: 1fr !important; }

  /* Map section */
  .map-section { padding: 0 16px 32px !important; }

  /* About split reverse — no visual reorder on mobile */
  .about-split-reverse > :first-child { order: unset; }
  .about-split-reverse > :last-child  { order: unset; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sidenav {
    width: 56px !important;
    will-change: width;
  }
  .sidenav:hover { width: 56px !important; }
  .nav-item span, .nav-social a span, .logo-expanded { opacity: 0 !important; }
  .page-wrapper { margin-left: 56px; }
  .hero-inner { gap: 32px; padding: 60px 32px; }
  .hero-right { display: none !important; }
  .page-hero-split { grid-template-columns: 1fr !important; padding: 40px 32px !important; }
  .page-hero-right-panel { display: none !important; }
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .partner-grid { grid-template-columns: 1fr !important; }
  .about-split { grid-template-columns: 1fr !important; }
  .about-split-reverse > :first-child { order: unset; }
  .about-split-reverse > :last-child  { order: unset; }
  .values-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .about-img-wrap { height: 320px; }
  .section { padding: 44px 32px !important; }
  .section-full { padding: 44px 32px !important; }
  .dark-section-inner { padding: 0 32px !important; }
  .cta-section { padding: 60px 32px; }
  .cv-submit-section { flex-direction: column; align-items: flex-start; }

  /* New grid classes on tablet */
  .intro-band-inner { padding: 44px 32px; gap: 32px; }
  .services-preview-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .how-it-works-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .how-it-works-step { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .how-it-works-step:nth-child(2n) { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .how-it-works-step:nth-last-child(-n+2) { border-bottom: none; }
  .culture-band-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .culture-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .collab-synergy-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .map-section { padding: 0 32px 44px !important; }
}
