:root {
  --navy: #10284f;
  --navy-dark: #071933;
  --orange: #f58209;
  --orange-hover: #e07304;
  --cream: #f5f6f8;
  --ink: #142a4e;
  --muted: #64748b;
  --line: #dfe4ea;
  --white: #ffffff;
  --shadow: 0 12px 35px rgba(16, 40, 79, 0.09);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background: #fff;
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}

/* Top bar */
.topbar {
  background: var(--navy-dark);
  color: #d7e0ea;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-info a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-info a:hover {
  color: var(--orange);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-links a {
  color: #cbd5e1;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  transition: 0.25s;
}
.social-links a:hover {
  color: #fff;
  background: var(--orange);
  transform: translateY(-2px);
}

/* Header & Navigation */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

nav {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
  position: absolute;
  left: 10px;
}

.navlinks {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.93rem;
  font-weight: 700;
}

.navlinks a {
  color: #243552;
  transition:
    color 0.25s ease,
    transform 0.35s cubic-bezier(0.2, 0.75, 0.25, 1),
    text-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transform-style: preserve-3d;
}

.navlinks a:hover,
.navlinks a:focus-visible {
  color: var(--orange);
  transform: perspective(500px) translateY(-3px) rotateX(8deg);
  text-shadow: 0 7px 16px rgba(245, 130, 9, 0.18);
}

.brand img {
  transition:
    transform 0.5s cubic-bezier(0.2, 0.75, 0.25, 1),
    filter 0.4s ease;
  transform-style: preserve-3d;
}

.brand:hover img,
.brand:focus-visible img {
  transform: perspective(700px) rotateY(-9deg) rotateX(4deg) translateY(-2px)
    scale(1.035);
  filter: drop-shadow(0 9px 10px rgba(16, 40, 79, 0.16));
}

/* Customer Login Button */
.btn-customer-login {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 9px 16px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.btn-customer-login:hover {
  background: var(--navy);
  color: #fff;
}

.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
  font-weight: 800;
  font-size: 0.88rem;
}

.nav-cta:hover {
  background: var(--orange-hover);
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
  color: var(--navy);
  cursor: pointer;
}

/* ============================================================
       HERO TIMELINE SECTION (MATCHING SCREENSHOT 2026-10-27)
    ============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-color: var(--navy-dark);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero_bg.png") center center / cover no-repeat;
  filter: saturate(1.08);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 25, 51, 0.48) 0%,
    rgba(10, 30, 58, 0.24) 42%,
    rgba(10, 30, 58, 0.04) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 10;
  padding: 70px 0;
  max-width: 860px;
}

/* Eyebrow: Orange Bar + LIVE LOGISTICS & SHIPMENT TIMELINE */
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 2.2px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow .orange-bar {
  display: inline-block;
  width: 24px;
  height: 3.5px;
  background: var(--orange);
  border-radius: 2px;
}

/* Main Headline: From First Mile to Final Milestone. */
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -1.8px;
  margin-bottom: 22px;
  font-weight: 900;
  color: #ffffff;
}
.hero h1 .highlight-milestone {
  color: var(--orange);
  font-style: normal;
}

/* Descriptive subtext */
.hero-copy {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 30px;
  max-width: 680px;
}

/* ============================================================
       PRECISE SHIPMENT TIMELINE CARD WIDGET
    ============================================================ */
.front-timeline {
  background: rgba(10, 30, 58, 0.85);
  border: 1px solid rgba(41, 74, 110, 0.55);
  border-radius: 12px;
  padding: 26px 32px 30px;
  margin-bottom: 32px;
  max-width: 760px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  letter-spacing: 2px;
  font-weight: 800;
  color: #7e92ab;
  text-transform: uppercase;
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.timeline-header .timeline-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8fa0b5;
}
.timeline-header .timeline-title-left i {
  color: #8fa0b5;
  font-size: 1rem;
}
.timeline-header .live-indicator {
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.timeline-header .live-indicator .green-dot {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
}

/* Horizontal Connecting Line & Step Columns */
.timeline-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  position: relative;
  gap: 15px;
}
/* The horizontal connecting line across the centers of the circles */
.timeline-steps::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: var(--orange);
  z-index: 1;
}
.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Circular Node Icons */
.step-marker {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #091a32;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  transition: 0.25s;
}
/* Glowing warm orange nodes for completed / active steps */
.step-marker.active-glow {
  background: var(--orange);
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  box-shadow: 0 0 24px 6px rgba(245, 130, 9, 0.52);
}

.timeline-step strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}
.timeline-step small {
  color: #8fa0b5;
  font-size: 0.82rem;
  display: block;
}

/* Hero CTA Actions */
.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  transition: 0.25s;
}
.btn-orange {
  background: var(--orange);
  color: #fff;
}

.btn-orange:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--navy);
}

.btn-white:hover {
  background: #eef2f7;
}

.text-btn {
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.text-btn:hover {
  color: var(--orange);
}

.hero-badge-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 0.85rem;
}

.hero-badge-trust i {
  color: var(--orange);
}

.side-label {
  position: absolute;
  right: 25px;
  bottom: 80px;
  z-index: 2;
  color: #ffffffa6;
  font-size: 10px;
  letter-spacing: 3px;
  writing-mode: vertical-rl;
}

/* Trust Strip */
.trust-strip {
  background: var(--cream);
  border-bottom: 1px solid #e7ebf0;
  padding: 22px 0;
}

.trust-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.trust-item b {
  font-size: 1.3rem;
  color: var(--orange);
}

.section {
  padding: 90px 0;
}

/* ============================================================
       COMPLETE ABOUT US SECTION
    ============================================================ */
/* Waterfall landscape background for the About Us section */
.about.section {
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.82)),
    url("assets/about-waterfall-bg.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 0;
}
.about-lead {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}
.about-lead h2 {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 14px;
}
.about-lead h2 em {
  font-style: normal;
  color: var(--orange);
}
.about-lead p {
  font-size: 1.1rem;
  color: #526178;
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-bottom: 60px;
}
.about-pillar-card {
  background: var(--cream);
  border-radius: 10px;
  padding: 36px 32px;
  border-left: 5px solid var(--orange);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}
.about-pillar-card h3 {
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-pillar-card h3 i {
  color: var(--orange);
}
.about-pillar-card p {
  font-size: 0.98rem;
  color: #556882;
  line-height: 1.75;
  margin-bottom: 12px;
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 65px;
}
.what-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  transition: 0.25s;
}
.what-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #ffc49e;
}
.what-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #fff4ea;
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.what-card h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.what-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.65;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.why-item {
  display: flex;
  gap: 14px;
  background: #ffffff;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.why-item i {
  color: var(--orange);
  font-size: 1.25rem;
  margin-top: 3px;
}
.why-item strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 4px;
}
.why-item span {
  font-size: 0.9rem;
  color: #5b6e88;
  line-height: 1.6;
}

.about-banner-quote {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 40px 45px;
  text-align: center;
  margin-top: 55px;
  position: relative;
}
.about-banner-quote h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 12px;
  color: #fff;
}
.about-banner-quote h3 span {
  color: var(--orange);
}
.about-banner-quote p {
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 auto 20px;
  font-size: 1.02rem;
}

/* Services Section */
.services {
  background: var(--cream);
  margin-top: 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--navy);
}

.section-heading h2 em {
  font-style: normal;
  color: var(--orange);
}

.section-heading p {
  max-width: 420px;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px;
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #ffc49e;
}

.service-card .num {
  color: #a4b3c6;
  font-weight: 800;
  font-size: 0.85rem;
}

.service-card .icon-box {
  position: absolute;
  right: 28px;
  top: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff0e0;
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.service-card h3 {
  font-size: 1.45rem;
  color: var(--navy);
  margin: 38px 0 12px;
}

.service-card p {
  color: #5f728d;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-card b {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  color: #7b8ea7;
  text-transform: uppercase;
}

/* ============================================================
       FRANCHISE AND VENDOR APPLICATION PORTAL
    ============================================================ */
.portal-section {
  background: #fff;
}

.portal-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 30px;
}

.tab-bar {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}

.tab-btn {
  flex: 1;
  padding: 18px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s;
  border-bottom: 3px solid transparent;
}

.tab-btn.active {
  color: var(--orange);
  background: #fff;
  border-bottom-color: var(--orange);
}

.tab-btn:hover:not(.active) {
  background: #e2e8f0;
  color: var(--ink);
}

.tab-content {
  padding: 36px 32px;
}

.portal-view {
  display: none;
}

#partner-portal {
  scroll-margin-top: 96px;
}

.portal-view.active {
  display: block;
}

/* Customer Dashboard View Styling */
.dashboard-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.dash-user-info h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.dash-user-info p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.dash-badge {
  background: rgba(245, 130, 9, 0.2);
  border: 1px solid var(--orange);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 800;
  color: #fff;
  font-size: 0.9rem;
}
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.dash-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fafbfc;
}
.dash-card h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-card h4 i {
  color: var(--orange);
}

/* Form Grids */
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.col-span-1 {
  grid-column: span 1;
}

.col-span-2 {
  grid-column: span 2;
}

.col-span-3 {
  grid-column: span 3;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #3b506e;
}

.form-group label i {
  font-style: normal;
  color: var(--orange);
  font-weight: 600;
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid #d5dce6;
  border-radius: 5px;
  font-size: 0.95rem;
  outline: none;
  transition: 0.2s;
  background: #fff;
  color: var(--ink);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #ffe6db;
}

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

.status-msg {
  display: none;
  padding: 14px 18px;
  margin-bottom: 20px;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* LOCATIONS & MAP */
.locations {
  background: var(--cream);
}

.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.location-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--navy);
}

.location-copy h2 em {
  font-style: normal;
  color: var(--orange);
}

.location-copy p {
  font-size: 1.02rem;
  color: #556882;
  line-height: 1.8;
  margin-bottom: 25px;
}

.address-card {
  display: flex;
  gap: 18px;
  margin-bottom: 25px;
  background: #fff;
  padding: 22px;
  border-radius: 6px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.address-card .pin {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff4ea;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.address-card strong {
  color: var(--navy);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 6px;
}

.map-container {
  background: #fff;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.map-iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 6px;
  display: block;
}

/* ============================================================
       CUSTOMER AUTHENTICATION MODAL (LOGIN / REGISTER / FORGOT)
    ============================================================ */
.auth-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 25, 51, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 5000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-modal-overlay.open {
  display: flex;
}

.auth-modal-card {
  background: #ffffff;
  width: min(520px, 100%);
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  animation: modalSlide 0.25s ease-out;
}
@keyframes modalSlide {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-close-btn {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.6rem;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  transition: 0.2s;
  line-height: 1;
}
.auth-close-btn:hover {
  color: var(--orange);
}

.auth-tab-bar {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}
.auth-tab-btn {
  flex: 1;
  padding: 16px 10px;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: 0.2s;
}
.auth-tab-btn.active {
  color: var(--navy);
  background: #ffffff;
  border-bottom-color: var(--orange);
}

.auth-body {
  padding: 28px 30px;
  max-height: 85vh;
  overflow-y: auto;
}
.auth-view {
  display: none;
}
.auth-view.active {
  display: block;
}

.auth-header {
  text-align: center;
  margin-bottom: 22px;
}
.auth-header h3 {
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.auth-header p {
  font-size: 0.88rem;
  color: var(--muted);
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.auth-input-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.auth-input-group input {
  padding: 12px 14px;
  border: 1px solid #d5dce6;
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
  transition: 0.2s;
  background: #fff;
}
.auth-input-group input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #ffe6db;
}

/* Row for Gmail/ID next to Password */
.auth-dual-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.auth-helper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  margin-bottom: 20px;
}
.auth-helper-row a {
  color: var(--orange);
  font-weight: 700;
  cursor: pointer;
}
.auth-helper-row a:hover {
  text-decoration: underline;
}

.auth-btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.96rem;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.auth-btn-submit:hover {
  background: var(--orange);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-divider span {
  padding: 0 12px;
}

/* Google Sign-in Button */
.btn-google {
  width: 100%;
  padding: 11px;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
.btn-google:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}
.google-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

.auth-footer-switch {
  text-align: center;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}
.auth-footer-switch a {
  color: var(--orange);
  font-weight: 800;
  cursor: pointer;
}
.auth-footer-switch a:hover {
  text-decoration: underline;
}

.auth-msg-box {
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}
.auth-msg-box.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}
.auth-msg-box.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* FOOTER — reference layout (four columns, navy gradient, orange accents) */
footer.site-footer {
  display: block;
  position: relative;
  background: linear-gradient(180deg, #0b2550 0%, #071b38 55%, #04122a 100%);
  color: #c9d3e2;
  padding: 64px 0 26px;
  font-family: inherit;
}

footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 85% 0%,
    rgba(255, 121, 0, 0.06),
    transparent 55%
  );
}

.ft-wrap {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 6.3%;
}

footer.site-footer .ft-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.ft-col {
  min-width: 0;
}

.ft-logo {
  display: inline-block;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.ft-logo img {
  display: block;
  width: 190px;
  height: auto;
  filter: none;
}

.ft-desc {
  margin: 26px 0 22px;
  font-size: 15px;
  line-height: 1.85;
  color: #c9d3e2;
  max-width: 360px;
}

.ft-tagline {
  margin: 0;
  color: #ff7900;
  font-weight: 800;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.ft-heading {
  position: relative;
  margin: 0 0 26px;
  padding-bottom: 12px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.ft-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 2px;
  background: #ff7900;
  border-radius: 2px;
}

.ft-links,
.ft-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ft-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #dfe6f0;
  font-size: 15px;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.ft-links a i {
  color: #ff7900;
  font-size: 11px;
  transition: transform 0.25s ease;
}

.ft-links a:hover,
.ft-links a:focus-visible {
  color: #ff7900;
  transform: translateX(4px);
  outline: none;
}

.ft-links a:hover i {
  transform: translateX(2px);
}

.ft-contact li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: #c9d3e2;
}

.ft-contact li i {
  color: #ff7900;
  font-size: 17px;
  width: 22px;
  text-align: center;
  margin-top: 4px;
  flex: 0 0 22px;
}

.ft-contact a {
  color: #c9d3e2;
  transition: color 0.25s ease;
}

.ft-contact a:hover {
  color: #ff7900;
}

.ft-social {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ft-social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(16, 45, 89, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.ft-social-card:hover,
.ft-social-card:focus-visible {
  background: rgba(16, 45, 89, 0.9);
  border-color: rgba(255, 121, 0, 0.55);
  transform: translateY(-2px);
  outline: none;
}

.ft-social-card > i {
  font-size: 26px;
  width: 30px;
  text-align: center;
  flex: 0 0 30px;
}

.ft-social-card span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ft-social-card strong {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.ft-social-card small {
  font-size: 14px;
  color: #b9c4d6;
}

.ft-ig {
  color: #e1306c;
}
.ft-fb {
  color: #1877f2;
}
.ft-yt {
  color: #ff0000;
}

.ft-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  margin: 52px 0 26px;
}
.ft-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.ft-copy p {
  margin: 0;
  font-size: 15px;
  color: #c9d3e2;
  text-align: center;
}
.ft-line {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: #ff7900;
  border-radius: 2px;
}

/* Footer responsive */
@media (max-width: 1100px) {
  footer.site-footer .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px 40px;
  }
}
@media (max-width: 640px) {
  footer.site-footer {
    padding: 52px 0 22px;
  }
  .ft-wrap {
    padding: 0 6%;
  }
  footer.site-footer .ft-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .ft-heading {
    font-size: 19px;
  }
  .ft-desc {
    max-width: none;
  }
  .ft-copy {
    gap: 12px;
  }
  .ft-copy p {
    font-size: 13px;
  }
  .ft-line {
    width: 22px;
  }
}

/* Floating WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  right: 25px;
  bottom: 60px;
  left: 10px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: 0.25s;
}

.whatsapp-float {
  /* use your actual class name */
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  background: #20bd5a;
}

/* Responsive */
@media (max-width: 990px) {
  .menu-btn {
    display: block;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 25px 6%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  }
  .navlinks.open {
    display: flex;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .col-span-3 {
    grid-column: span 2;
  }
  .about-pillars-grid,
  .why-choose-grid,
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .what-we-do-grid {
    grid-template-columns: 1fr 1fr;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .side-label {
    display: none;
  }
}
@media (max-width: 640px) {
  .what-we-do-grid {
    grid-template-columns: 1fr;
  }
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .timeline-steps::before {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .col-span-1,
  .col-span-2,
  .col-span-3 {
    grid-column: span 1;
  }
  .auth-dual-row {
    grid-template-columns: 1fr;
  }
  .tab-content {
    padding: 20px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
  .text-btn {
    margin-left: 0;
    justify-content: center;
  }
}

/* Leadraft-inspired editorial layout motion: gentle page-turn reveals */
.motion-reveal {
  opacity: 0;
  transform: perspective(1200px) rotateY(5deg) translateY(26px);
  transform-origin: left center;
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.2, 0.75, 0.25, 1);
  backface-visibility: hidden;
  will-change: opacity, transform;
}
.motion-reveal.is-visible {
  opacity: 1;
  transform: perspective(1200px) rotateY(0) translateY(0);
}
.motion-reveal.flip-from-right {
  transform-origin: right center;
  transform: perspective(1200px) rotateY(-5deg) translateY(26px);
}
.motion-reveal.flip-from-right.is-visible {
  transform: perspective(1200px) rotateY(0) translateY(0);
}
.motion-stagger > * {
  opacity: 0;
  transform: translateY(24px) rotateX(-3deg);
  transition:
    opacity 0.65s ease,
    transform 0.75s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.motion-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}
.motion-stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.1s;
}
.motion-stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.18s;
}
.motion-stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.26s;
}
.motion-stagger.is-visible > *:nth-child(5) {
  transition-delay: 0.34s;
}
.service-card,
.about-pillar-card,
.partner-form,
.map-frame,
.trust-item {
  position: relative;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.5s ease,
    border-color 0.35s ease,
    filter 0.35s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.service-card::after,
.about-pillar-card::after,
.partner-form::after,
.map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 15%,
    rgba(255, 255, 255, 0.42) 45%,
    transparent 65%
  );
  opacity: 0;
  transform: translateX(-70%);
  transition:
    transform 0.75s ease,
    opacity 0.35s ease;
}
.service-card:hover,
.service-card:focus-within,
.about-pillar-card:hover,
.about-pillar-card:focus-within,
.partner-form:hover,
.map-frame:hover {
  transform: perspective(900px) rotateY(-4deg) rotateX(2.5deg) translateY(-9px)
    translateZ(10px);
  box-shadow:
    0 28px 55px rgba(16, 40, 79, 0.19),
    0 8px 18px rgba(245, 130, 9, 0.1);
  border-color: rgba(245, 130, 9, 0.65);
  filter: saturate(1.04);
}
.service-card:hover::after,
.about-pillar-card:hover::after,
.partner-form:hover::after,
.map-frame:hover::after {
  opacity: 1;
  transform: translateX(70%);
}
.service-card i,
.about-pillar-card i {
  transition:
    transform 0.45s cubic-bezier(0.2, 0.75, 0.25, 1),
    filter 0.35s ease;
  transform: translateZ(18px);
}
.service-card:hover i,
.about-pillar-card:hover i {
  transform: translateZ(32px) rotateY(12deg) scale(1.12);
  filter: drop-shadow(0 7px 8px rgba(245, 130, 9, 0.24));
}
.trust-item:hover {
  transform: perspective(700px) translateY(-5px) rotateX(4deg);
  box-shadow: 0 14px 26px rgba(16, 40, 79, 0.1);
}
.btn,
.nav-cta,
.btn-customer-login,
.text-btn {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.25s ease,
    color 0.25s ease;
}
.btn:hover,
.nav-cta:hover,
.btn-customer-login:hover,
.text-btn:hover {
  transform: perspective(600px) translateY(-3px) rotateX(4deg);
  box-shadow: 0 12px 22px rgba(16, 40, 79, 0.18);
}
/* Location section: rotating 3D hover interactions */
.address-card,
.map-container {
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
  will-change: transform;
}
.address-card {
  overflow: hidden;
  border-color: var(--line);
}
.address-card::after,
.map-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.48) 48%,
    transparent 68%
  );
  opacity: 0;
  transform: translateX(-115%);
  transition:
    transform 0.8s ease,
    opacity 0.25s ease;
  z-index: 2;
}
.address-card:hover,
.address-card:focus-within {
  transform: perspective(900px) rotateY(-5deg) rotateX(3deg) translateY(-7px)
    translateZ(10px);
  box-shadow:
    0 22px 42px rgba(16, 40, 79, 0.15),
    0 7px 18px rgba(245, 130, 9, 0.12);
  border-color: rgba(245, 130, 9, 0.7);
}
.map-container:hover,
.map-container:focus-within {
  transform: perspective(1100px) rotateY(2.5deg) rotateX(1.5deg)
    translateY(-8px) scale(1.008);
  box-shadow:
    0 28px 55px rgba(16, 40, 79, 0.2),
    0 8px 20px rgba(245, 130, 9, 0.12);
  border-color: rgba(245, 130, 9, 0.75);
}
.address-card:hover::after,
.map-container:hover::after {
  opacity: 1;
  transform: translateX(115%);
}
.address-card .pin {
  transition:
    transform 0.5s cubic-bezier(0.2, 0.75, 0.25, 1),
    color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
  transform-style: preserve-3d;
}
.address-card:hover .pin {
  transform: translateZ(28px) rotateY(360deg) scale(1.08);
  color: #fff;
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(245, 130, 9, 0.28);
}
.under-link {
  transition:
    color 0.3s ease,
    transform 0.35s ease,
    border-color 0.3s ease;
}
.under-link i {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.under-link:hover,
.under-link:focus-visible {
  color: var(--orange-hover);
  transform: translateX(5px);
  border-color: var(--orange-hover);
}
.under-link:hover i,
.under-link:focus-visible i {
  transform: translate(4px, -3px) rotate(8deg);
}
.map-iframe {
  transition:
    transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1),
    filter 0.45s ease;
}
.map-container:hover .map-iframe {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.02);
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .address-card:hover,
  .address-card:focus-within,
  .map-container:hover,
  .map-container:focus-within {
    transform: none;
  }
  .map-container:hover .map-iframe {
    transform: none;
  }
  .address-card:hover .pin {
    transform: none;
  }
  .address-card::after,
  .map-container::after {
    display: none;
  }
}
@media (hover: none) {
  .service-card:hover,
  .about-pillar-card:hover,
  .partner-form:hover,
  .map-frame:hover {
    transform: none;
  }
}
.hero-content > * {
  animation: heroPageIn 0.75s both;
}
.hero-content > *:nth-child(2) {
  animation-delay: 0.12s;
}
.hero-content > *:nth-child(3) {
  animation-delay: 0.23s;
}
.hero-content > *:nth-child(4) {
  animation-delay: 0.34s;
}
@keyframes heroPageIn {
  from {
    opacity: 0;
    transform: translateY(24px) rotateX(-5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Double-sided location card: flip to reveal directions */
.location-flip-card {
  width: 100%;
  min-height: 188px;
  margin: 30px 0 18px;
  perspective: 1100px;
  outline: none;
  cursor: pointer;
}
.location-flip-inner {
  position: relative;
  width: 100%;
  min-height: 188px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1);
}

/* Around line 1581 in index.css */

.location-flip-card:hover .location-flip-inner,
.location-flip-card:focus .location-flip-inner,
.location-flip-card:focus-within .location-flip-inner {
  transform: rotateY(180deg);
}
.location-card-face {
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 188px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 12px 28px rgba(16, 40, 79, 0.08);
}
.location-card-front {
  transform: rotateY(0deg);
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.location-flip-card .location-card-front:hover,
.location-flip-card .location-card-front:focus-within {
  transform: rotateY(0deg);
}
.location-flip-card:hover .location-card-front,
.location-flip-card:focus .location-card-front {
  border-color: rgba(245, 130, 9, 0.7);
}
.location-card-front .pin {
  flex: 0 0 38px;
}
.flip-hint {
  display: block;
  margin-top: 12px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.flip-hint i {
  margin-right: 5px;
}
.location-card-back {
  transform: rotateY(180deg);
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(245, 130, 9, 0.35),
      transparent 38%
    ),
    linear-gradient(135deg, #10284f, #071933);
  border-color: rgba(245, 130, 9, 0.55);
  box-shadow: 0 18px 38px rgba(7, 25, 51, 0.22);
}
.back-pin {
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 34px;
}
.back-eyebrow {
  color: #ffad4c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
}
.location-card-back strong {
  color: #fff;
  font-size: 16px;
}
.location-card-back p {
  margin: 0;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  line-height: 1.6;
}
.location-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 3px;
  padding: 9px 12px;
  border-radius: 7px;
  color: #10284f;
  background: #ff9a21;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
.location-back-link:hover,
.location-back-link:focus-visible {
  transform: translateY(-2px) scale(1.04);
  background: #ffb04f;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
.location-back-link i {
  transition: transform 0.25s ease;
}
.location-back-link:hover i {
  transform: translate(2px, -2px);
}
.location-flip-card:focus-visible {
  outline: 3px solid rgba(245, 130, 9, 0.7);
  outline-offset: 5px;
  border-radius: 14px;
}
@media (max-width: 600px) {
  .location-card-face {
    padding: 20px;
  }
  .location-card-back strong {
    max-width: 85%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .location-flip-inner,
  .location-back-link {
    transition: none;
  }
}

/* Homepage motion polish: animated hero, richer 3D controls, and clear keyboard focus */
/* ===== Animated hero scene (layers aligned to the hero box) ===== */
.company-hero .hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform-origin: 64% 46%;
  animation: cinematicZoom 26s ease-in-out infinite alternate;
}
.company-hero .hero-depth {
  position: absolute;
  inset: 0;
  transform: translate3d(
    calc(var(--px, 0) * -12px),
    calc(var(--py, 0) * -8px + var(--sy, 0) * 0.05px),
    0
  );
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.company-hero .hero-depth .hero-layer {
  position: absolute;
  inset: 0;
}
/* Macaw: a softly feathered copy of the photo that sways gently */
.company-hero .fx-macaw,
.company-hero .fx-water {
  display: none;
}
.company-hero .fx-scene {
  pointer-events: none;
}
/* Waterfall: streaks flowing downward over the falls */
.company-hero .fx-water {
  position: absolute;
  left: 58%;
  width: 34%;
  top: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    98deg,
    transparent 0 20px,
    rgba(255, 255, 255, 0.2) 27px,
    transparent 38px
  );
  background-size: 240px 240px;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 25%,
    #000 75%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 25%,
    #000 75%,
    transparent
  );
  animation: waterFlow 1.4s linear infinite;
}
/* Sunlight: glow and slowly turning rays from the top-left */
.company-hero .fx-sun {
  position: absolute;
  left: -22%;
  top: -45%;
  width: 80%;
  height: 110%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 200, 90, 0.55) 0,
    rgba(255, 200, 90, 0.12) 12%,
    transparent 28%
  );
  mix-blend-mode: screen;
  animation: sunPulse 7s ease-in-out infinite alternate;
}
.company-hero .fx-sun::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    rgba(255, 214, 120, 0.16) 0deg 3deg,
    transparent 3deg 15deg
  );
  -webkit-mask-image: radial-gradient(
    circle at 50% 50%,
    #000 0,
    transparent 60%
  );
  mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 60%);
  animation: sunSpin 120s linear infinite;
}
/* Floating leaves */
.company-hero .leaf {
  position: absolute;
  width: 18px;
  height: 9px;
  border-radius: 0 100% 0 100%;
  background: linear-gradient(135deg, #9be37a, #2d7a2e);
  opacity: 0;
  animation: leafDrift var(--dur, 14s) linear var(--delay, 0s) infinite;
}
@keyframes cinematicZoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.12);
  }
}
@keyframes macawSway {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(0.35deg);
  }
}
@keyframes waterFlow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 240px;
  }
}
@keyframes sunSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes sunPulse {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}
@keyframes leafDrift {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0deg);
  }
  10% {
    opacity: 0.9;
  }
  50% {
    transform: translate(38px, 150px) rotate(180deg);
  }
  90% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(-22px, 300px) rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .company-hero .hero-stage,
  .company-hero .hero-stage *,
  .company-hero .hero-depth {
    animation: none !important;
    transition: none !important;
  }
  .company-hero .leaf {
    display: none;
  }
}
.company-hero .hero-overlay {
  background-size: 180% 100%;
  animation: overlayGlow 12s ease-in-out infinite alternate;
}
.company-hero .hero-eyebrow {
  animation: eyebrowIn 0.8s 0.05s both;
}
.company-hero h1 {
  animation: headlineRise 0.95s 0.12s both;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.company-hero .hero-copy {
  animation: headlineRise 0.9s 0.25s both;
}
.company-hero .hero-quote {
  animation: headlineRise 0.9s 0.36s both;
}
@keyframes heroBackgroundDrift {
  from {
    transform: scale(1.015) translateX(0);
  }
  to {
    transform: scale(1.09) translateX(-1.2%);
  }
}
@keyframes overlayGlow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}
@keyframes eyebrowIn {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes headlineRise {
  from {
    opacity: 0;
    transform: perspective(800px) translateY(28px) rotateX(-7deg);
  }
  to {
    opacity: 1;
    transform: perspective(800px) translateY(0) rotateX(0);
  }
}
/* A polished 3D press, lift and light-sweep effect for all actual buttons and CTA links */
.btn,
button,
.nav-cta,
.company-secondary-cta,
.text-btn,
.under-link,
.submit,
.whatsapp-btn,
.whatsapp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.32s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  transform-style: preserve-3d;
}
.btn::before,
button::before,
.nav-cta::before,
.submit::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  left: -80%;
  width: 48%;
  height: 180%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.42),
    transparent
  );
  transform: skewX(-22deg);
  transition: left 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.btn:hover::before,
button:hover::before,
.nav-cta:hover::before,
.submit:hover::before {
  left: 140%;
}
.btn-orange,
.nav-cta,
.submit,
.btn-customer-login {
  box-shadow:
    0 7px 0 rgba(116, 57, 0, 0.2),
    0 12px 24px rgba(245, 130, 9, 0.18);
}
.btn-orange:hover,
.nav-cta:hover,
.submit:hover,
.btn-customer-login:hover {
  transform: perspective(650px) translateY(-5px) rotateX(7deg) scale(1.025);
  box-shadow:
    0 5px 0 rgba(116, 57, 0, 0.18),
    0 20px 34px rgba(245, 130, 9, 0.32);
  filter: saturate(1.12);
}
.btn-white:hover,
.tab-btn:hover,
button:not(.btn-orange):not(.menu-btn):hover {
  transform: perspective(650px) translateY(-3px) rotateX(4deg);
  box-shadow: 0 12px 24px rgba(8, 28, 59, 0.16);
  border-color: rgba(245, 130, 9, 0.4);
}
.btn:active,
button:active,
.nav-cta:active,
.submit:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 3px 8px rgba(8, 28, 59, 0.18);
}
.btn:focus-visible,
button:focus-visible,
.nav a:focus-visible,
.company-secondary-cta:focus-visible,
.text-btn:focus-visible {
  outline: 3px solid #ffb45c;
  outline-offset: 4px;
}
.nav a:not(.nav-cta) {
  transition:
    color 0.25s ease,
    transform 0.3s ease,
    text-shadow 0.3s ease;
}
.nav a:not(.nav-cta):hover {
  transform: translateY(-3px) rotateX(7deg);
  text-shadow: 0 8px 18px rgba(245, 130, 9, 0.22);
}
.whatsapp,
.whatsapp-btn {
  animation: whatsappPulse 3s ease-in-out infinite;
}
.whatsapp:hover,
.whatsapp-btn:hover {
  transform: perspective(500px) translateY(-5px) rotateY(-12deg) scale(1.1);
  animation-play-state: paused;
}
@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow:
      0 8px 25px rgba(0, 0, 0, 0.2),
      0 0 0 0 rgba(37, 211, 102, 0.25);
  }
  50% {
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.22),
      0 0 0 10px rgba(37, 211, 102, 0);
  }
}
@media (hover: none) {
  .btn:hover,
  button:hover,
  .nav-cta:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .motion-reveal,
  .motion-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* Refreshed rotational hover effects — partner application portal */
.portal-box {
  perspective: 1400px;
  transform-style: preserve-3d;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.55s ease,
    border-color 0.35s ease;
  border-radius: 14px;
}
.portal-box:hover {
  transform: perspective(1400px) rotateX(1.2deg) rotateY(-1.2deg)
    translateY(-5px);
  box-shadow:
    0 28px 60px rgba(8, 28, 59, 0.17),
    0 8px 24px rgba(245, 130, 9, 0.1);
  border-color: rgba(245, 130, 9, 0.45);
}
.tab-btn {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.35s ease;
}
.tab-btn:hover:not(.active),
.tab-btn:focus-visible {
  transform: perspective(700px) rotateY(-7deg) rotateX(5deg) translateY(-3px)
    translateZ(8px);
  box-shadow: 0 10px 20px rgba(16, 40, 79, 0.12);
}
.tab-btn.active {
  transform: translateZ(4px);
}
.portal-view.active {
  animation: portalFlipIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transform-origin: 50% 35%;
}
@keyframes portalFlipIn {
  from {
    opacity: 0;
    transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) translateY(12px);
  }
  to {
    opacity: 1;
    transform: perspective(1000px) rotateY(0) rotateX(0) translateY(0);
  }
}
.partner-form {
  transform-origin: center center;
  transition:
    transform 0.48s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.48s ease,
    border-color 0.35s ease;
  will-change: transform;
}
.partner-form:hover,
.partner-form:focus-within {
  transform: perspective(1100px) rotateY(3.5deg) rotateX(1.5deg)
    translateY(-7px) translateZ(12px);
  box-shadow:
    0 30px 58px rgba(16, 40, 79, 0.2),
    0 8px 22px rgba(245, 130, 9, 0.13);
  border-color: rgba(245, 130, 9, 0.72);
}
.partner-form .form-top span {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  transform-style: preserve-3d;
}
.partner-form:hover .form-top span {
  transform: perspective(500px) rotateY(18deg) rotateX(7deg) scale(1.06);
  box-shadow: 0 8px 16px rgba(245, 130, 9, 0.24);
}
.partner-form input:hover,
.partner-form select:hover,
.partner-form textarea:hover {
  border-color: rgba(245, 130, 9, 0.7);
  box-shadow: 0 5px 14px rgba(16, 40, 79, 0.07);
  transform: perspective(500px) rotateX(1.5deg) translateY(-1px);
}
.partner-form input,
.partner-form select,
.partner-form textarea {
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.partner-form .submit:hover,
.portal-box .btn:hover,
.portal-box button:hover {
  transform: perspective(600px) translateY(-4px) rotateY(-5deg) rotateX(6deg)
    scale(1.025);
  box-shadow: 0 14px 26px rgba(245, 130, 9, 0.25);
}
@media (hover: none) {
  .portal-box:hover,
  .tab-btn:hover:not(.active),
  .partner-form:hover,
  .partner-form:focus-within,
  .partner-form .submit:hover,
  .portal-box .btn:hover,
  .portal-box button:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal-view.active {
    animation: none;
  }
}

/* Strong 3D rotation hover effects for the Services cards */
#services .service-grid {
  perspective: 1400px;
  perspective-origin: 50% 45%;
}
#services .service-card {
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  transform: perspective(1100px) rotateX(0deg) rotateY(0deg) translateZ(0)
    scale(1);
  transform-style: preserve-3d;
  box-shadow: 0 5px 16px rgba(16, 40, 79, 0.045);
  transition:
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.55s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  will-change: transform;
}
#services .service-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(245, 130, 9, 0.24),
    transparent 36%,
    rgba(16, 40, 79, 0.12)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
#services .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.72) 46%,
    rgba(245, 130, 9, 0.12) 52%,
    transparent 70%
  );
  transform: translateX(-135%) skewX(-12deg);
  opacity: 0;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1),
    opacity 0.25s ease;
}
#services .service-card:nth-child(3n + 1):hover,
#services .service-card:nth-child(3n + 1):focus-within {
  transform: perspective(1100px) rotateX(7deg) rotateY(-11deg) translateY(-13px)
    translateZ(22px) scale(1.025);
}
#services .service-card:nth-child(3n + 2):hover,
#services .service-card:nth-child(3n + 2):focus-within {
  transform: perspective(1100px) rotateX(7deg) rotateY(0deg) translateY(-15px)
    translateZ(28px) scale(1.035);
}
#services .service-card:nth-child(3n):hover,
#services .service-card:nth-child(3n):focus-within {
  transform: perspective(1100px) rotateX(7deg) rotateY(11deg) translateY(-13px)
    translateZ(22px) scale(1.025);
}
@keyframes serviceFramePulse {
  0%,
  100% {
    outline-color: rgba(245, 130, 9, 0.88);
    outline-offset: 2px;
  }
  50% {
    outline-color: rgba(245, 130, 9, 0.28);
    outline-offset: 6px;
  }
}
#services .service-card:hover,
#services .service-card:focus-within {
  border-color: var(--orange);
  outline: 2px solid rgba(245, 130, 9, 0.72);
  outline-offset: 3px;
  background: linear-gradient(145deg, #fff 0%, #fffaf4 100%);
  box-shadow:
    inset 0 0 0 1px rgba(245, 130, 9, 0.22),
    0 30px 55px rgba(16, 40, 79, 0.2),
    0 12px 25px rgba(245, 130, 9, 0.19),
    0 0 0 1px rgba(245, 130, 9, 0.18);
  animation: serviceFramePulse 1.6s ease-in-out infinite;
}
/* Animated corner-frame accents for the service cards */
#services .service-card .num {
  transition:
    color 0.35s ease,
    transform 0.45s ease;
}
#services .service-card:hover .num,
#services .service-card:focus-within .num {
  color: var(--orange);
  transform: translateZ(28px);
}
#services .service-card:hover::before,
#services .service-card:focus-within::before {
  opacity: 1;
}
#services .service-card:hover::after,
#services .service-card:focus-within::after {
  opacity: 1;
  transform: translateX(135%) skewX(-12deg);
}
#services .service-card > small,
#services .service-card h3,
#services .service-card p,
#services .service-card > b {
  position: relative;
  z-index: 2;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.75, 0.25, 1),
    color 0.35s ease;
}
#services .service-card:hover > small {
  transform: translateZ(26px) translateY(-2px);
  color: var(--orange);
}
#services .service-card:hover h3 {
  transform: translateZ(38px);
  color: #0b1e3b;
}
#services .service-card:hover p {
  transform: translateZ(24px);
}
#services .service-card:hover > b {
  transform: translateZ(32px);
  color: var(--orange);
  letter-spacing: 1.8px;
}
#services .service-card .icon {
  transform: translateZ(25px) rotate(0deg) scale(1);
  box-shadow: 0 6px 16px rgba(245, 130, 9, 0.08);
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}
#services .service-card:hover .icon {
  transform: translateZ(48px) rotate(18deg) scale(1.18);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 25px rgba(245, 130, 9, 0.32);
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  #services .service-card:hover,
  #services .service-card:focus-within {
    animation: none;
    outline-offset: 0;
  }
  #services .service-card,
  #services .service-card:nth-child(3n + 1):hover,
  #services .service-card:nth-child(3n + 2):hover,
  #services .service-card:nth-child(3n):hover,
  #services .service-card:focus-within {
    transform: none;
  }
  #services .service-card::after {
    display: none;
  }
}

/* Home navigation: smooth left-to-right slide-in */
.company-hero-simple.home-slide-in {
  animation: homeHeroSlideIn 0.85s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.company-hero-simple.home-slide-in .hero-eyebrow {
  animation: homeChildSlide 0.7s 0.05s both;
}
.company-hero-simple.home-slide-in h1 {
  animation: homeChildSlide 0.8s 0.12s both;
}
.company-hero-simple.home-slide-in .hero-copy {
  animation: homeChildSlide 0.85s 0.2s both;
}
.company-hero-simple.home-slide-in .hero-quote {
  animation: homeChildSlide 0.9s 0.28s both;
}
.home-extra-copy {
  max-width: 700px;
  margin-top: -10px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #d7e1ee;
}
@keyframes homeHeroSlideIn {
  from {
    opacity: 0.55;
    transform: translateX(-52px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes homeChildSlide {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .company-hero-simple.home-slide-in,
  .company-hero-simple.home-slide-in .hero-eyebrow,
  .company-hero-simple.home-slide-in h1,
  .company-hero-simple.home-slide-in .hero-copy,
  .company-hero-simple.home-slide-in .hero-quote {
    animation: none !important;
  }
}
@media (max-width: 760px) {
  .home-extra-copy {
    font-size: 0.95rem;
    margin-top: -4px;
  }
}

/* Services: left/right slide-in with a subtle rotating page reveal */
#services .service-grid {
  perspective: 1500px;
}
#services .service-grid.motion-stagger.is-visible > .service-card {
  animation: serviceSlideRotateIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
#services .service-grid.motion-stagger.is-visible > .service-card:nth-child(2) {
  animation-delay: 0.12s;
}
#services .service-grid.motion-stagger.is-visible > .service-card:nth-child(3) {
  animation-delay: 0.24s;
}
@keyframes serviceSlideRotateIn {
  from {
    opacity: 0;
    transform: perspective(1200px) translateX(-55px) rotateY(-13deg)
      rotateX(4deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: perspective(1200px) translateX(0) rotateY(0) rotateX(0) scale(1);
  }
}
#services .service-card:nth-child(2) {
  transform-origin: center center;
}
#services .service-card:nth-child(3) {
  transform-origin: right center;
}
#services .services-approach {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(190px, 0.65fr);
  gap: 24px;
  align-items: center;
  margin-top: 30px;
  padding: 28px 30px;
  border: 1px solid #e0e6ee;
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  background: linear-gradient(120deg, #fff 0%, #fffaf4 55%, #f5f8fc 100%);
  box-shadow: 0 10px 28px rgba(16, 40, 79, 0.06);
  transform-style: preserve-3d;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}
#services .services-approach:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(2deg) translateY(-5px);
  box-shadow:
    0 22px 42px rgba(16, 40, 79, 0.13),
    0 7px 18px rgba(245, 130, 9, 0.1);
  border-color: var(--orange);
}
#services .services-approach-mark {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ffad45);
  font-size: 1.65rem;
  box-shadow: 0 12px 22px rgba(245, 130, 9, 0.23);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
#services .services-approach:hover .services-approach-mark {
  transform: rotateY(180deg) rotateZ(-8deg) scale(1.06);
}
#services .services-approach-copy .eyebrow {
  margin-bottom: 7px;
}
#services .services-approach-copy h3 {
  color: var(--navy);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: 8px;
}
#services .services-approach-copy > p:last-child {
  color: #5f728d;
  line-height: 1.7;
  margin: 0;
}
#services .services-approach-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}
#services .services-approach-points i {
  color: var(--orange);
  margin-right: 8px;
}
/* HOW WE WORK panel text: navy #092653 for main text, orange #FF8500 for the heading and highlights */
#services .services-approach .services-approach-copy .eyebrow {
  color: #ff8500;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 1rem;
}
#services .services-approach .services-approach-copy h3 {
  color: #092653;
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1.2;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}
#services .services-approach .services-approach-copy > p:last-child {
  color: #092653;
  font-weight: 700;
  line-height: 1.75;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
}
#services .services-approach .services-approach-copy .sa-hl {
  color: #ff8500;
  font-weight: 800;
}
#services .services-approach-points,
#services .services-approach-points span {
  color: #092653;
  font-weight: 800;
  font-size: 1rem;
}
#services .services-approach-points i {
  color: #ff8500;
}
@media (max-width: 850px) {
  #services .services-approach {
    grid-template-columns: auto 1fr;
  }
  #services .services-approach-points {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}
@media (max-width: 560px) {
  #services .services-approach {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  #services .services-approach-mark {
    width: 54px;
    height: 54px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #services .service-grid.motion-stagger.is-visible > .service-card {
    animation: none;
  }
  #services .services-approach,
  #services .services-approach-mark {
    transition: none;
  }
}

/* Strong slide-in entrance for Services: staggered left/center/right reveals */
#services .section-heading > div,
#services .section-heading > p {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
#services .section-heading > div {
  transform: translateX(-72px);
}
#services .section-heading > p {
  transform: translateX(72px);
  transition-delay: 0.12s;
}
#services .section-heading.motion-heading-visible > div,
#services .section-heading.motion-heading-visible > p {
  opacity: 1;
  transform: translateX(0);
}
#services .service-grid.motion-stagger > .service-card {
  opacity: 0;
  transform: perspective(1100px) translateX(-90px) rotateY(13deg) rotateX(3deg)
    scale(0.96);
  transition:
    opacity 0.75s ease,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.55s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}
#services .service-grid.motion-stagger > .service-card:nth-child(2) {
  transform: perspective(1100px) translateY(55px) rotateX(-9deg) scale(0.96);
}
#services .service-grid.motion-stagger > .service-card:nth-child(3) {
  transform: perspective(1100px) translateX(90px) rotateY(-13deg) rotateX(3deg)
    scale(0.96);
}
#services .service-grid.motion-stagger.is-visible > .service-card {
  opacity: 1;
  transform: perspective(1100px) translateX(0) translateY(0) rotateY(0)
    rotateX(0) scale(1);
}
#services .service-grid.motion-stagger.is-visible > .service-card:nth-child(2) {
  transition-delay: 0.14s;
}
#services .service-grid.motion-stagger.is-visible > .service-card:nth-child(3) {
  transition-delay: 0.28s;
}
#services .services-approach {
  opacity: 0;
  transform: translateY(45px) rotateX(-5deg);
  transition:
    opacity 0.8s ease 0.18s,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}
#services .services-approach.motion-approach-visible {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}
@media (prefers-reduced-motion: reduce) {
  #services .section-heading > div,
  #services .section-heading > p,
  #services .service-grid.motion-stagger > .service-card,
  #services .services-approach {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Services section scenic background (waterfall) */
#services.services {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(245, 247, 250, 0.48), rgba(245, 247, 250, 0.58)),
    url("assets/services-waterfall-macaw-bg.jpg") center center / cover
      no-repeat;
}
#services.services > .container {
  position: relative;
  z-index: 1;
}
/* About section: remove the panel boxes, keep the text */
.about-pillars-grid .about-pillar-card {
  background: transparent !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.about-pillars-grid .about-pillar-card::after {
  display: none !important;
}
/* What We Do: transparent cards (no white box, border or shadow) */
.what-card,
.what-card:hover {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Join banner: transparent, no navy box; soft text shadow keeps text readable on the photo */
.about-banner-quote {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow:
    0 1px 10px rgba(6, 24, 53, 0.55),
    0 0 2px rgba(6, 24, 53, 0.35);
}
/* Services cards: transparent, no white box, border or shadow; light glow keeps text readable on the photo */
#services .service-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.85),
    0 0 2px rgba(255, 255, 255, 0.6);
}
#services .service-card::after {
  display: none !important;
}
/* How We Work panel: premium glass container over the waterfall photo. Orange left border and rounded corners are kept. */
#services .services-approach,
#services .services-approach:hover {
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 250, 244, 0.88) 55%,
    rgba(244, 248, 253, 0.9) 100%
  ) !important;
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  backdrop-filter: blur(10px) saturate(115%);
  box-shadow:
    0 12px 34px rgba(8, 38, 83, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
}
#services .services-approach-copy {
  text-shadow: none;
}
/* Location card, partner portal and application form: transparent, no box, border or shadow.
       Inputs keep their own backgrounds so the form stays easy to use. */
.address-card,
.location-card-face,
.location-card-front,
.location-card-back,
.portal-box,
.partner-form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.portal-box {
  overflow: visible !important;
}
.portal-box:hover,
.partner-form:hover,
.address-card:hover {
  box-shadow: none !important;
}
/* Map frame: transparent, no white box, border or shadow */
.map-container,
.map-container:hover {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ============================================================
       HOMEPAGE FULL-SCREEN HERO (scoped to the index.html home page)
       Background: home-hero-sunset.jpeg, cover + centre, no stretching
    ============================================================ */
/* ============================================================
       HOMEPAGE HEADER: fully transparent, sunset-sky style.
       Logo left, six links right, hamburger on tablet/mobile.
    ============================================================ */
/* ============================================================
       HOMEPAGE HEADER: fully transparent over the sunset hero.
       Logo left, six links right, hamburger on tablet and mobile.
    ============================================================ */
header.site-header.home-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border: 0;
  box-shadow: none;
}
header.site-header.home-header::before {
  content: none;
}
header.site-header.home-header nav {
  min-height: 96px;
}

/* Logo: original artwork, no added border, radius or shadow */
header.site-header.home-header .brand img {
  border-radius: 0;
  box-shadow: none;
}

/* Six links, right-aligned, bright white with a subtle shadow */
header.site-header.home-header .navlinks {
  margin-left: auto;
  gap: 26px;
}
header.site-header.home-header .navlinks a {
  color: #ffffff;
  position: relative;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease,
    transform 0.3s ease;
}
header.site-header.home-header .navlinks a:hover,
header.site-header.home-header .navlinks a:focus-visible {
  color: #ff7900;
}
/* Active item (Home) and its icon: bright orange with a thin underline */
header.site-header.home-header .navlinks a.nav-home,
header.site-header.home-header .navlinks a.nav-home i {
  color: #f3f1ef;
}

header.site-header.home-header .navlinks a.nav-home ::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: #d77e0a;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 121, 0, 0.6);
}

/* Hamburger: transparent, white icon, hidden on desktop */
header.site-header.home-header .menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

/* Tablet and mobile: hamburger; links open in a readable navy panel */
@media (max-width: 1024px) {
  header.site-header.home-header .menu-btn {
    display: grid;
  }
  header.site-header.home-header .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 6% 16px;
    background: rgba(16, 45, 89, 0.86);
    border: 0;
    box-shadow: none;
  }
  header.site-header.home-header .navlinks.open {
    display: flex;
  }
  header.site-header.home-header .navlinks li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  header.site-header.home-header .navlinks li:last-child {
    border-bottom: 0;
  }
  header.site-header.home-header .navlinks a {
    display: block;
    padding: 14px 4px;
    font-size: 1rem;
  }
  header.site-header.home-header .navlinks a.nav-home::after {
    display: none;
  }
}
@media (max-width: 480px) {
  header.site-header.home-header .brand img {
    height: 50px;
  }
}

/* Full-screen hero */
.company-hero {
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  background-color: var(--navy-dark);
}
.company-hero .hero-bg {
  background-image: url("assets/hero_bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--navy-dark);
}
.company-hero .hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(7, 25, 51, 0.3) 0%,
    rgba(10, 30, 58, 0.1) 45%,
    rgba(10, 30, 58, 0.02) 100%
  );
}

/* Keep the truck in frame on narrow portrait screens */
@media (max-width: 760px) {
  .company-hero .hero-bg {
    background-position: 68% center;
  }
  .company-hero .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(7, 25, 51, 0.38) 0%,
      rgba(7, 25, 51, 0.12) 45%,
      rgba(7, 25, 51, 0.3) 100%
    );
  }
}
@media (max-width: 480px) {
  .company-hero .hero-bg {
    background-position: 72% center;
  }
}
/* ============================================================
       ABOUT US: bright outdoor sky background (from reference image)
       Intro text sits in a subtle frosted glass panel for readability.
    ============================================================ */
.about.section {
  background-color: #8fd0f5;
  background-image: url("assets/about-sky-bg.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.about.section .about-lead {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  padding: 44px 48px 36px;
  box-shadow: 0 18px 40px rgba(20, 60, 120, 0.12);
}
.about.section .about-lead .eyebrow {
  color: #0a1a3f;
  font-weight: 800;
}
.about.section .about-lead h2 {
  color: #0a1a3f;
}
.about.section .about-lead h2 em {
  color: #f58209;
}
.about.section .about-lead p {
  color: #0a1a3f;
  font-weight: 600;
}
/* On tablet/phone the About container is taller than the viewport, so the scroll-reveal
       can never reach its 12% threshold; show About content directly at these sizes. */
@media (max-width: 990px) {
  .about.section .container.motion-reveal {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 760px) {
  .about.section .about-lead {
    padding: 28px 22px 24px;
    border-radius: 16px;
  }
  .about.section .about-lead h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }
  .about.section .about-lead p {
    font-size: 1rem;
  }
}
/* ============================================================
       WHY CHOOSE ONTHEWAY LOGISTICS: full-width sky background (from reference)
       with a semi-transparent glass content panel.
    ============================================================ */
.why-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 48px;
  padding: 70px 6% 76px;
  background-color: #8fd0f5;
  background-image: url("assets/why-choose-sky-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.why-glass {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  padding: 48px 52px 44px;
  box-shadow: 0 18px 40px rgba(20, 60, 120, 0.1);
}
.why-section .eyebrow {
  color: #0a1a3f;
  font-weight: 800;
}
.why-section h3 {
  color: #0a1a3f;
  font-weight: 800;
  line-height: 1.15;
}
.why-section h3 em {
  font-style: normal;
  color: #f58209;
}
.why-section .why-choose-grid {
  grid-template-columns: 1fr 1fr;
  gap: 34px 48px;
}
.why-section .why-item {
  background: transparent;
  border: 0;
  padding: 4px 0;
  align-items: flex-start;
}
.why-section .why-item i {
  font-size: 1.6rem;
  margin-top: 2px;
  width: 32px;
  text-align: center;
}
.why-section .why-item strong {
  color: #0a1a3f;
  font-size: 1.1rem;
  font-weight: 800;
}
.why-section .why-item span {
  color: #0a1a3f;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}
@media (max-width: 990px) {
  .why-section {
    padding: 56px 5% 60px;
  }
  .why-glass {
    padding: 36px 32px 34px;
  }
}
@media (max-width: 620px) {
  .why-section {
    padding: 40px 4% 44px;
  }
  .why-glass {
    padding: 26px 20px 24px;
    border-radius: 16px;
  }
  .why-section .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .why-section h3 {
    font-size: 1.7rem !important;
  }
}
/* ============================================================
       JOIN ONTHEWAY LOGISTICS: full-width waterfall photo background (from reference)
       No cards, panels or glass: the photo stays fully visible.
    ============================================================ */
.about-banner-quote.join-banner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 56px;
  padding: 88px 6% 96px;
  text-align: center;
  color: #10366b;
  background: url("assets/join-waterfall-bg.jpg") center center / cover
    no-repeat #7fc8e8 !important;
  text-shadow: none;
}
@media (min-width: 900px) {
  .join-banner .join-tagline span {
    white-space: nowrap;
  }
  .join-banner h3 {
    white-space: nowrap;
    font-size: clamp(2rem, 3.3vw, 3rem);
  }
}
.join-banner .join-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #10366b;
  margin: 0 0 14px;
}
.join-banner .join-tagline::before,
.join-banner .join-tagline::after {
  content: "";
  width: 72px;
  height: 1px;
  background: #10366b;
}
.join-banner h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  color: #10366b;
  margin: 0 0 22px;
  letter-spacing: -0.5px;
}
.join-banner h3 span {
  color: #ff8500;
}
.join-banner .join-intro {
  max-width: 880px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
  line-height: 1.75;
  font-weight: 500;
  color: #10366b;
}
.join-actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 230px;
  padding: 16px 30px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.3s ease,
    background 0.25s ease,
    color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.join-btn i {
  font-size: 1.2rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.join-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.join-btn:hover {
  transform: translateY(-4px);
}
.join-btn:hover::after {
  left: 130%;
}
.join-btn:hover i {
  transform: scale(1.15) rotate(-6deg);
}
.join-btn:active {
  transform: translateY(0) scale(0.98);
}
.join-btn:focus-visible {
  outline: 3px solid #10366b;
  outline-offset: 3px;
}
.join-btn-franchise {
  background: #ff8500;
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 133, 0, 0.35);
}
.join-btn-franchise:hover {
  background: #e97600;
  box-shadow: 0 16px 32px rgba(255, 133, 0, 0.45);
}
.join-btn-franchise i {
  color: #fff;
}
.join-btn-vendor {
  background: #fff;
  color: #10366b;
  box-shadow: 0 10px 24px rgba(16, 54, 107, 0.22);
}
.join-btn-vendor:hover {
  background: #f4f8fc;
  box-shadow: 0 16px 32px rgba(16, 54, 107, 0.3);
}
.join-btn-vendor i {
  color: #10366b;
}
.join-more {
  max-width: 880px;
  margin: 0 auto;
}
.join-banner .join-intro,
.join-more p {
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.85),
    0 0 4px rgba(255, 255, 255, 0.6);
}
.join-more p {
  color: #10366b !important;
  font-weight: 600;
}
.join-more p[style] {
  font-style: italic;
}
@media (max-width: 760px) {
  .about-banner-quote.join-banner {
    padding: 60px 5% 64px;
  }
  .join-banner .join-tagline {
    font-size: 0.72rem;
    letter-spacing: 1px;
    gap: 10px;
  }
  .join-banner .join-tagline::before,
  .join-banner .join-tagline::after {
    width: 28px;
  }
  .join-banner .join-intro {
    font-size: 1rem;
  }
  .join-actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .join-btn {
    width: 100%;
    max-width: 320px;
    min-width: 0;
  }
}
/* ============================================================
       SERVICES SUITE: snowy mountain photo band (from reference)
       Transparent service columns, white circular icons, navy/orange text.
    ============================================================ */
#services {
  padding-top: 0;
}

#services .services-band {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 96px 0 84px;
  background-color: #bfe3f7;
  background-image: url("assets/services-band-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
#services .services-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0) 55%
  );
}

#services .services-band > .container {
  position: relative;
  z-index: 1;
}
#services .section-heading .eyebrow {
  color: #102d59;
  font-weight: 800;
  letter-spacing: 2px;
}
#services .section-heading h2 {
  color: #102d59;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.08;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.35);
}
#services .section-heading h2 em {
  color: #ff8500;
}
#services .section-heading > p {
  color: #0a1a3f;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 440px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}
#services .service-grid {
  gap: 44px;
  margin-top: 10px;
}
#services .service-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 76px 1fr;
  column-gap: 16px;
  align-items: start;
  align-content: start;
}
#services .service-card::before,
#services .service-card::after {
  display: none !important;
}
#services .service-card:hover {
  transform: none;
  box-shadow: none !important;
  border-color: transparent !important;
}
#services .service-card > .icon-box {
  position: relative;
  top: auto;
  right: auto;
  grid-column: 1;
  grid-row: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  color: #ff8500;
  font-size: 1.75rem;
  box-shadow: 0 12px 26px rgba(16, 45, 89, 0.2);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.35s ease;
}
#services .service-card > .icon-box i {
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.25, 1);
}
#services .service-card:hover > .icon-box {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 18px 34px rgba(255, 133, 0, 0.38);
}
#services .service-card:hover > .icon-box i {
  transform: scale(1.12) rotate(-6deg);
}
#services .service-card > .num {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  color: #ff8500;
  font-size: 1rem;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}
#services .service-card > div {
  grid-column: 1 / -1;
  grid-row: 2;
}
#services .service-card h3 {
  color: #102d59;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 20px 0 10px;
  line-height: 1.2;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.85);
}
#services .service-card p {
  color: #0a1a3f;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.7;
  margin: 0;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}
#services .service-card > b {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: start;
  display: inline-block;
  margin-top: 18px;
  color: #ff8500;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease;
}
#services .service-card:hover > b {
  transform: translateX(6px);
  color: #ff8500;
  letter-spacing: 1.2px;
}
#services .service-card:hover h3 {
  color: #102d59;
  transform: none;
}
#services .service-card:hover p {
  transform: none;
}
@media (max-width: 990px) {
  #services .services-band {
    padding: 72px 0 60px;
  }
  #services .service-grid {
    gap: 36px;
  }
}
@media (max-width: 760px) {
  #services .section-heading {
    display: block;
  }
  #services .section-heading > p {
    margin-top: 22px;
    max-width: none;
  }
  #services .services-band {
    background-position: 0% center;
  }
}
@media (max-width: 560px) {
  #services .services-band {
    padding: 56px 0 44px;
  }
  #services .service-card > .icon-box {
    width: 64px;
    height: 64px;
    font-size: 1.45rem;
  }
  #services .service-card {
    grid-template-columns: 64px 1fr;
  }
  #services .service-card h3 {
    font-size: 1.4rem;
  }
}

/* Partner application portal: scenic mountain background + glass form */
#partner-portal {
  position: relative;
  isolation: isolate;
  background-color: #c9e8fa;
  background-image:
    linear-gradient(180deg, rgba(226, 244, 255, 0.1), rgba(14, 75, 125, 0.08)),
    url("assets/why-choose-sky-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}
#partner-portal > .container {
  position: relative;
  z-index: 1;
}
#partner-portal .eyebrow,
#partner-portal h2,
#partner-portal .container > div:first-child > p:last-child {
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.78);
}
#partner-portal .portal-box {
  background: rgba(222, 242, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(12, 48, 88, 0.16) !important;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  overflow: hidden !important;
}
#partner-portal .tab-bar {
  background: rgba(235, 247, 255, 0.64);
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
}
#partner-portal .tab-btn {
  color: #234b78;
}
#partner-portal .tab-btn.active {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.76);
  border-bottom-color: var(--orange);
}
#partner-portal .tab-content {
  background: rgba(220, 240, 253, 0.42);
  padding: 36px 32px;
}
#partner-portal .portal-view > div:first-child {
  border-bottom-color: rgba(29, 76, 119, 0.22) !important;
}
#partner-portal .portal-view > div:first-child p {
  color: #36577d !important;
}
#partner-portal .form-group label {
  color: #29496f;
}
#partner-portal .form-group input,
#partner-portal .form-group select,
#partner-portal .form-group textarea {
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid rgba(113, 151, 190, 0.34);
  border-radius: 7px;
}
#partner-portal .form-group input:focus,
#partner-portal .form-group select:focus,
#partner-portal .form-group textarea:focus {
  background: #fff;
}
#partner-portal .submit {
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(245, 130, 9, 0.22);
}
@media (max-width: 760px) {
  #partner-portal {
    background-position: 54% center;
  }
  #partner-portal .tab-content {
    padding: 24px 18px;
  }
  #partner-portal .portal-box {
    border-radius: 14px;
  }
}
@media (max-width: 560px) {
  #partner-portal {
    background-attachment: scroll;
  }
  #partner-portal .tab-bar {
    flex-direction: column;
  }
  #partner-portal .tab-btn {
    min-height: 54px;
  }
  #partner-portal .tab-content {
    padding: 20px 14px;
  }
}

#partner-portal::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(
      ellipse 48% 90% at 8% 112%,
      rgba(34, 112, 65, 0.72) 0 48%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 54% 100% at 42% 118%,
      rgba(54, 139, 76, 0.62) 0 48%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 52% 92% at 88% 116%,
      rgba(31, 105, 61, 0.72) 0 48%,
      transparent 50%
    );
}

/* ===== LOCATION & MAP — mountain/highway background, no glass or white panels ===== */
section#locations.locations {
  position: relative;
  background: #cfe6f7 url("assets/location-bg.png") center center / cover
    no-repeat !important;
  padding: 110px 6.3%;
  min-height: 760px;
  display: flex;
  align-items: center;
}

section#locations .location-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 6%;
  align-items: center;
}

section#locations .location-copy {
  min-width: 0;
}
section#locations .location-copy .eyebrow,
section#locations .location-copy .eyebrow span {
  color: #102d59;
}
section#locations .location-copy .eyebrow span {
  background: #ff7900;
}
section#locations .location-copy h2 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -1.2px;
  margin: 14px 0 22px;
  color: #102d59;
}

section#locations .location-copy h2 em {
  color: #ff7900;
  font-style: normal;
}
section#locations .location-copy > p:not(.eyebrow) {
  color: #102d59;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 540px;
  margin: 0 0 30px;
  font-weight: 500;
}

section#locations .loc-address {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

section#locations .loc-pin {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(16, 45, 89, 0.12);
}

section#locations .loc-pin i {
  color: #ff7900;
  font-size: 22px;
}
section#locations .loc-address-text {
  display: grid;
  gap: 4px;
  color: #102d59;
}

section#locations .loc-address-text strong {
  font-size: 1.1rem;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
  color: #102d59;
}
section#locations .loc-address-text span {
  font-size: 1.02rem;
  line-height: 1.55;
  color: #102d59;
}
section#locations .loc-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0 26px 70px;
}
section#locations .loc-links a {
  color: #102d59;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  width: fit-content;
  transition: color 0.25s ease;
}
section#locations .loc-directions-link {
  color: #ff7900 !important;
}
section#locations .loc-links a i {
  color: #ff7900;
  font-size: 0.85em;
  margin-left: 4px;
}
section#locations .loc-links a:hover,
section#locations .loc-links a:focus-visible {
  color: #ff7900;
  text-decoration: underline;
}
section#locations .route-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 70px;
  background: #102d59;
  color: #fff;
  padding: 15px 34px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 45, 89, 0.22);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
section#locations .route-app-btn i {
  color: #ff7900;
  transition: color 0.25s ease;
}
section#locations .route-app-btn:hover,
section#locations .route-app-btn:focus-visible {
  background: #ff7900;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 121, 0, 0.35);
}
section#locations .route-app-btn:hover i,
section#locations .route-app-btn:focus-visible i {
  color: #fff;
}
section#locations .map-container.loc-map {
  background: #fff !important;
  border: 0 !important;
  border-radius: 18px !important;
  padding: 0 !important;
  box-shadow: 0 22px 50px rgba(16, 45, 89, 0.28) !important;
  overflow: hidden;
  transform: none !important;
}
section#locations .map-container.loc-map:hover {
  transform: none !important;
  box-shadow: 0 22px 50px rgba(16, 45, 89, 0.28) !important;
}
section#locations .map-container.loc-map .map-iframe {
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 18px;
  display: block;
  transform: none !important;
  filter: none !important;
}
section#locations .map-container.loc-map::after {
  display: none !important;
}

@media (max-width: 1100px) {
  section#locations .loc-links,
  section#locations .route-app-btn {
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  section#locations.locations {
    min-height: 0;
    padding: 80px 6%;
    background-position: left center;
  }
  section#locations .location-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  section#locations .location-copy h2 {
    font-size: 46px;
  }
  section#locations .map-container.loc-map .map-iframe {
    height: 420px;
  }
}
@media (max-width: 600px) {
  section#locations.locations {
    padding: 64px 5%;
    background-position: left center;
  }
  section#locations .location-copy h2 {
    font-size: 38px;
    letter-spacing: -1px;
  }
  section#locations .location-copy > p:not(.eyebrow) {
    font-size: 0.98rem;
  }
  section#locations .loc-links {
    margin-left: 0;
  }
  section#locations .route-app-btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    box-sizing: border-box;
  }
  section#locations .map-container.loc-map .map-iframe {
    height: 340px;
    border-radius: 14px;
  }
  section#locations .map-container.loc-map {
    border-radius: 14px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  section#locations .route-app-btn {
    transition: none;
  }
}

/* Desktop stage: the section keeps the image's exact 16:9 proportion so the live map sits precisely over the image's map area */
@media (min-width: 1101px) {
  section#locations.locations {
    aspect-ratio: 1600 / 900;
    min-height: 0;
    padding: 0 !important;
    display: block;
    overflow: hidden;
  }
  section#locations .location-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: block;
  }
  section#locations .location-copy {
    position: absolute;
    left: 8.4%;
    top: 8.5%;
    width: 36%;
  }
  section#locations .loc-links {
    margin-left: 70px;
  }
  section#locations .route-app-btn {
    margin-left: 70px;
  }
  section#locations .map-container.loc-map {
    position: absolute;
    left: 45.8%;
    top: 13.6%;
    width: 51.4%;
    height: 56.4%;
    margin: 0;
  }
  section#locations .map-container.loc-map .map-iframe {
    height: 100%;
    min-height: 0;
  }
  section#locations .location-copy h2 {
    font-size: clamp(2.6rem, 4.4vw, 4.2rem);
  }
  section#locations .location-copy > p:not(.eyebrow) {
    font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  }
  section#locations .loc-address {
    margin-bottom: 18px;
  }
  section#locations .loc-links {
    gap: 10px;
    margin-bottom: 20px;
  }
}

/* Tablet and mobile: use the card-free left part of the same photo so no map mockup sits behind the stacked text */
@media (max-width: 1100px) {
  section#locations.locations {
    background: #cfe6f7 url("assets/location-bg.png") center center / cover
      no-repeat !important;
  }
}

/* Partner logo strip: continuous left-to-right loop (the track holds two identical sets, so the loop is seamless). */
.partner-logos {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.partner-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.partner-viewport:before,
.partner-viewport:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.partner-viewport:before {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}
.partner-viewport:after {
  right: 0;
  background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}
.partner-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  width: max-content;
  animation: partner-scroll-rtl 47s linear infinite; /* 7 logos per set: same speed as before */
  will-change: transform;
}
.partner-logos:hover .partner-track,
.partner-viewport.is-held .partner-track,
.partner-viewport:focus .partner-track {
  animation-play-state: paused;
}
.partner-logo {
  flex: 0 0 auto;
  width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  height: 92px;
}
.partner-logo img {
  display: block;
  max-width: 150px;
  height: 52px;
  width: auto;
  object-fit: contain;
}
.partner-logo span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--ink);
  white-space: nowrap;
}
.partner-logo.logo-missing span {
  font-size: 16px;
}
@keyframes partner-scroll-rtl {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@media (max-width: 700px) {
  .partner-logo {
    width: 150px;
    padding: 0 18px;
  }
  .partner-logo img {
    max-width: 118px;
    height: 44px;
  }
  .partner-viewport:before,
  .partner-viewport:after {
    width: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .partner-track {
    animation: none;
  }
  .partner-viewport {
    overflow-x: auto;
  }
  .partner-viewport:before,
  .partner-viewport:after {
    display: none;
  }
}

/* Background-only dimming (2%): a black layer at 2% painted above each page section's own background and below its
       content. Content, buttons, cards and images inside the sections are not affected. The hero banner is excluded. */
header.site-header {
  box-shadow:
    inset 0 0 0 9999px rgba(0, 0, 0, 0.02),
    0 2px 10px rgba(0, 0, 0, 0.04);
}
.trust-strip,
.about.section,
#services,
#partner-portal,
#locations,
.why-section,
.join-banner,
footer.site-footer {
  box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.02);
}

/* ===== About Us hero + Meet Our Leadership (moved here: this page loads its CSS inline) ===== */
/* ===== NEW: About Us hero + Meet Our Leadership (navy #102D59, orange #FF7900) ===== */
.about-new {
  --an-navy: #102d59;
  --an-orange: #ff7900;
  background: linear-gradient(180deg, #e9f4fc 0%, #f5fbff 55%, #ffffff 100%);
  padding: 100px 6.3% 110px;
  color: var(--an-navy);
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  overflow: hidden;
}
.about-new * {
  box-sizing: border-box;
}
.about-new-hero {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.about-new-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.about-new-kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.4px;
  color: var(--an-orange);
}
.about-new-copy h2 {
  margin: 0 0 26px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 800;
  color: var(--an-navy);
}
.about-new-copy h2 em {
  font-style: normal;
  color: var(--an-orange);
}
.about-new-copy p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.75;
  color: #3b4f70;
  text-align: left;
}
.about-new-decor {
  position: absolute;
  pointer-events: none;
}
.about-new-map {
  left: 0;
  top: 40%;
  transform: translateY(-50%);
  font-size: clamp(150px, 18vw, 230px);
  color: rgba(16, 45, 89, 0.12);
}
.about-new-plane {
  right: 2%;
  top: -10px;
  font-size: clamp(34px, 4vw, 50px);
  color: var(--an-orange);
  transform: rotate(-20deg);
  opacity: 0.9;
}
.about-new-truck {
  right: 0;
  bottom: 0;
  font-size: clamp(70px, 9vw, 110px);
  color: var(--an-navy);
  opacity: 0.95;
}
.about-new-truck {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.about-new-container {
  display: inline-block;
  font-size: 0.42em;
  background: var(--an-orange);
  color: #fff;
  padding: 0.3em 0.4em;
  border-radius: 6px;
  line-height: 1;
  margin-bottom: 0.3em;
  box-shadow: 0 6px 14px rgba(255, 121, 0, 0.3);
}
.about-new-leadership {
  max-width: 1100px;
  margin: 90px auto 0;
  text-align: center;
}
.about-new-leader-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--an-navy);
}
.about-new-leader-sub {
  margin: 12px 0 48px;
  color: var(--an-orange);
  font-size: 1.05rem;
  font-weight: 700;
}
.about-new-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.about-new-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 44px 34px 38px;
  box-shadow: 0 14px 40px rgba(16, 45, 89, 0.12);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.about-new-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(16, 45, 89, 0.18);
}
.about-new-photo {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  background: #e9f1fb;
  border: 5px solid #fff;
  box-shadow: 0 8px 22px rgba(16, 45, 89, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-new-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-new-photo > i {
  font-size: 64px;
  color: var(--an-navy);
  opacity: 0.35;
}
.about-new-card h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--an-navy);
}
.about-new-role {
  margin: 0 0 18px;
  color: var(--an-orange);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.about-new-desc {
  margin: 0 auto 24px;
  max-width: 420px;
  color: #4a5b78;
  line-height: 1.7;
  font-size: 0.98rem;
}
.about-new-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--an-navy);
  color: #fff;
  font-size: 18px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.about-new-linkedin:hover,
.about-new-linkedin:focus-visible {
  background: var(--an-orange);
  transform: translateY(-2px);
  outline: none;
}
@media (max-width: 900px) {
  .about-new {
    padding: 80px 6% 90px;
  }
  .about-new-map,
  .about-new-plane {
    opacity: 0.6;
  }
  .about-new-cards {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 520px;
    margin: 0 auto;
  }
  .about-new-leadership {
    margin-top: 70px;
  }
}
@media (max-width: 600px) {
  .about-new {
    padding: 64px 5% 72px;
  }
  .about-new-hero {
    min-height: 0;
  }
  .about-new-copy p {
    text-align: center;
  }
  .about-new-map {
    left: -30px;
    top: auto;
    bottom: 40px;
    transform: none;
    font-size: 120px;
    opacity: 0.5;
  }
  .about-new-truck {
    position: relative;
    display: block;
    margin: 28px auto 0;
    font-size: 72px;
  }
  .about-new-plane {
    top: -20px;
    right: -6px;
    font-size: 30px;
  }
  .about-new-card {
    padding: 36px 22px 30px;
  }
  .about-new-photo {
    width: 140px;
    height: 140px;
  }
}

/* CEO card: photo on the left, details on the right */
.about-new-card--ceo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: start;
  text-align: left;
  padding: 0;
  overflow: hidden;
}
.about-new-ceo-photo {
  position: relative;
  height: 100%;
  min-height: 100%;
  background: #e9f1fb;
}
.about-new-ceo-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
}
.about-new-ceo-body {
  padding: 40px 36px 36px 0;
}
.about-new-card--ceo h3 {
  font-size: 1.6rem;
}
.about-new-card--ceo .about-new-desc {
  margin: 0 0 20px;
  max-width: none;
}
.about-new-ceo-section {
  margin: 0 0 18px;
}
.about-new-ceo-section h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--an-navy);
  letter-spacing: 0.3px;
}
.about-new-ceo-section p {
  margin: 0;
  color: #4a5b78;
  line-height: 1.7;
  font-size: 0.95rem;
}
.about-new-card--ceo .about-new-linkedin {
  margin-top: 8px;
}
@media (max-width: 900px) {
  .about-new-card--ceo {
    grid-template-columns: 1fr;
  }
  .about-new-ceo-photo img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4/5;
  }
  .about-new-ceo-body {
    padding: 28px 26px 30px;
  }
}
@media (max-width: 600px) {
  .about-new-card--ceo .about-new-ceo-body {
    padding: 24px 22px 28px;
  }
}

/* Co-Founder card: details on the left, photo on the right */
.about-new-card--cofounder {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 30px;
  align-items: start;
  text-align: left;
  padding: 0;
  overflow: hidden;
}
.about-new-card--cofounder .about-new-cofounder-body {
  padding: 40px 0 36px 36px;
}
.about-new-card--cofounder .about-new-ceo-photo {
  order: 2;
  position: relative;
  min-height: 360px;
  background: #e9f1fb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-new-card--cofounder .about-new-ceo-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-new-photo-fallback {
  font-size: 64px;
  color: var(--an-navy);
  opacity: 0.35;
}
.about-new-card--cofounder h3 {
  font-size: 1.6rem;
}
.about-new-card--cofounder .about-new-desc {
  margin: 0 0 20px;
  max-width: none;
}
.about-new-card--cofounder .about-new-linkedin {
  margin-top: 8px;
}
@media (max-width: 900px) {
  .about-new-card--cofounder {
    grid-template-columns: 1fr;
  }
  .about-new-card--cofounder .about-new-cofounder-body {
    padding: 28px 26px 0;
  }
  .about-new-card--cofounder .about-new-ceo-photo {
    order: -1;
    min-height: 0;
    aspect-ratio: 4/5;
  }
  .about-new-card--cofounder .about-new-cofounder-body {
    padding-bottom: 30px;
  }
}
@media (max-width: 600px) {
  .about-new-card--cofounder .about-new-cofounder-body {
    padding: 24px 22px 28px;
  }
}

/* ===== Meet Our Leadership: final reference design (photo left, LinkedIn text link) ===== */
.about-new .lead-wrap {
  max-width: 1100px;
  margin: 70px auto 0;
  text-align: center;
  background: linear-gradient(180deg, #eef6fd 0%, #f7fbff 100%);
  border-radius: 6px;
  padding: 52px 4% 56px;
}

.lead-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.lead-title {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #102d59;
  line-height: 1.1;
}

.lead-rule {
  display: block;
  width: 76px;
  height: 2px;
  background: #ff7900;
  flex: 0 0 auto;
}

.lead-sub {
  margin: 12px 0 38px;
  color: #102d59;
  font-size: 1.02rem;
}

.lead-grid {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  text-align: left;
}

.lead-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(16, 45, 89, 0.1);
  box-shadow: 3px 2px 3px rgb(21, 165, 208);
}

.lead-photo {
  margin: 0;
  text-align: center; /* Centers the name under the photo */
}

.lead-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.02; /* Moved here from .lead-photo */
  border-radius: 12px; /* Moved here from .lead-photo */
  background: #e9f1fb; /* Moved here from .lead-photo */
  object-fit: cover;
  object-position: center top;
}

.lead-photo .lead-name {
  margin: 12px 0 0 0;
  font-size: 1.5rem;
  font-weight: bolder;
  color: #102d59;
  line-height: 1.2;
  font-family: "Times New Roman";
}

/* Make the Founder/Leadership cards transparent with a glass effect */
.lead-grid .lead-card {
  background: rgba(255, 255, 255, 0.25) !important; /* Semi-transparent white */
  backdrop-filter: blur(12px); /* Blur the background behind it */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.45) !important; /* Soft light border */
  box-shadow: 0 8px 32px rgba(16, 45, 89, 0.08) !important; /* Subtle soft shadow */
}

/* Ensure the text is highly readable against the transparent background */
.lead-card .lead-name {
  color: #071933 !important; /* Dark navy */
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

.lead-card .lead-role {
  color: #102d59 !important; /* Rich deep navy */
  font-weight: 800;
}

.lead-card .lead-desc {
  color: #0a1a3f !important; /* Very dark navy/indigo */
  font-weight: 550; /* Make font slightly thicker for readability */
}

/* Optional: Subtle Hover effect for interactive depth */
.lead-grid .lead-card:hover {
  background: rgba(
    255,
    255,
    255,
    0.35
  ) !important; /* Slightly brighter on hover */
  border-color: rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.lead-role {
  margin: 6px 0 0;
  color: rgb(65, 105, 225);
  font-weight: 800;
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.lead-role::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 2px;
  background: orange;
}

.lead-desc {
  margin: 0 0 18px;
  color: #102d59;
  line-height: 1.6;
  font-size: 1rem;
}

.lead-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0a66c2;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-linkedin i {
  font-size: 22px;
  color: #0a66c2;
}

.lead-linkedin:hover,
.lead-linkedin:focus-visible {
  color: #ff7900;
  outline: none;
}

.lead-linkedin:hover i,
.lead-linkedin:focus-visible i {
  color: #ff7900;
}

@media (max-width: 900px) {
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 560px;
    margin: 0 auto;
  }
  .lead-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    padding: 18px;
  }
}

@media (max-width: 600px) {
  .about-new .lead-wrap {
    padding: 40px 16px 44px;
  }
  .lead-heading {
    gap: 12px;
  }
  .lead-rule {
    width: 36px;
  }
  .lead-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .lead-photo {
    aspect-ratio: 1/0.95;
  }
  .lead-name {
    font-size: 1.35rem;
  }
}

/* ===== Hero v2: reference-image format (map left, truck + plane right, centred copy) ===== */
.about-new-hero {
  display: block;
  min-height: 0;
  max-width: 1180px;
  text-align: center;
  padding: 10 px 0 0;
}
.about-new-art {
  position: absolute;
  pointer-events: none;
  user-select: none;
  height: auto;
}

.about-new-art--map {
  left: -30px;
  top: -10px;
  width: 300px;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 40%,
    transparent 72%
  );
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 72%);
}

.about-new-art--truck {
  right: -40px;
  bottom: -30px;
  width: 300px;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 42%,
    transparent 74%
  );
  mask-image: radial-gradient(ellipse at center, #000 42%, transparent 74%);
}

.about-new-copy {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-new-copy p {
  text-align: center;
}

.about-new-hero {
  position: relative;
}

.about-new-copy {
  position: relative;
  z-index: 2;
}

.about-new-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-new-kicker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.about-new-kicker::after {
  content: "";
  width: 72px;
  height: 3px;
  background: #ff7900;
  border-radius: 2px;
}

@media (max-width: 1100px) {
  .about-new-art--truck {
    width: 260px;
  }
  .about-new-art--map {
    width: 230px;
  }
}
@media (max-width: 900px) {
  .about-new-art {
    opacity: 0.45;
  }
  .about-new-art--truck {
    width: 230px;
  }
  .about-new-art--map {
    width: 200px;
  }
}
@media (max-width: 600px) {
  .about-new-art--map {
    display: none;
  }
  .about-new-art--truck {
    width: 190px;
    right: -40px;
    bottom: auto;
    top: auto;
    position: relative;
    display: block;
    margin: 20px auto 0;
    opacity: 0.9;
  }
  .about-new-hero {
    padding-top: 0;
  }
}
@media (max-width: 600px) {
  .about-new-copy {
    padding: 0 18px;
  }
  .about-new-copy h2 {
    font-size: 2rem;
  }
}

/* Leadership tagline: bold, centred, highlighted */
.lead-quote {
  margin: 44px 0 0;
  text-align: center;
}

.lead-quote mark {
  background: linear-gradient(
    transparent 52%,
    rgba(203, 198, 198, 0.38) 52%,
    rgba(190, 11, 44, 0.38) 92%,
    transparent 92%
  );
  color: #102d59;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  padding: 0 6px;
  letter-spacing: 0.3px;
}

/* About: darker body text in Who We Are / Mission & Vision cards for readability on the blue background */
.about-pillars-grid .about-pillar-card p {
  color: #0a1a3f !important;
  font-weight: 500;
}

.about-pillars-grid .about-pillar-card h3 {
  color: #0a1a3f;
}

/* What We Do: darker body text for readability on the blue background */
.what-card p {
  color: #0a1a3f !important;
  font-weight: 500;
}

.what-card h4 {
  color: #0a1a3f;
}
/* Services band: dull the photo (muted, greyer sky and snow) so the content reads calmly */
#services .services-band::before {
  background: linear-gradient(
    rgba(196, 208, 220, 0.42),
    rgba(196, 208, 220, 0.42)
  );
  -webkit-backdrop-filter: saturate(0.55) brightness(0.96);
  backdrop-filter: saturate(0.55) brightness(0.96);
}
/* What We Do: stronger text colour and weight so body copy stays dark on the blue background */
.what-card p {
  color: #06142e !important;
  font-weight: 600 !important;
}
.what-card h4 {
  color: #06142e;
}

/* Use the clean mountain background without the baked-in empty white square */
section#locations.locations {
  background: #cfe6f7 url("assets/location-bg.png") center center / cover
    no-repeat !important;
}

/* Ensure the real orange pin box is visible and aligned */
section#locations .loc-pin {
  display: grid !important;
}

section#locations .loc-address {
  margin-left: 0 !important;
}

/* Fix white space below footer caused by 100vw horizontal overflow */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

footer.site-footer {
  margin-bottom: 0;
  overflow: hidden;
}

/* Fix WhatsApp button cut off on the bottom-left */
.whatsapp-btn {
  left: 24px;
  right: auto;
  bottom: 24px;
}

html,
body {
  background-color: #04122a !important;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

main {
  background-color: #ffffff;
}

footer.site-footer {
  margin-bottom: 0;
}

/* Ensure html/body never break fixed positioning */
html,
body {
  transform: none !important;
  perspective: none !important;
  filter: none !important;
}

/* Lock WhatsApp button to bottom-right of screen */
a.whatsapp-btn {
  position: fixed !important;
  bottom: 35px !important;
  right: 24px !important;
  left: auto !important;
  z-index: 9999 !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* Remove the artificial sun overlay effects */
.company-hero .fx-sun,
.company-hero .fx-sun::before {
  display: none !important;
}
