/* =========================================================
   MITCHPATH LOGISTIC LLC
   MAIN WEBSITE CSS
========================================================= */

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #2f2622;
  background: #ffffff;
}

/* ---------- CONTAINER ---------- */
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   HOME PAGE BODY / BACKGROUND
========================================================= */
body.home-page {
  margin: 0;
  padding: 0;
  color: #2f2622;
  background-color: #ffffff;
  position: relative;
  overflow-x: hidden;
}

body.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: -2;
}

/* =========================================
   ADMIN DASHBOARD STYLE
========================================= */

body.admin-dashboard-page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #f6effa;
  color: #24151f;
  position: relative;
  overflow-x: hidden;
}

body.admin-dashboard-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: -2;
}

body.admin-dashboard-page::after {
  content: "";
  position: fixed;
  top: calc(50% + 80px);
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: url("/assets/mitchpathlogo.png") no-repeat center center;
  background-size: contain;
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
}

/* HERO */

.admin-main {
  padding: 40px 20px 80px;
}

.page-hero {
  margin-bottom: 30px;
}

/* GRID */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

/* GLASS BOX */

.admin-panel,
.admin-login-box,
.admin-top-box,
.glass-box {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.08),
    0 2px 10px rgba(0,0,0,0.04);
}

/* HEADINGS */

.admin-panel h3,
.admin-top-box h3,
.admin-login-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.3rem;
  color: #24151f;
}

/* TEXT */

.admin-panel p,
.admin-top-box p,
.admin-login-box p {
  color: #4a3b45;
  line-height: 1.6;
}

/* BUTTONS */

.admin-panel .btn-primary,
.admin-top-box .btn-primary,
.admin-login-box .btn-primary {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #24151f;
  color: #ffffff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.admin-panel .btn-primary:hover,
.admin-top-box .btn-primary:hover,
.admin-login-box .btn-primary:hover {
  background: #3d2735;
  transform: translateY(-2px);
}

/* FORM */

.admin-login-box input {
  width: 100%;
  max-width: 360px;
  display: block;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.92);
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: 1rem;
}

/* SUBMISSION CARDS */

.submission-card {
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  padding: 18px;
  margin-top: 18px;
  border: 1px solid rgba(0,0,0,0.06);
}

.submission-card p {
  margin: 8px 0;
}

/* MOBILE */

@media (max-width: 768px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding: 20px 14px 60px;
  }
}
body.home-page::after {
  content: "";
  position: fixed;
  top: calc(50% + 80px);
  left: 50%;
  width: 760px;
  height: 760px;
  transform: translate(-50%, -50%);
  background: url("../assets/mitchpathlogo.png") no-repeat center center;
  background-size: contain;
  opacity: 1;
  z-index: -1;
  pointer-events: none;
}

.home-page main,
.home-main,
.site-header,
.site-footer {
  position: relative;
  z-index: 2;
}

/* =========================================================
   ABOUT PAGE
========================================================= */
body.about-page {
  margin: 0;
  padding: 0;
  color: #2f2622;
  background-color: #ffffff;
  position: relative;
  overflow-x: hidden;
}

body.about-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: -2;
}

body.about-page::after {
  content: "";
  position: fixed;
  top: calc(50% + 80px);
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: url("../assets/mitchpathlogo.png") no-repeat center center;
  background-size: contain;
  opacity: 1;
  z-index: -1;
  pointer-events: none;
}

.about-page main,
.about-main,
.about-page .site-header,
.about-page .site-footer {
  position: relative;
  z-index: 2;
}

.about-main {
  padding-bottom: 24px;
}

.page-hero.about-hero {
  padding: 54px 0 34px;
}

.about-content {
  padding: 30px 0 100px;
}

.about-content .container {
  width: min(1320px, calc(100% - 60px));
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  column-gap: 60px;
  row-gap: 60px;
  align-items: stretch;
  margin-top: 20px;
}

.about-card {
  padding: 34px 30px;
  min-height: 250px;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover {
  transform: translateY(-4px);
}

.about-card h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  line-height: 1.3;
  color: #342722;
  font-weight: 700;
}

.about-card p {
  margin: 0;
  color: #5f4d46;
  line-height: 1.95;
  font-size: 1rem;
}

@media (max-width: 980px) {
  .about-content .container {
    width: min(100%, calc(100% - 30px));
  }

  .about-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 28px;
  }
}

@media (max-width: 768px) {
  body.about-page::after {
    width: 430px;
    height: 430px;
    top: calc(50% + 60px);
    opacity: 1;
  }

  .page-hero.about-hero {
    padding: 42px 0 26px;
  }

  .about-card {
    padding: 24px 20px;
    min-height: auto;
  }

  .about-card p {
    font-size: 0.97rem;
  }
}

@media (max-width: 480px) {
  body.about-page::after {
    width: 320px;
    height: 320px;
    top: calc(50% + 50px);
  }

  .about-card h3 {
    font-size: 1.2rem;
  }

  .about-card p {
    font-size: 0.94rem;
  }
}

/* =========================================================
   CAREER PAGE
========================================================= */
body.career-page {
  margin: 0;
  padding: 0;
  color: #2f2622;
  background-color: #ffffff;
  position: relative;
  overflow-x: hidden;
}

body.career-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: -2;
}

body.career-page::after {
  content: "";
  position: fixed;
  top: 54%;
  left: 50%;
  width: 1100px;
  height: 1100px;
  transform: translate(-50%, -50%);
  background: url("../assets/mitchpathlogo.png") no-repeat center center;
  background-size: contain;
  opacity: 0.10;
  z-index: -1;
  pointer-events: none;
}

.career-page main,
.career-main,
.career-page .site-header,
.career-page .site-footer {
  position: relative;
  z-index: 1;
}

.career-hero {
  padding: 54px 0 34px;
}

.career-options {
  padding: 30px 0 100px;
}

.career-options .container {
  width: min(1320px, calc(100% - 60px));
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  column-gap: 36px;
  row-gap: 36px;
  align-items: stretch;
  margin-top: 20px;
}

.career-card {
  padding: 28px 26px;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(171, 134, 110, 0.14);
  border-radius: 28px;
  box-shadow: 0 10px 24px rgba(91, 62, 49, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.career-card h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.3;
  color: #7a5244;
  font-weight: 700;
}

.career-card p {
  margin: 0 0 14px;
  color: #5f4d46;
  line-height: 1.9;
  font-size: 1rem;
}

.career-card ul {
  margin: 0;
  padding-left: 18px;
}

.career-card ul li {
  margin-bottom: 10px;
  color: #5f4d46;
  line-height: 1.75;
  font-size: 0.98rem;
}

.career-actions {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.career-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s ease;
}

.career-btn.secondary {
  background: rgba(255, 255, 255, 0.85);
  color: #6f4f42;
  border: 1px solid rgba(185, 125, 98, 0.3);
}

.career-btn.secondary:hover {
  background: rgba(248, 238, 232, 0.95);
}

@media (max-width: 980px) {
  .career-options .container {
    width: min(100%, calc(100% - 30px));
  }

  .career-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 28px;
  }

  .career-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  body.career-page::after {
    width: 520px;
    height: 520px;
    top: 56%;
    opacity: 0.10;
  }

  .career-card {
    padding: 24px 20px;
  }

  .career-card p,
  .career-card ul li {
    font-size: 0.97rem;
  }
}

@media (max-width: 480px) {
  body.career-page::after {
    width: 380px;
    height: 380px;
    top: 58%;
    opacity: 0.10;
  }

  .career-card h3 {
    font-size: 1.2rem;
  }

  .career-card p,
  .career-card ul li {
    font-size: 0.94rem;
  }
}

/* =========================================================
   CAREER DETAIL PAGE
========================================================= */
.career-content {
  padding: 18px 0 90px;
}

.career-content .container {
  width: min(1320px, calc(100% - 60px));
}

.career-content .career-section {
  padding: 18px 20px;
  margin-bottom: 14px;
}

.career-content .career-section h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #342722;
  font-weight: 700;
}

.career-content .career-section p {
  margin: 0;
  color: #5f4d46;
  line-height: 1.55;
  font-size: 0.95rem;
}

.career-content .career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 14px;
  align-items: stretch;
}

.career-content .career-card {
  padding: 18px 20px;
  min-height: auto;
  display: block;
}

.career-content .career-card h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.25;
  color: #342722;
  font-weight: 700;
}

.career-content .career-card p {
  margin: 0;
  color: #5f4d46;
  line-height: 1.6;
  font-size: 0.95rem;
}

.career-content .career-label {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 500;
  color: #6f5a50;
  letter-spacing: 0.03em;
}

.career-content .career-list {
  margin: 0;
  padding-left: 18px;
  color: #5f4d46;
}

.career-content .career-list li {
  margin-bottom: 8px;
  line-height: 1.55;
  font-size: 0.94rem;
}

.career-content > .container > .career-card:last-child {
  padding: 18px 20px 20px;
}

.career-content .career-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.career-content .career-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  background: rgba(255, 255, 255, 0.85);
  color: #6f4f42;
  border: 1px solid rgba(185, 125, 98, 0.3);
}

.career-content .career-actions a:hover {
  background: rgba(248, 238, 232, 0.95);
}

@media (max-width: 980px) {
  .career-content .container {
    width: min(100%, calc(100% - 30px));
  }

  .career-content .career-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* =========================================================
   CDL / NON-CDL LEARN MORE PAGE FIX
========================================================= */
.learnmore-page {
  padding: 1.5rem 0 2.25rem;
}

.learnmore-hero {
  padding-top: 0.25rem;
  padding-bottom: 0.75rem;
}

.learnmore-page .container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.learnmore-hero-card,
.learnmore-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(185, 125, 98, 0.16);
  border-radius: 32px;
  box-shadow: 0 10px 30px rgba(62, 38, 28, 0.06);
}

.learnmore-hero-card {
  padding: 1.65rem 1.5rem 1.5rem;
}

.learnmore-hero-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.55rem, 4vw, 4.1rem);
  line-height: 1.05;
  font-weight: 700;
  color: #2f211c;
}

.learnmore-hero-card p {
  margin: 0;
  max-width: 1000px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #5f4c44;
}

.learnmore-content {
  padding-top: 0.25rem;
}

.learnmore-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.learnmore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.85rem;
  align-items: start;
}

.learnmore-full {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .learnmore-grid {
    grid-template-columns: 1fr;
  }

  .learnmore-full {
    grid-column: span 1;
  }
}

.learnmore-card {
  padding: 1rem 1rem;
  min-height: auto;
  overflow: hidden;
}

.learnmore-card {
  min-height: auto;
}

.learnmore-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 700;
  color: #2f211c;
}

.learnmore-hero-card p {
  margin: 0;
  max-width: 1050px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #5f4c44;
}

.learnmore-card ul {
  margin: 0.2rem 0 0;
  padding-left: 1.15rem;
}

.learnmore-card li {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #5f4c44;
}

.learnmore-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.85rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: #8c5a45;
  color: #ffffff;
  border: 1px solid #8c5a45;
}

.btn-primary:hover {
  background: #744633;
  border-color: #744633;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: #6f4f42;
  border: 1px solid rgba(185, 125, 98, 0.3);
}

.btn-secondary:hover {
  background: rgba(248, 238, 232, 0.95);
}

@media (max-width: 900px) {
  .learnmore-page {
    padding: 2rem 0 3rem;
  }

  .learnmore-hero-card {
    padding: 1.8rem 1.35rem;
    border-radius: 24px;
  }

  .learnmore-card {
    padding: 1.3rem 1.2rem;
    border-radius: 24px;
  }

  .learnmore-hero-card h2 {
    font-size: 2.4rem;
  }

  .learnmore-card h3 {
    font-size: 1.45rem;
  }

  .learnmore-page .container {
    width: min(100%, calc(100% - 24px));
  }
}

/* =========================================================
   HEADER / NAVIGATION
========================================================= */
.site-header {
  position: relative;
  z-index: 20;
  padding: 24px 0 20px;
  background: #ffffff;
  border: none;
  box-shadow: none;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: nowrap;
}

.brand-text {
  flex: 0 0 auto;
  min-width: 0;
}

.brand-text h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  font-weight: 800;
  color: #2f2622;
}

.brand-text p {
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #5d4b43;
  font-weight: 500;
}

.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-block;
  padding: 8px 0;
  color: #4e3b34;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  box-shadow: none;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.main-nav a:hover {
  color: #8a5d47;
  transform: translateY(-1px);
}

.main-nav a:focus,
.main-nav a:active,
.main-nav a:visited {
  text-decoration: none;
  outline: none;
}

.main-nav a.active {
  color: #8a5d47;
}

/* =========================================================
   SHARED GLASS BOX LOOK
========================================================= */
.glass-box {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(171, 134, 110, 0.14);
  border-radius: 28px;
  box-shadow: 0 10px 24px rgba(91, 62, 49, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================================================
   HOME MAIN WRAP
========================================================= */
.home-main {
  padding-bottom: 24px;
}

/* =========================================================
   HERO SECTION
========================================================= */
.page-hero.home-hero {
  padding: 54px 0 34px;
}

.hero-box {
  max-width: 100%;
  padding: 34px 32px;
}

.hero-box h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  color: #2d221d;
  text-align: center; /* ADDED */
}

.hero-box p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #5d4b43;
}

/* =========================================================
   HOME CONTENT GRID
========================================================= */
.home-content {
  padding: 30px 0 100px;
}

.home-content .container {
  width: min(1320px, calc(100% - 60px));
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  column-gap: 60px;
  row-gap: 60px;
  align-items: stretch;
  margin-top: 20px;
}

.home-card {
  padding: 34px 30px;
  min-height: 250px;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-card:hover {
  transform: translateY(-4px);
}

.home-card h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  line-height: 1.3;
  color: #342722;
  font-weight: 700;
}

.home-card p {
  margin: 0;
  color: #5f4d46;
  line-height: 1.95;
  font-size: 1rem;
}

/* =========================================================
   HOME CARD EXPAND FEATURE
========================================================= */
.expandable-card {
  position: relative;
  cursor: pointer;
}

.expand-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #3b2c26;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(91, 62, 49, 0.12);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.card-overlay {
  position: fixed;
  inset: 0;
  background: rgba(47, 38, 34, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 90;
}

.card-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.expandable-card.expanded {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  width: min(760px, calc(100% - 40px)) !important;
  max-height: 82vh !important;
  padding: 42px 34px 34px !important;
  transform: translate(-50%, -50%) !important;
  z-index: 100 !important;
  overflow-y: auto !important;
  cursor: default;
  box-shadow: 0 20px 50px rgba(91, 62, 49, 0.18) !important;
}

.expandable-card.expanded:hover {
  transform: translate(-50%, -50%) !important;
}

.expandable-card.expanded .expand-close {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.expandable-card.expanded h3 {
  padding-right: 56px;
}

body.modal-open {
  overflow: hidden;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  padding: 0 0 34px;
}

.footer-box {
  padding: 18px 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
}

.footer-box p {
  margin: 0;
  color: #5f4d46;
  font-size: 0.96rem;
  line-height: 1.7;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 980px) {
  .header-wrap {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
  }

  .main-nav ul {
    justify-content: center;
    gap: 18px;
  }

  .page-hero.home-hero {
    padding: 42px 0 26px;
  }

  .hero-box {
    padding: 30px 26px;
  }

  .home-content .container {
    width: min(100%, calc(100% - 30px));
  }

  .home-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 28px;
  }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 768px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  body.home-page::after {
    width: 430px;
    height: 430px;
    top: calc(50% + 60px);
    opacity: 1;
  }

  body.career-page::after {
    width: 430px;
    height: 430px;
    top: calc(50% + 60px);
    opacity: 0.05;
  }

  .site-header {
    padding: 20px 0 16px;
  }

  .brand-text h1 {
    font-size: 1.95rem;
  }

  .brand-text p {
    font-size: 0.95rem;
  }

  .main-nav ul {
    gap: 14px;
  }

  .main-nav a {
    font-size: 0.96rem;
  }

  .hero-box {
    padding: 26px 20px;
  }

  .hero-box h2 {
    font-size: 1.9rem;
  }

  .hero-box p,
  .home-card p {
    font-size: 0.97rem;
  }

  .home-card {
    padding: 24px 20px;
    min-height: auto;
  }

  .expandable-card.expanded {
    width: calc(100% - 24px) !important;
    padding: 40px 20px 24px !important;
  }

  .expand-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .footer-box {
    padding: 16px 18px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 480px) {
  body.home-page::after {
    width: 320px;
    height: 320px;
    top: calc(50% + 50px);
  }

  body.career-page::after {
    width: 320px;
    height: 320px;
    top: calc(50% + 50px);
    opacity: 0.05;
  }

  .brand-text h1 {
    font-size: 1.7rem;
  }

  .brand-text p {
    font-size: 0.92rem;
  }

  .main-nav ul {
    gap: 12px;
  }

  .main-nav a {
    font-size: 0.92rem;
  }

  .hero-box h2 {
    font-size: 1.65rem;
  }

  .hero-box p,
  .home-card p,
  .footer-box p {
    font-size: 0.94rem;
  }

  .home-card h3 {
    font-size: 1.2rem;
  }
}

/* =========================================================
   CDL / NON-CDL LEARN MORE PAGE LIST SUPPORT
========================================================= */
.career-list {
  margin: 0;
  padding-left: 1.3rem;
  color: #5f4d46;
  line-height: 1.8;
  font-size: 1rem;
}

.career-list li + li {
  margin-top: 0.15rem;
}
/* FIX APPLY BUTTON TO MATCH BACK */
button,
.btn,
a.btn,
input[type="submit"] {
  background: transparent !important;
  color: #4e3b34 !important;
  border: 1px solid #d6c4bd !important;
  box-shadow: none !important;
}

/* HOVER (optional but clean match) */
button:hover,
.btn:hover,
a.btn:hover,
input[type="submit"]:hover {
  background: #f7f2ef !important;
}
/* =========================================================
   FINAL PAGE LAYOUT MATCH FIX
   Keeps all main pages on the same layout
   Fixes Rider + Contract background logo
   Removes colored Apply button look
========================================================= */

/* SAME BACKGROUND LOGO FOR ALL MAIN PAGES */
body.home-page::after,
body.about-page::after,
body.career-page::after,
body.resources-page::after,
body.contact-page::after,
body.rider-page::after,
body.contract-page::after {
  content: "";
  position: fixed;
  top: calc(50% + 80px);
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: url("../assets/mitchpathlogo.png") no-repeat center center;
  background-size: contain;
  opacity: 0.72;
  z-index: -1;
  pointer-events: none;
}

/* KEEP PAGE CONTENT ABOVE BACKGROUND */
.site-header,
.site-footer,
main,
.page-main,
.page-hero,
.glass-box,
.career-main,
.rider-main,
.contract-main,
.resources-main,
.contact-main {
  position: relative;
  z-index: 2;
}

/* SAME MAIN PAGE WIDTH */
.container {
  width: min(1320px, calc(100% - 60px));
  margin: 0 auto;
}

/* SAME PAGE SPACING */
.page-main,
.career-main,
.rider-main,
.contract-main,
.resources-main,
.contact-main {
  padding: 54px 0 100px;
}

/* SAME GLASS BOX LOOK */
.glass-box,
.page-card,
.career-card,
.rider-card,
.contract-card,
.resource-card,
.contact-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(120, 92, 67, 0.22);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(68, 46, 31, 0.13);
  backdrop-filter: blur(8px);
}

/* REMOVE COLOR FROM APPLY BUTTONS - MAKE LIKE BACK BUTTON */
.apply-btn,
.btn-primary,
a.apply-btn,
button.apply-btn {
  background: transparent !important;
  color: #2f2622 !important;
  border: 1px solid rgba(47, 38, 34, 0.45) !important;
  box-shadow: none !important;
}

/* SAME HOVER AS BACK BUTTON */
.apply-btn:hover,
.btn-primary:hover,
a.apply-btn:hover,
button.apply-btn:hover {
  background: rgba(255, 255, 255, 0.55) !important;
  color: #2f2622 !important;
  border-color: rgba(47, 38, 34, 0.65) !important;
}

/* MOBILE KEEP EVERYTHING FITTED */
@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, 1320px);
  }

  body.home-page::after,
  body.about-page::after,
  body.career-page::after,
  body.resources-page::after,
  body.contact-page::after,
  body.rider-page::after,
  body.contract-page::after {
    width: 640px;
    height: 640px;
    top: calc(50% + 60px);
  }
}
/* =========================================================
   LEARN MORE PAGE BACKGROUND LOGO FIX
   Fixes Rider Learn More + Contract Carrier Learn More
========================================================= */

body.learnmore-page {
  position: relative;
  background-color: #ffffff;
  overflow-x: hidden;
}

body.learnmore-page::after {
  content: "";
  position: fixed;
  top: calc(50% + 80px);
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: url("../assets/mitchpathlogo.png") no-repeat center center;
  background-size: contain;
  opacity: 0.72;
  z-index: -1;
  pointer-events: none;
}

body.learnmore-page .site-header,
body.learnmore-page .site-footer,
body.learnmore-page main,
body.learnmore-page .learnmore-main,
body.learnmore-page .learnmore-hero,
body.learnmore-page .learnmore-content,
body.learnmore-page .learnmore-card,
body.learnmore-page .learnmore-hero-card {
  position: relative;
  z-index: 2;
}
/* =========================================================
   FIX LEARN MORE / RESOURCES BOX SPACING + TEXT FIT
========================================================= */

.learnmore-stack,
.resources-stack {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.learnmore-grid,
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.learnmore-card,
.learnmore-hero-card,
.resource-card,
.resources-card,
.glass-box {
  padding: 30px 32px;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: normal;
}

.learnmore-card p,
.learnmore-card li,
.learnmore-hero-card p,
.resource-card p,
.resources-card p,
.glass-box p {
  max-width: 100%;
  line-height: 1.65;
  margin-bottom: 14px;
}

.learnmore-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.site-footer {
  margin-top: 34px;
}

.footer-box {
  padding: 22px 28px;
  text-align: center;
}

/* FIX RESOURCE BOTTOM TEXT BOX */
.resources-page .glass-box,
.resources-page .resource-card,
.resources-page .resources-card {
  min-height: auto;
}

.resources-page .glass-box p {
  white-space: normal;
  overflow: visible;
}

/* MOBILE */
@media (max-width: 768px) {
  .learnmore-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .learnmore-card,
  .learnmore-hero-card,
  .resource-card,
  .resources-card,
  .glass-box {
    padding: 24px 22px;
  }
}
/* =========================================================
   CONTACT PAGE OWNER SECTION FIX
   Makes text + image fit evenly
========================================================= */

.contact-owner-grid,
.owner-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 34px;
}

.contact-owner-grid .glass-box,
.owner-grid .glass-box,
.contact-grid .glass-box {
  min-height: auto;
}

.owner-photo,
.contact-photo,
.owner-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  display: block;
}

.owner-photo-box,
.contact-photo-box {
  padding: 22px;
  max-height: 620px;
  overflow: hidden;
}

.contact-page p,
.contact-page li {
  font-size: 1rem;
  line-height: 1.65;
}

.contact-page h2,
.contact-page h3 {
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .contact-owner-grid,
  .owner-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .owner-photo,
  .contact-photo,
  .owner-image {
    max-height: 480px;
  }
}
/* =========================================================
   OWNER IMAGE SIZE FIX (FORCE FIT)
========================================================= */

.contact-grid img,
.owner-grid img,
.contact-owner-grid img,
.owner-photo,
.contact-photo,
.owner-image {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 18px;
}

/* KEEP IMAGE BOX CONTROLLED */
.owner-photo-box,
.contact-photo-box {
  max-height: 540px;
  overflow: hidden;
  display: flex;
}

/* KEEP TEXT SIDE SAME HEIGHT FEEL */
.contact-grid,
.owner-grid,
.contact-owner-grid {
  align-items: stretch;
}

/* MOBILE CLEAN */
@media (max-width: 900px) {
  .contact-grid img,
  .owner-grid img {
    max-height: 420px;
  }
}
/* =========================================================
   RESOURCES PAGE - CLEAN TEXT FLOW (NO BOXES)
========================================================= */

/* REMOVE BOX LOOK FROM RESOURCE CARDS */
.resources-page .home-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* REMOVE HERO BOX LOOK */
.resources-page .hero-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* REMOVE SUPPORT BOX */
.resources-page .resources-support-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* KEEP TEXT READABLE */
.resources-page h2,
.resources-page h3 {
  text-align: center;
}

/* ADD SPACING BETWEEN TEXT BLOCKS */
.resources-page .home-card {
  margin-bottom: 28px;
}

/* FADE BACKGROUND LOGO MORE */
body.resources-page::after {
  opacity: 0.18 !important; /* was stronger, now softer */
}
/* =========================================================
   HOME PAGE - REMOVE BOXES (MATCH RESOURCES STYLE)
========================================================= */

/* REMOVE HERO BOX */
.home-page .hero-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* REMOVE HOME CARDS BOX LOOK */
.home-page .home-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* REMOVE EXPANDED CARD BOX LOOK */
.home-page .expandable-card {
  background: transparent !important;
  box-shadow: none !important;
}

/* KEEP TEXT CLEAN + SPACING */
.home-page .home-card {
  padding: 0 !important;
  margin-bottom: 28px;
}

/* CENTER MAIN HERO TITLE */
.home-page .hero-box h2 {
  text-align: center;
}

/* FADE BACKGROUND LOGO MORE FOR READABILITY */
body.home-page::after {
  opacity: 0.18 !important;
}
/* =========================================================
   GLOBAL TITLE CENTERING (NO LAYOUT CHANGES)
========================================================= */

/* MAIN PAGE TITLES */
.hero-box h2 {
  text-align: center;
}

/* SECTION / CARD TITLES */
.home-card h3,
.about-card h3,
.career-card h3,
.learnmore-card h3,
.resource-card h3,
.resources-card h3 {
  text-align: center;
}

/* OPTIONAL: CENTER SUPPORT TEXT HEADINGS IF ANY */
.glass-box h2,
.glass-box h3 {
  text-align: center;
}
/* =========================================================
   FINAL LOCKED HOME LAYOUT - DO NOT REMOVE
   Updated: closer text/image spacing, no popup, last image same size
========================================================= */

.home-page .hero-box,
.home-page .home-card,
.home-page .glass-box.home-card {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
}

.home-page .home-content .container {
  width: min(1320px, calc(100% - 60px));
  margin: 0 auto;
}

.home-page .home-grid {
  display: flex;
  flex-direction: column;
  gap: 70px;
  width: 100%;
}

.home-page .home-card {
  padding: 0;
  margin: 0;
  cursor: default;
  transform: none;
}

.home-page .home-card:hover {
  transform: none;
}

.home-page .home-card h3,
.home-page .hero-box h2,
.home-page .hero-box p {
  text-align: center;
}

.home-page .hero-box p {
  max-width: 1000px;
  margin: 0 auto 14px;
}

.home-page .home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  width: 100%;
}

.home-page .home-image {
  width: 100%;
  max-width: 650px;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.home-page .home-split-text {
  width: 100%;
  line-height: 1.8;
}

/* LEFT IMAGE / RIGHT TEXT */
.home-page .home-split.image-left .home-image {
  order: 1;
  justify-self: start;
}

.home-page .home-split.image-left .home-split-text {
  order: 2;
}

/* LEFT TEXT / RIGHT IMAGE */
.home-page .home-split.image-right .home-split-text {
  order: 1;
}

.home-page .home-split.image-right .home-image {
  order: 2;
  justify-self: end;
}

/* REMOVE CLICK POPUP */
.home-page .expand-close,
.home-page .card-overlay {
  display: none;
}

.home-page .expandable-card.expanded {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  max-height: none;
  padding: 0;
  transform: none;
  z-index: auto;
  overflow: visible;
  box-shadow: none;
}

/* PHONE VIEW */
@media (max-width: 900px) {
  .home-page .home-content .container {
    width: min(100% - 28px, 1320px);
  }

  .home-page .home-grid {
    gap: 55px;
  }

  .home-page .home-split,
  .home-page .home-split.image-left,
  .home-page .home-split.image-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }

  .home-page .home-split-text {
    order: 1;
  }

  .home-page .home-image {
    order: 2;
    max-width: 100%;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .home-page .home-image {
    height: 240px;
  }
}
/* =========================================================
   HOME PAGE FINAL FIX — PUT AT VERY BOTTOM
========================================================= */

/* REMOVE OLD POP-UP / CLICK OVERRIDE */
.home-page .expandable-card,
.home-page .expandable-card.expanded {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  max-height: none !important;
  padding: 0 !important;
  transform: none !important;
  z-index: auto !important;
  overflow: visible !important;
  box-shadow: none !important;
  cursor: default !important;
}

.home-page .card-overlay,
.home-page .expand-close {
  display: none !important;
}

/* KEEP PAGE STACK */
.home-page .home-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 70px !important;
}

/* MAKE TEXT + IMAGE MOVE CLOSER */
.home-page .home-split {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
  align-items: center !important;
}

/* ALL HOME IMAGES SAME SIZE INCLUDING LAST ONE */
.home-page .home-image,
.home-page .home-split img,
.home-page .home-card img {
  width: 100% !important;
  max-width: 650px !important;
  height: 380px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  display: block !important;
}

/* LEFT / RIGHT DESKTOP */
.home-page .home-split.image-left img,
.home-page .home-split.image-left .home-image {
  justify-self: start !important;
}

.home-page .home-split.image-right img,
.home-page .home-split.image-right .home-image {
  justify-self: end !important;
}

/* PHONE: TITLE/TEXT FIRST, PICTURE UNDER IT */
@media (max-width: 900px) {
  .home-page .home-split {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .home-page .home-split-text {
    order: 1 !important;
  }

  .home-page .home-image,
  .home-page .home-split img,
  .home-page .home-card img {
    order: 2 !important;
    max-width: 100% !important;
    height: 300px !important;
  }
}

@media (max-width: 480px) {
  .home-page .home-image,
  .home-page .home-split img,
  .home-page .home-card img {
    height: 240px !important;
  }
}
/* =========================================================
   HOME PAGE FINAL FIX — DESKTOP + PHONE PATTERN
   PUT THIS AT THE VERY BOTTOM OF style.css
========================================================= */

/* KEEP SECTIONS STACKED */
.home-page .home-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 70px !important;
  width: 100% !important;
}

/* KEEP TITLE CENTERED */
.home-page .home-card h3 {
  text-align: center !important;
  margin-bottom: 20px !important;
}

/* DESKTOP: TEXT + IMAGE SAME ROW */
.home-page .home-split {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 26px !important;
  align-items: center !important;
  width: 100% !important;
}

/* WORDING CENTERED INSIDE ITS SIDE */
.home-page .home-split-text {
  width: 100% !important;
  line-height: 1.8 !important;
  text-align: left !important;
}

/* ALL IMAGES SAME SIZE */
.home-page .home-image,
.home-page .home-split img,
.home-page .home-card img {
  width: 100% !important;
  max-width: 650px !important;
  height: 380px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  display: block !important;
}

/* PUSH RIGHT-SIDE PICTURES TOWARD RIGHT WALL */
.home-page .home-split.image-right .home-image,
.home-page .home-split.image-right img {
  justify-self: end !important;
}

/* KEEP LEFT-SIDE PICTURES ON LEFT */
.home-page .home-split.image-left .home-image,
.home-page .home-split.image-left img {
  justify-self: start !important;
}

/* REMOVE CLICK POPUP */
.home-page .card-overlay,
.home-page .expand-close {
  display: none !important;
}

.home-page .expandable-card,
.home-page .expandable-card.expanded {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  max-height: none !important;
  padding: 0 !important;
  transform: none !important;
  z-index: auto !important;
  overflow: visible !important;
  box-shadow: none !important;
  cursor: default !important;
}

/* PHONE: TITLE FIRST, THEN PICTURE, THEN WORDING */
@media (max-width: 900px) {
  .home-page .home-split,
  .home-page .home-split.image-left,
  .home-page .home-split.image-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .home-page .home-card h3 {
    order: 1 !important;
  }

  .home-page .home-image,
  .home-page .home-split img,
  .home-page .home-card img {
    order: 2 !important;
    max-width: 100% !important;
    height: 300px !important;
  }

  .home-page .home-split-text {
    order: 3 !important;
    text-align: left !important;
  }
}

@media (max-width: 480px) {
  .home-page .home-image,
  .home-page .home-split img,
  .home-page .home-card img {
    height: 240px !important;
  }
}
/* =========================================================
   FINAL ALIGNMENT FIX (DO NOT TOUCH PHONE)
========================================================= */

/* CENTER ALL TEXT BLOCKS */
.home-page .home-split-text,
.home-page .home-card p {
  text-align: center !important;
  max-width: 700px !important;
  margin: 0 auto !important;
}

/* KEEP TITLE CENTERED */
.home-page .home-card h3 {
  text-align: center !important;
}

/* DESKTOP LAYOUT FIX */
.home-page .home-split {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  gap: 30px !important;
}

/* PUSH RIGHT IMAGE TO WALL (NOT CENTERED) */
.home-page .home-split.image-right img,
.home-page .home-split.image-right .home-image {
  justify-self: end !important;
}

/* PUSH LEFT IMAGE TO WALL (NOT CENTERED) */
.home-page .home-split.image-left img,
.home-page .home-split.image-left .home-image {
  justify-self: start !important;
}

/* KEEP ALL IMAGES SAME SIZE */
.home-page .home-image,
.home-page .home-split img {
  width: 100% !important;
  max-width: 480px !important;
  height: 240px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
}

/* DO NOT TOUCH MOBILE — KEEP YOUR WORKING VERSION */
/* =========================================================
   CENTER ONLY FIRST 3 SECTION IMAGES
========================================================= */

/* SECTION 1, 2, 3 IMAGES CENTERED */
.home-page .home-grid .home-card:nth-child(1) img,
.home-page .home-grid .home-card:nth-child(2) img,
.home-page .home-grid .home-card:nth-child(3) img {
  justify-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ALSO TARGET .home-image CLASS JUST IN CASE */
.home-page .home-grid .home-card:nth-child(1) .home-image,
.home-page .home-grid .home-card:nth-child(2) .home-image,
.home-page .home-grid .home-card:nth-child(3) .home-image {
  justify-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* =========================================================
   FORCE CENTER THAT IMAGE (SECTION FIX)
========================================================= */

.home-page .home-card img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* If it's still inside grid pushing it left */
.home-page .home-split.image-left img {
  justify-self: center !important;
}
/* =========================================================
   HEADER LOGO + TITLE FIX
========================================================= */

.header-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* GROUP LOGO + TEXT */
.brand {
  display: flex;
  align-items: center;
  gap: 14px; /* space between logo and text */
}

/* LOGO SIZE */
.logo {
  width: 70px;
  height: auto;
}

/* TITLE */
.brand-text h1 {
  margin: 0;
  font-size: 2.6rem;
}

/* SUBTITLE (PULL IT UP CLOSER) */
.brand-text p {
  margin: 2px 0 0 0; /* THIS pulls it closer */
  font-size: 1rem;
}
/* =========================================================
   HEADER LAYOUT — MATCH YOUR DESIGN
========================================================= */

/* STACK HEADER (LOGO TOP, NAV BELOW) */
.header-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* LOGO + TEXT CENTERED */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* LOGO SIZE */
.logo {
  width: 70px;
}

/* TITLE */
.brand-text h1 {
  margin: 0;
}

/* SUBTITLE CLOSE TO TITLE */
.brand-text p {
  margin: 2px 0 0 0;
}

/* NAV BELOW WITH SPACE */
.main-nav {
  margin-top: 18px !important; /* THIS pushes it down */
}

/* CENTER NAV LINKS */
.main-nav ul {
  justify-content: center !important;
}
/* =========================================================
   FINAL HOME LOCK - STOPS REFRESH FROM GOING BACK
========================================================= */

.site-header {
  padding: 18px 0 28px !important;
}

.header-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

.logo {
  width: 70px !important;
  height: auto !important;
  display: block !important;
}

.brand-text h1 {
  margin: 0 !important;
  line-height: 1.05 !important;
}

.brand-text p {
  margin: 3px 0 0 0 !important;
}

.main-nav {
  width: 100% !important;
  margin-top: 20px !important;
  display: flex !important;
  justify-content: center !important;
}

.main-nav ul {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 24px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* HOME PAGE LAYOUT LOCK */
.home-page .home-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 70px !important;
  width: 100% !important;
}

.home-page .home-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: default !important;
}

.home-page .home-card h3,
.home-page .home-card p,
.home-page .home-split-text {
  text-align: center !important;
}

.home-page .home-split {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  gap: 30px !important;
  width: 100% !important;
}

.home-page .home-image,
.home-page .home-split img,
.home-page .home-card img {
  width: 100% !important;
  max-width: 650px !important;
  height: 380px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.home-page .card-overlay,
.home-page .expand-close {
  display: none !important;
}

.home-page .expandable-card,
.home-page .expandable-card.expanded {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  max-height: none !important;
  padding: 0 !important;
  transform: none !important;
  z-index: auto !important;
  overflow: visible !important;
  box-shadow: none !important;
}

/* PHONE STAYS WORKING */
@media (max-width: 900px) {
  .home-page .home-split,
  .home-page .home-split.image-left,
  .home-page .home-split.image-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .home-page .home-card h3 {
    order: 1 !important;
  }

  .home-page .home-image,
  .home-page .home-split img,
  .home-page .home-card img {
    order: 2 !important;
    max-width: 100% !important;
    height: 300px !important;
  }

  .home-page .home-split-text {
    order: 3 !important;
  }
}

@media (max-width: 480px) {
  .home-page .home-image,
  .home-page .home-split img,
  .home-page .home-card img {
    height: 240px !important;
  }
}
/* =========================================================
   ABOUT PAGE CLEAN LAYOUT
========================================================= */

.about-page {
  padding: 60px 0;
}

.about-page .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-page h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-page p {
  line-height: 1.8;
  margin-bottom: 16px;
}
/* =========================================================
   ABOUT BACKGROUND FADE FIX
========================================================= */

.about-page::before {
  opacity: 0.35 !important; /* LOWER = MORE FADE */
}
/* =========================================================
   ABOUT TEXT CLEANUP
========================================================= */

.about-page p {
  max-width: 800px !important;
  margin: 10px auto !important; /* reduces space */
  line-height: 1.6 !important; /* tighter lines */
  text-align: center !important;
}

/* REMOVE BIG BOX SPACING */
.about-page .home-card,
.about-page .about-card {
  padding: 20px !important;
}

/* CLEAN CARD TEXT */
.about-page .home-card p,
.about-page .about-card p {
  margin-bottom: 10px !important;
}
/* ABOUT PAGE READABILITY FIX */
body.about-page::after {
  opacity: 0.12 !important;
}

.about-intro p,
.about-card p {
  text-align: center !important;
  line-height: 1.65 !important;
  margin: 0 auto !important;
}

.about-card {
  padding: 28px 30px !important;
}

.about-card h3 {
  margin-bottom: 14px !important;
}

.about-card .expand-close {
  display: none !important;
}
/* =========================================================
   ABOUT PAGE — REMOVE BOXES / FULL WIDTH TEXT
========================================================= */

/* REMOVE BOX LOOK */
.about-page .about-card {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* MAKE GRID STACK CLEAN */
.about-page .about-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 40px !important;
  max-width: 1000px;
  margin: 0 auto;
}

/* HEADINGS */
.about-page .about-card h3 {
  text-align: center !important;
  margin-bottom: 10px !important;
}

/* TEXT FULL WIDTH BUT CONTROLLED */
.about-page .about-card p {
  text-align: center !important;
  max-width: 900px;
  margin: 0 auto !important;
  line-height: 1.7 !important;
}

/* REMOVE EXPAND BUTTONS */
.about-page .expand-close {
  display: none !important;
}
/* =========================================================
   CAREER PAGE — REMOVE ALL BOXES / KEEP CLEAN LAYOUT
========================================================= */

/* Remove all box/card styles */
body.career-page .glass-box,
body.career-page .home-card,
body.career-page .career-card,
body.career-page .card,
body.career-page .expandable-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Remove expand buttons */
body.career-page .expand-close,
body.career-page .card-overlay {
  display: none !important;
}

/* Stack sections clean */
body.career-page .career-grid,
body.career-page .home-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 40px !important;
  max-width: 1000px;
  margin: 0 auto;
}

/* Center headings */
body.career-page h2,
body.career-page h3 {
  text-align: center !important;
  margin-bottom: 10px !important;
}

/* Clean paragraph flow */
body.career-page p {
  text-align: center !important;
  max-width: 900px;
  margin: 0 auto 12px auto !important;
  line-height: 1.7 !important;
}

/* Buttons stay centered */
body.career-page .btn,
body.career-page .button,
body.career-page a.button {
  display: inline-block;
  margin: 10px auto !important;
}
/* =========================================================
   ABOUT PAGE HARD LOCK (STOPS REVERT)
========================================================= */

/* REMOVE BIG HERO IMAGE IF IT TRIES TO LOAD */
body.about-page img:first-of-type {
  display: none !important;
}

/* REMOVE ALL BOXES COMPLETELY */
body.about-page .glass-box,
body.about-page .about-card,
body.about-page .expandable-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* REMOVE BUTTONS */
body.about-page .expand-close {
  display: none !important;
}

/* CLEAN GRID */
body.about-page .about-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 35px !important;
  max-width: 1000px;
  margin: 0 auto;
}

/* CLEAN TEXT */
body.about-page p {
  text-align: center !important;
  max-width: 900px;
  margin: 0 auto 10px auto !important;
  line-height: 1.7 !important;
}

/* FADE BACKGROUND MORE */
body.about-page::before {
  opacity: 0.15 !important;
}
/* =========================================================
   CAREER PAGE HARD LOCK (MATCH ABOUT PAGE)
========================================================= */

/* REMOVE ANY HERO IMAGE */
body.career-page img:first-of-type {
  display: none !important;
}

/* REMOVE ALL BOXES */
body.career-page .glass-box,
body.career-page .career-card,
body.career-page .home-card,
body.career-page .expandable-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* REMOVE BUTTON OVERLAYS */
body.career-page .expand-close,
body.career-page .card-overlay {
  display: none !important;
}

/* CLEAN STACKED LAYOUT */
body.career-page .career-grid,
body.career-page .home-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 35px !important;
  max-width: 1000px;
  margin: 0 auto;
}

/* TEXT CLEAN + READABLE */
body.career-page p {
  text-align: center !important;
  max-width: 900px;
  margin: 0 auto 10px auto !important;
  line-height: 1.7 !important;
}

/* HEADINGS CENTERED */
body.career-page h2,
body.career-page h3 {
  text-align: center !important;
  margin-bottom: 10px !important;
}

/* FADE BACKGROUND MORE FOR READABILITY */
body.career-page::before {
  opacity: 0.15 !important;
}
/* =========================================================
   CAREER PAGE — FADE BACKGROUND + WIDEN WORDING
========================================================= */

/* Fade the large background logo/truck */
body.career-page::after {
  opacity: 0.08 !important;
}

/* Widen the career content */
body.career-page .career-options .container,
body.career-page .career-content .container,
body.career-page .container {
  width: min(1200px, calc(100% - 80px)) !important;
  max-width: 1200px !important;
}

/* Widen paragraphs */
body.career-page p {
  max-width: 1100px !important;
  width: 100% !important;
  text-align: center !important;
  line-height: 1.7 !important;
}

/* Widen each section */
body.career-page .career-grid,
body.career-page .career-card,
body.career-page .career-section {
  max-width: 1100px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep bullet lists wider and readable */
body.career-page ul,
body.career-page .career-list {
  max-width: 900px !important;
  margin: 12px auto !important;
  text-align: left !important;
  line-height: 1.7 !important;
}

/* Phone stays fitted */
@media (max-width: 768px) {
  body.career-page .container,
  body.career-page .career-options .container,
  body.career-page .career-content .container {
    width: min(100% - 28px, 1200px) !important;
  }

  body.career-page p {
    max-width: 100% !important;
  }
}
/* =========================================================
   LEARN MORE PAGES HARD LOCK
   Removes boxes, fades background, keeps layout stable
========================================================= */

/* Fade background logo/truck */
body.learnmore-page::after,
body.career-page::after {
  opacity: 0.08 !important;
}

/* Remove all boxes on Learn More pages */
body.learnmore-page .glass-box,
body.learnmore-page .learnmore-card,
body.learnmore-page .learnmore-hero-card,
body.learnmore-page .career-card,
body.learnmore-page .career-section {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Widen wording */
body.learnmore-page .container,
body.learnmore-page .learnmore-page .container,
body.learnmore-page .learnmore-content .container,
body.learnmore-page .career-content .container {
  width: min(1200px, calc(100% - 80px)) !important;
  max-width: 1200px !important;
}

/* Clean readable text */
body.learnmore-page p,
body.learnmore-page li {
  line-height: 1.7 !important;
}

/* Center headings */
body.learnmore-page h2,
body.learnmore-page h3,
body.learnmore-page h4 {
  text-align: center !important;
}

/* Keep grids clean but wider */
body.learnmore-page .learnmore-grid,
body.learnmore-page .career-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep action buttons neat */
body.learnmore-page .learnmore-actions,
body.learnmore-page .career-actions {
  justify-content: center !important;
}

/* Phone stays fitted */
@media (max-width: 768px) {
  body.learnmore-page .container,
  body.learnmore-page .learnmore-content .container,
  body.learnmore-page .career-content .container {
    width: min(100% - 28px, 1200px) !important;
  }
}
/* =========================================================
   RESOURCES PAGE HARD LOCK
   Removes boxes, fades background, widens wording
========================================================= */

/* Fade background logo/truck */
body.resources-page::after {
  opacity: 0.08 !important;
}

/* Remove all boxes */
body.resources-page .glass-box,
body.resources-page .resource-card,
body.resources-page .resources-card,
body.resources-page .home-card,
body.resources-page .hero-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

/* Widen page content */
body.resources-page .container,
body.resources-page .home-content .container,
body.resources-page .resources-content .container {
  width: min(1200px, calc(100% - 80px)) !important;
  max-width: 1200px !important;
}

/* Clean stacked layout */
body.resources-page .home-grid,
body.resources-page .resources-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 35px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Text readable */
body.resources-page h2,
body.resources-page h3 {
  text-align: center !important;
}

body.resources-page p,
body.resources-page li {
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.7 !important;
}

/* Phone fitted */
@media (max-width: 768px) {
  body.resources-page .container,
  body.resources-page .home-content .container,
  body.resources-page .resources-content .container {
    width: min(100% - 28px, 1200px) !important;
  }
}
/* =========================================================
   CONTACT PAGE HARD LOCK
   Removes boxes, fades background, widens wording
========================================================= */

/* Fade background logo/truck */
body.contact-page::after {
  opacity: 0.08 !important;
}

/* Remove all boxes */
body.contact-page .glass-box,
body.contact-page .contact-card,
body.contact-page .owner-photo-box,
body.contact-page .contact-photo-box,
body.contact-page .hero-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

/* Widen page content */
body.contact-page .container,
body.contact-page .contact-content .container {
  width: min(1200px, calc(100% - 80px)) !important;
  max-width: 1200px !important;
}

/* Keep contact layout clean */
body.contact-page .contact-grid,
body.contact-page .owner-grid,
body.contact-page .contact-owner-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 40px !important;
  align-items: center !important;
}

/* Text readability */
body.contact-page h2,
body.contact-page h3 {
  text-align: center !important;
}

body.contact-page p,
body.contact-page li {
  line-height: 1.7 !important;
}

/* Keep owner image controlled */
body.contact-page img,
body.contact-page .owner-photo,
body.contact-page .contact-photo,
body.contact-page .owner-image {
  max-width: 520px !important;
  width: 100% !important;
  height: auto !important;
  max-height: 560px !important;
  object-fit: cover !important;
  border-radius: 18px !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Phone fitted */
@media (max-width: 900px) {
  body.contact-page .contact-grid,
  body.contact-page .owner-grid,
  body.contact-page .contact-owner-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  body.contact-page .container,
  body.contact-page .contact-content .container {
    width: min(100% - 28px, 1200px) !important;
  }
}
/* =========================================================
   RESOURCES INTRO CENTER FIX
========================================================= */

body.resources-page .resources-intro,
body.resources-page .resources-content,
body.resources-page .resources-header {
  text-align: center !important;
}

/* Keep text centered but readable width */
body.resources-page .resources-intro p,
body.resources-page .resources-content p {
  max-width: 900px !important;
  margin: 0 auto 12px auto !important;
  line-height: 1.7 !important;
}

/* Center the title clean */
body.resources-page h1,
body.resources-page h2 {
  text-align: center !important;
  margin-bottom: 12px !important;
}
/* =========================================================
   MOBILE CENTER FIX (HOME PAGE SHIFT ISSUE)
========================================================= */

/* Stop horizontal overflow */
html, body {
  overflow-x: hidden !important;
}

/* Make sure main container is centered on mobile */
@media (max-width: 768px) {

  .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* Fix sections that may be pushing sideways */
  .home-page,
  .home-page .home-grid,
  .home-page .home-split {
    width: 100% !important;
    margin: 0 auto !important;
  }

  /* Fix images overflowing */
  .home-page img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Center all text blocks */
  .home-page h1,
  .home-page h2,
  .home-page h3,
  .home-page p {
    text-align: center !important;
  }

  /* Fix split layout stacking */
  .home-page .home-split {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Prevent anything from shifting right */
  * {
    box-sizing: border-box;
  }
}
/* =========================================================
   HOME MOBILE LOGO FIT FIX
========================================================= */

@media (max-width: 768px) {
  body.home-page .brand {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  body.home-page .logo {
    width: 45px !important;
    min-width: 45px !important;
    height: auto !important;
  }

  body.home-page .brand-text h1 {
    font-size: 1.65rem !important;
    line-height: 1.05 !important;
    white-space: normal !important;
  }

  body.home-page .brand-text p {
    font-size: 0.85rem !important;
    margin-top: 2px !important;
  }
}

@media (max-width: 480px) {
  body.home-page .logo {
    width: 38px !important;
    min-width: 38px !important;
  }

  body.home-page .brand-text h1 {
    font-size: 1.35rem !important;
  }
}
/* BUTTON STYLE */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: 0.2s ease;
}

/* PRIMARY BUTTON */
.btn.primary {
  background: linear-gradient(135deg, #7b61ff, #a88bff);
  color: #fff;
}

/* HOVER */
.btn.primary:hover {
  opacity: 0.9;
}

/* BUTTON LAYOUT */
.button-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

/* FINAL BUTTON SYSTEM */

.button-row {
  width: 100%;
  display: flex;
  margin-top: 30px;
}

.first-step-buttons {
  justify-content: flex-end;
}

.middle-step-buttons {
  justify-content: space-between;
}

.next-btn,
.back-btn,
.submit-btn {
  padding: 12px 26px;
  border-radius: 14px;
  border: 1px solid #d6c0b1;
  background: rgba(255,255,255,0.92);
  color: #241b16;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.submit-btn {
  background: #241b16;
  color: white;
  border: none;
}

