/* ==========================================================================
   CAREERS PAGE STYLESHEET (careers.css)
   Target route: /careers (careers.html)
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  --bg:            #0B0909;
  --bg-hero:       #150906;
  --bg-card:       transparent;
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --primary:       #FFCE1B;
  --primary-hover: #E5BE20;
  --secondary:     #FB1650;
  --border:        rgba(255, 255, 255, 0.1);
  --border-light:  rgba(255, 255, 255, 0.18);
  --border-yellow: rgba(255, 206, 27, 0.3);
  --text-white:    #FFFFFF;
  --text-dim:      rgba(255, 255, 255, 0.65);
  --text-dimmer:   rgba(255, 255, 255, 0.42);
  --font-head:     'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
  --font-body:     'DM Sans', sans-serif;
  --max-w:         1376px;
  --px:            40px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--bg);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* --- Ambient Effects & Page Margins --- */
.page-margins {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  pointer-events: none;
  z-index: 99;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   NAVBAR STYLES
   ========================================================================== */

.logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
}

.nav-item:hover,
.nav-dropdown-wrapper:hover .nav-item {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-chevron {
  transition: transform 0.2s ease;
}

.nav-dropdown-wrapper:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: #141212;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 8px 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1010;
  display: flex;
  flex-direction: column;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  transition: color 0.15s, background 0.15s;
}

.nav-dropdown-menu a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  background: var(--primary);
  color: #000;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.18s;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}



/* ==========================================================================
   HERO SECTION (Faded background artwork with overlapping text layer)
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 81px;
  padding-bottom: 60px;
  background: #0B0909;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-banner-container {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  min-height: 440px;
  background-color: #230b06;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}

/* Background Layers */
.hero-bg-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 65%;
  z-index: 0;
  overflow: hidden;
}

.hero-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: brightness(0.92) contrast(1.02);
}

.hero-bg-solid {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 45%;
  background-color: #230b06;
  z-index: 1;
}

.hero-bg-fade {
  position: absolute;
  top: 0;
  left: 45%;
  bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, #230b06 0%, rgba(35, 11, 6, 0.8) 45%, rgba(35, 11, 6, 0) 100%);
  z-index: 2;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #a73c26 0%, rgba(30, 18, 17, 0) 100%);
  filter: blur(140px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 3;
}

/* Soft, light atmospheric haze overlay spanning across text and image */
.hero-bg-haze {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 40% 50%, rgba(167, 60, 38, 0.08) 0%, rgba(35, 11, 6, 0.12) 60%, rgba(11, 9, 9, 0.18) 100%);
  pointer-events: none;
  z-index: 5;
}

/* Foreground Content Layer */
.hero-content-layer {
  position: relative;
  z-index: 4;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  width: 100%;
}

/* Pill badge */
.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(35, 11, 6, 0.6);
  backdrop-filter: blur(8px);
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary);
  box-shadow: 0 0 8px var(--secondary);
}

.hero-tag-text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Heading */
.hero-title {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 900px;
}

.hero-title-white {
  color: #FFFFFF;
}

.hero-title-yellow {
  color: var(--primary);
}

/* ==========================================================================
   JOB OPENINGS GRID SECTION (EXACT ORIGINAL DESIGN SYSTEM)
   ========================================================================== */
.careers-section {
  padding: 0 0 100px 0;
  position: relative;
  z-index: 1;
}

.careers-container {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0;
}

.section-title {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 300;
  color: var(--text-white);
  margin-bottom: 8px;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
}

/* Outer Grid Wrapper seamlessly connecting with vertical page lines */
.jobs-grid-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg);
}

/* Jobs Grid: 3-column layout matching Figma design */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

/* Individual Job Tile Card */
.job-grid-card {
  min-height: 360px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  gap: 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  outline: none;
  background-color: transparent;
}

.job-grid-card:nth-child(3n) {
  border-right: none;
}

.job-grid-card:hover,
.job-grid-card:focus-visible {
  background-color: rgba(255, 255, 255, 0.05);
}

.job-grid-card-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-grid-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-grid-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.job-grid-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-white);
}

.job-grid-title span {
  display: block;
  font-weight: 400;
}

/* Yellow Arrow Button Box on Card Header */
.job-grid-arrowright-wrapper {
  height: 44px;
  width: 44px;
  background-color: #ffce1b;
  border: 1px solid #ffce1b;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.job-grid-card:hover .job-grid-arrowright-wrapper,
.job-grid-card:focus-visible .job-grid-arrowright-wrapper {
  opacity: 1;
}

.job-grid-arrowright-wrapper:hover {
  transform: scale(1.05);
}

.job-grid-years {
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 150%;
  color: rgba(255, 255, 255, 0.6);
}

.job-grid-we-are-seeking {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 150%;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Bottom Metadata Row */
.job-grid-palo-alto-parent {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.job-grid-palo-alto {
  line-height: 140%;
}

.job-grid-frame-child {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background-color: #fb1650;
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER - MATCHING SITEWIDE STANDARD
   ========================================================================== */








































/* ==========================================================================
   MEDIA QUERIES (TABLET & MOBILE RESPONSIVENESS)
   ========================================================================== */

/* Tablet Viewport (600px - 1024px) - 2 Columns */
@media (max-width: 1024px) {
  :root {
    --px: 24px;
  }



  .hero-banner-container {
    min-height: 380px;
  }

  .hero-bg-art {
    width: 75%;
  }

  .hero-bg-solid {
    width: 35%;
  }

  .hero-bg-fade {
    left: 35%;
    width: 45%;
    background: linear-gradient(90deg, #230b06 0%, rgba(35, 11, 6, 0.85) 50%, rgba(35, 11, 6, 0) 100%);
  }

  .hero-content-layer {
    padding: 40px 32px;
    gap: 24px;
  }

  .hero-title {
    font-size: 34px;
  }

  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .job-grid-card:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .job-grid-card:nth-child(2n) {
    border-right: none;
  }

  .job-grid-arrowright-wrapper {
    display: none !important;
  }
}

/* Mobile Viewport (<600px) - 1 Column */
@media (max-width: 599px) {
  :root {
    --px: 16px;
  }



  .hero-section {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero-banner-container {
    flex-direction: column;
    min-height: auto;
  }

  .hero-bg-art {
    position: relative;
    width: 100%;
    height: 240px;
    order: 2;
  }

  .hero-bg-solid,
  .hero-bg-fade,
  .hero-bg-glow {
    display: none;
  }

  .hero-content-layer {
    padding: 32px 20px;
    gap: 20px;
    order: 1;
    background-color: #230b06;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-tag-pill {
    height: 30px;
    padding: 0 14px;
  }

  .hero-tag-text {
    font-size: 11px;
  }

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

  .job-grid-card {
    padding: 24px 20px;
    min-height: auto;
    border-right: none !important;
  }

  .job-grid-title {
    font-size: 18px;
  }

  

  

  

  
}


/* ─────────────────────────────────────────────────────────────
   SITEWIDE STANDARD FOOTER (Verbatim Hackathon Reference)
   ───────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  background: #140B0B;
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
}

.footer-inner {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 40px;
  box-sizing: border-box;
}

/* Top nav row */
.footer-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 48px;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer-nav-link {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  text-decoration: none;
  transition: color 0.18s;
}

.footer-nav-link:hover {
  color: #ffffff !important;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.20);
  transition: border-color 0.18s, background 0.18s;
  text-decoration: none;
}

.social-icon:hover {
  border-color: rgba(255, 255, 255, 0.60);
  background: rgba(255, 255, 255, 0.06);
}

/* Bottom row: Big K logo + addresses + ZIROHLabs */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-big-logo {
  flex-shrink: 0;
}

.big-k-square {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 56px;
  font-weight: 700;
  color: #000;
  line-height: 1;
  letter-spacing: -0.03em;
}

.footer-addresses {
  display: flex;
  gap: 60px;
  flex: 1;
  padding: 0 60px;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-city {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.80) !important;
  letter-spacing: 0.02em;
  margin: 0;
}

.footer-addr-text {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  color: rgba(255, 255, 255, 0.45) !important;
  line-height: 20px !important;
  margin: 0;
}

.footer-ziroh {
  flex-shrink: 0;
}

.ziroh-logo {
  height: 36px;
  width: auto;
  filter: none;
  transition: filter 0.18s;
}

.ziroh-logo:hover {
  filter: brightness(1.2);
}

/* Legal section */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
}

.footer-legal-links {
  display: flex;
  gap: 32px;
}

.footer-legal-links a {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 300 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none;
  transition: color 0.18s;
}

.footer-legal-links a:hover {
  color: #ffffff !important;
}

.footer-copyright {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 300 !important;
  color: rgba(255, 255, 255, 0.3) !important;
  margin: 0;
}

/* ── Tablet Footer (768px - 1024px) ── */
@media (min-width: 768px) and (max-width: 1024px) {
  body .footer .footer-inner,
  body footer#footer-mobile .footer-inner,
  body footer#footer-desktop .footer-inner,
  .footer-inner {
    width: calc(100% - calc(var(--px, 64px) * 2)) !important;
    max-width: var(--max-w, 1376px) !important;
    margin: 0 auto !important;
    padding: 40px 40px !important;
    box-sizing: border-box !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: none !important;
    border-right: none !important;
  }

  .footer-nav-row {
    margin-left: -40px !important;
    margin-right: -40px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    width: calc(100% + 80px) !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .footer-bottom-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr auto !important;
    row-gap: 40px !important;
    align-items: start !important;
  }

  .footer-addresses {
    grid-column: 1 / 3 !important;
    padding: 0 !important;
  }

  .footer-address {
    margin-left: 0 !important;
    flex: 1 !important;
  }

  .footer-big-logo {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .footer-ziroh {
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }
}


/* ── Mobile Footer (<= 767px) ── */
@media (max-width: 767px) {
  .footer-inner {
    width: calc(100% - calc(var(--px, 24px) * 2)) !important;
    max-width: var(--max-w, 1376px) !important;
    margin: 0 auto !important;
    padding: 32px 20px !important;
    box-sizing: border-box !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .footer-nav-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 24px !important;
    margin-bottom: 32px !important;
    padding-bottom: 32px !important;
    width: 100% !important;
  }

  .footer-nav-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .footer-socials {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
  }

  .footer-bottom-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 32px !important;
    width: 100% !important;
  }

  .footer-addresses {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .footer-address:first-child {
    align-self: flex-start !important;
    text-align: left !important;
    width: auto !important;
  }

  .footer-address:last-child,
  .footer-address:nth-child(2) {
    align-self: flex-end !important;
    text-align: left !important;
    margin-left: auto !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .footer-ziroh {
    order: 2 !important;
    align-self: flex-end !important;
    margin-left: auto !important;
  }

  .footer-big-logo {
    order: 3 !important;
    align-self: flex-start !important;
  }

  .footer-legal {
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding-top: 32px !important;
    margin-top: 32px !important;
    width: 100% !important;
  }

  .footer-legal-links {
    display: flex !important;
    gap: 32px !important;
  }
}



  /* ════════════════════════════════════════════════
     UPPER LINE REMOVAL & FOOTER LOWER LINE RESTORATION (<= 1024px)
  ════════════════════════════════════════════════ */
  /* 1. Restore Footer's own Top Border (Lower Line) */
  body .footer,
  body footer.footer,
  body footer#footer,
  body footer#footer-mobile,
  .footer,
  #footer,
  #footer-mobile {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  /* 2. Hide horizontal line dividers directly above footer */
  .line-horizontal,
  .line-horizontal:last-of-type,
  main > .line-horizontal:last-child {
    display: none !important;
    border: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 3. Hide dummy/glow sections right above footer */
  .why-section[style*="min-height:0"],
  .get-started-section[style*="min-height:0"],
  .why-section:last-of-type,
  .get-started-section:last-of-type {
    border-top: none !important;
    border-bottom: none !important;
    display: none !important;
  }

  /* 4. Remove section bottom borders right above footer on mobile (Upper Line) */
  main > section:last-of-type,
  main > div:last-of-type,
  section:last-of-type,
  .models-section,
  .faq-accordion-list,
  .dev-section,
  .tribute-section,
  .community-section,
  .jobs-grid,
  .dynamic-jd-wrapper,
  .phil2-contact-section,
  .phil-status-contact,
  .related-videos,
  .event-detail-body,
  .gallery-large,
  .event-quote,
  .event-meta,
  .md-code-tablet,
  .session-header-row {
    border-bottom: none !important;
  }


/* ════════════════════════════════════════════════
   MOBILE FOOTER OVERRIDES (<= 1024px)
════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  body .footer,
  body footer.footer,
  body footer#footer,
  body footer#footer-mobile,
  .footer,
  #footer,
  #footer-mobile {
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    margin: 32px 0 0 0 !important;
    padding: 0 !important;
    background: #1c1414 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-sizing: border-box !important;
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 10 !important;
  }

  
  /* Remove section bottom border right above footer on mobile to eliminate upper line */
  main > section:last-of-type,
  main > div:last-of-type,
  section:last-of-type,
  .phil2-mobile-page-wrapper > main > section:last-of-type,
  .phil-mobile-page-wrapper > main > section:last-of-type,
  .sbox-page section:last-of-type,
  .page-section:last-of-type,
  .faq-section,
  .get-started-section,
  .community-section,
  .related-videos,
  .phil2-contact-section {
    border-bottom: none !important;
  }

  body .footer .footer-inner,
  body footer#footer-mobile .footer-inner,
  .footer-inner {
    width: calc(100% - calc(var(--px, 24px) * 2)) !important;
    max-width: var(--max-w, 1376px) !important;
    margin: 0 auto !important;
    padding: 32px 20px !important;
    box-sizing: border-box !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
  }

  /* Top Nav Row */
  body .footer .footer-nav-row,
  body footer#footer-mobile .footer-nav-row,
  .footer-nav-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-nav-links,
  body footer#footer-mobile .footer-nav-links,
  .footer-nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-nav-link,
  body footer#footer-mobile .footer-nav-link,
  .footer-nav-link {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  /* Social Icons */
  body .footer .footer-socials,
  body footer#footer-mobile .footer-socials,
  .footer-socials {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
  }

  body .footer .social-icon,
  body footer#footer-mobile .social-icon,
  .social-icon {
    width: 32px !important;
    height: 32px !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  body .footer .social-icon svg path,
  body .footer .social-icon svg circle,
  body footer#footer-mobile .social-icon svg path,
  body footer#footer-mobile .social-icon svg circle,
  .social-icon svg path,
  .social-icon svg circle {
    stroke: #000000 !important;
    fill: #000000 !important;
  }

  body .footer .social-icon svg path[fill="none"],
  body footer#footer-mobile .social-icon svg path[fill="none"],
  .social-icon svg path[fill="none"] {
    fill: none !important;
  }

  /* Middle Row: Addresses & Logos */
  body .footer .footer-bottom-row,
  body footer#footer-mobile .footer-bottom-row,
  .footer-bottom-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Addresses: Left (Bengaluru) & Right (Palo Alto) */
  body .footer .footer-addresses,
  body footer#footer-mobile .footer-addresses,
  .footer-addresses {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    order: 1 !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-address:first-child,
  body footer#footer-mobile .footer-address:first-child,
  .footer-address:first-child {
    flex: 1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  body .footer .footer-address:last-child,
  body .footer .footer-address:nth-child(2),
  body footer#footer-mobile .footer-address:last-child,
  body footer#footer-mobile .footer-address:nth-child(2),
  .footer-address:last-child,
  .footer-address:nth-child(2) {
    flex: 1 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  body .footer .footer-city,
  body footer#footer-mobile .footer-city,
  .footer-city {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin: 0 !important;
  }

  body .footer .footer-addr-text,
  body footer#footer-mobile .footer-addr-text,
  .footer-addr-text {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  /* ZIROHLabs Logo: Below Addresses, Left Aligned */
  body .footer .footer-ziroh,
  body footer#footer-mobile .footer-ziroh,
  .footer-ziroh {
    order: 2 !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    margin-bottom: 24px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: block !important;
    text-align: left !important;
  }

  body .footer .ziroh-logo,
  body footer#footer-mobile .ziroh-logo,
  .ziroh-logo {
    height: 28px !important;
    width: auto !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  /* Big K. Square Logo: Below ZIROHLabs Logo, Left Aligned */
  body .footer .footer-big-logo,
  body footer#footer-mobile .footer-big-logo,
  .footer-big-logo {
    order: 3 !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: block !important;
  }

  body .footer .big-k-square,
  body footer#footer-mobile .big-k-square,
  .big-k-square {
    width: 72px !important;
    height: 72px !important;
    border-radius: 4px !important;
    display: block !important;
    margin-left: 0 !important;
  }

  /* Bottom Legal Section */
  body .footer .footer-legal,
  body footer#footer-mobile .footer-legal,
  .footer-legal {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-legal-links,
  body footer#footer-mobile .footer-legal-links,
  .footer-legal-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    order: 1 !important;
    width: 100% !important;
  }

  body .footer .footer-legal-links a,
  body footer#footer-mobile .footer-legal-links a,
  .footer-legal-links a {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  body .footer .footer-copyright,
  body footer#footer-mobile .footer-copyright,
  .footer-copyright {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
    order: 2 !important;
    width: 100% !important;
    text-align: left !important;
  }
}


