body {
  margin: 0;
  font-family: 'sansation';
  color: #465940;
}

/* ================================
   Header / Navigation
   ================================ */

:root { --logo-size: 67px; }
   
/* ===== HEADER & NAVIGATION ===== */
.site-header {
  background: #FDFBF0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.logo {
  font-family: "Sansation";
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo:hover { opacity: 0.8; }

.logo-img {
  height: var(--logo-size);
  width: auto;
  object-fit: contain;
}

/* Navigation Menu */
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--brand);
  font-size: 17px;
  font-weight: 700;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.nav a.active {
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  color: var(--brand-800);
}

.dropdown-arrow {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.has-dropdown { position: relative; }
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.has-dropdown .dropdown {
  position: absolute;
  right: 0%;
  left: auto;
  top: 100%;
  min-width: 250px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 8px 0;
  display: none;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li { padding: 0; }
.dropdown a { 
	display: block; 
	padding: 10px 14px; 
	color: var(--brand); 
	font-weight: 700; 
	line-height: 1.5; 
	white-space: normal; 
	text-decoration: none;
}
.dropdown a:hover { 
	background: #FDFBF0; 
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Mobile */
@media (max-width: 720px) {
.nav ul {
  display: none;
  position: absolute;
  right: 20px;
  top: 64px;
  background: #FDFBF0; 
  padding: 14px;
  border: 1px solid #e5e5df;
  border-radius: 6px;
  flex-direction: column;
  gap: 12px;
}
.nav ul.open { display: flex; }
.mobile-nav-toggle {
  display: inline-block;
  background: transparent;
  border: 0;
  font-size: 22px;
}
}


/* Hero Section */
.hero {
  background: url('assets/images/autobots.png') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FDFBF0;
  position: relative; /* allow overlay */
}

/* Background overlay that doesn't affect text */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6); /* adjust last value for opacity */
  pointer-events: none;
 
}

/* Ensure text sits above overlay */
.hero-text { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }



.hero-text h1 {
  font-size: clamp(28px, 4.2vw, 52px);    /* responsive heading */
  margin-bottom: 1px;
  color: #465940;
  align-items: center;
  justify-content: center;
  text-align: center;
 
}

.hero-text p {
  font-size: 1.0em;                      /* larger body text */
  color: #465940;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.5;
  margin-bottom: 50px;

}

/* Sections */
.section {
  padding: 60px 80px;
}

.section.dark {
  background: #465940;
  color: #FDFBF0;
  margin-top: -60px;
}

.section.light {
  background: #FDFBF0;
  color: #465940;
}

.section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  font-family: "Amagro";
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.1;
  text-align: left;
  margin: 0 0 30px 0;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.section h2.right {
  flex-direction: row-reverse;
}

.content { 
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;

}

.content.reverse {
  flex-direction: row-reverse;
}

.images {
  width: 45%;          /* closer in size to the text column */
  display: flex;
  justify-content: center;  /* center the active image */
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  overflow: hidden;         /* hide non-active cards */
}

.list {
  width: 50%;          /* balance with image column */
  font-size: 1.3em;
  line-height: 1.8;
  text-align: left;
}


/* Nudge text slightly toward the center:
   - when it’s on the right, move it a bit left
   - when it’s on the left (reverse layout), move it a bit right */
.content:not(.reverse) .list {
  padding-left: 24px;
}

.content.reverse .list {
  padding-right: 24px;
}

/* Gently nudge the HAULING & LOGISTICS text block a bit toward center */
.section.light .content.reverse .list {
  margin-left: 20px;
}


.images {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap; /* keeps them in one line */
  overflow-x: auto;   /* allows horizontal scroll if needed */
  padding-bottom: 10px;
}

.images::-webkit-scrollbar {
  height: 4px; /* small scrollbar */
}

.images::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.3);
  border-radius: 4px;
}


/* Hover Cards */
.hover-card {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  flex: 0 0 auto;
  width: 380px;        /* larger, hero-like but not full-width */
  height: 380px;       /* keep square */
  display: none;       /* hidden by default, shown via .active-card */
}

.hover-card.active-card {
  display: block;
}

.hover-card img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transition: transform 0.4s ease, filter 0.4s ease;
  object-fit: contain;      /* show the whole image (no cropping) */
}

.hover-card:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
  cursor: pointer;
}

/* Highlight state when a list item is clicked */
.hover-card.highlight {
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transform: translateY(-6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Resource list (clickable) styling */
.resource-list {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
}
.resource-list li { margin: 6px 0; }
.resource-link {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
  font-size: 1em;
  text-align: left;
  cursor: pointer;
}
.resource-link:hover,
.resource-link:focus {
  text-decoration: underline;
}

.resource-link.active {
  font-weight: 600;
  text-decoration: underline;
}



@media (max-width: 900px) {
  .content, .content.reverse {
    flex-direction: column !important;
  }
  .list, .images {
    width: 100%;
  }
  /* restore horizontal sliding on narrow screens while keeping images visible */
  .images {
    flex-wrap: nowrap;
    justify-content: center;
    overflow: hidden;
    gap: 12px;
  }

  /* square, fixed-size cards for better visibility on phones */
  .hover-card {
    flex: 0 0 300px;
    width: 300px;
    height: 300px;
  }

  .hover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* allow hero to grow with content to avoid clipping */
  .hero { height: auto; min-height: unset; overflow: visible; padding-top: 88px; padding-bottom: 28px; }

}

@media (max-width: 600px) {
  /* keep horizontal swipe on very small phones while sizing cards responsively */
  .images {
    flex-wrap: nowrap;
    justify-content: center;
    overflow: hidden;
    gap: 12px;
  }

  .hover-card {
    flex: 0 0 min(300px, 90vw);
    width: min(300px, 90vw);
    aspect-ratio: 1/1;
    height: auto;
  }

  .hover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .hero-text h1 { font-size: clamp(24px, 7vw, 36px); line-height: 1.18; }
  .hero-text p { font-size: clamp(13px, 3.6vw, 15px); }
}


/* ===== PARTNERS STRIP ===== */
.partners-strip {
  background: #FDFBF0;
  color: #465940;
  padding: 20px 0;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  overflow: hidden;
}

.partners-slider {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 100%;
}

.partners-track {
  display: flex;
  gap: 60px;
  align-items: center;
  width: max-content;
  animation: slide-partners 15s linear infinite;
}

.partner-item {
  flex: 0 0 auto;
  font-family: 'Sansation';
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.partners-slider:hover .partners-track {
  animation-play-state: paused;
}

.partner-item:hover {
  transform: scale(1.1);
}

@keyframes slide-partners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== HOMEPAGE MOBILE RESPONSIVE ===== */
/* ===== SUPPLIERS / LOGOS SECTION ===== */
.suppliers-section {
  background: #FDFBF0; /* warm cream to match design */
  color: #465940;
  padding: 56px 20px;
}
.suppliers-inner {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}
.suppliers-inner h2 {
  font-family: "Amagro";
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 12px 0;
  font-size: clamp(28px, 4.2vw, 46px);
  color: #2f4f37;
}

/* Animated heading that crossfades between two lines */
.animated-heading{
  position: relative;
  display: inline-block;
  line-height: 1.1;
  min-height: 1.15em;
}
.animated-heading .fade-text{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  display: block;
  transition: opacity 0.6s ease;
  will-change: opacity;
}
.animated-heading .fade-text:nth-child(1){
  animation: fadeCycle 8s infinite;
}
.animated-heading .fade-text:nth-child(2){
  animation: fadeCycle 8s infinite;
  animation-delay: 4s;
}

@keyframes fadeCycle{
  0% { opacity: 0; }
  10% { opacity: 1; }
  45% { opacity: 1; }
  55% { opacity: 0; }
  100% { opacity: 0; }
}
.suppliers-underline {
  width: 120px;
  height: 3px;
  background: #d6c9b0;
  margin: 6px auto 36px;
  opacity: 0.95;
  border-radius: 2px;
}
.suppliers-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}
.suppliers-row {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.suppliers-row.row-top { gap: 120px; }
.suppliers-row.row-bottom { gap: 56px; }
.suppliers-row .supplier img {
  max-height: 76px;
  width: auto;
  display: block;
  object-fit: contain;
}
.suppliers-row.row-top .supplier img { max-height: 96px; }
/* make the last logo on the bottom row larger (Kinsley) */
.suppliers-row.row-bottom .supplier:nth-child(4) img { max-height: 120px; }

@media (max-width: 900px) {
  .suppliers-row.row-top { gap: 56px; }
  .suppliers-row.row-bottom { gap: 28px; }
  .suppliers-row .supplier img { max-height: 64px; }
  .suppliers-row.row-top .supplier img { max-height: 80px; }
}

@media (max-width: 480px) {
  .suppliers-row { gap: 18px; }
  .suppliers-row.row-top { gap: 18px; }
  .suppliers-row .supplier img { max-height: 56px; }
  .suppliers-inner h2 { font-size: 20px; }
}

@media (max-width: 900px) {
	.story-grid { grid-template-columns: 1fr; }
	.cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr; }
    .partners-strip {
      padding: 15px 0;
    }
    .partners-track {
      gap: 40px;
    }
    .partner-item {
      font-size: 16px;
    }
}

/* ===== MODAL STYLES ===== */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
}

.modal-content {
	position: relative;
	background-color: #FDFBF0;
	margin: 2% auto;
	padding: 0;
	width: 90%;
	max-width: 1200px;
	height: 90vh;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	display: flex;
	overflow: hidden;
}

.modal-sidebar {
	width: 25%;
	background-color: #465940;
	color: #FDFBF0;
	padding: 30px 20px;
	overflow-y: auto;
}

.modal-main {
	width: 75%;
	background-color: #FDFBF0;
	padding: 40px;
	overflow-y: auto;
	position: relative;
}

.modal-main::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: none;
	pointer-events: none;
}

.back-link {
	color: #FDFBF0;
	text-decoration: none;
	font-size: 16px;
	margin-bottom: 30px;
	display: block;
	transition: color 0.3s ease;
}

.back-link:hover {
	color: #FDFBF0;
	text-decoration: underline;
}

.modal-nav ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

.modal-nav li {
	margin-bottom: 15px;
}

.modal-nav a {
	color: #FDFBF0;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
	transition: color 0.3s ease;
}

.modal-nav a:hover {
	color: #FDFBF0;
	text-decoration: underline;
}

.modal-main h1 {
	font-size: 32px;
	font-weight: bold;
	color: #465940;
	margin: 0 0 30px 0;
	text-align: center;
	font-family: 'Sansation';
}

.modal-main h2 {
	font-size: 20px;
	font-weight: bold;
	color: #465940;
	margin: 30px 0 15px 0;
	font-family: 'Sansation';
}

.modal-main p {
	font-size: 16px;
	line-height: 1.6;
	color: #465940;
	margin-bottom: 15px;
}

.modal-main ul {
	margin: 15px 0;
	padding-left: 20px;
}

.modal-main li {
	font-size: 16px;
	line-height: 1.6;
	color: #465940;
	margin-bottom: 8px;
}

.modal-main a {
	  color: #465940;
	text-decoration: underline;
}

.modal-main a:hover {
	color: #465940;
}

.modal-intro {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #465940;
}

section {
	margin-bottom: 25px;
}

/* Close button */
.close {
	color: #465940;
	float: right;
	font-size: 28px;
	font-weight: bold;
	position: absolute;
	top: 15px;
	right: 20px;
	cursor: pointer;
}

.close:hover,
.close:focus {
	color: #465940;
	text-decoration: none;
}

/* Responsive modal */
@media (max-width: 768px) {
	.modal-content {
		width: 95%;
		height: 95vh;
		margin: 2.5% auto;
		flex-direction: column;
	}
	
	.modal-sidebar {
		width: 100%;
		height: auto;
		max-height: 200px;
		padding: 20px;
	}
	
	.modal-main {
		width: 100%;
		padding: 20px;
	}
	
	.modal-main h1 {
		font-size: 24px;
		margin-bottom: 20px;
	}
	
	.modal-main h2 {
		font-size: 18px;
		margin: 20px 0 10px 0;
	}
	
	.modal-nav ol {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}
	
	.modal-nav li {
		margin-bottom: 0;
	}
	
	.modal-nav a {
		font-size: 12px;
		padding: 5px 10px;
		background-color: #465940;
		border-radius: 4px;
		display: block;
	}
}

@media (max-width: 480px) {
	.modal-content {
		width: 98%;
		height: 98vh;
		margin: 1% auto;
	}
	
	.modal-sidebar {
		padding: 15px;
	}
	
	.modal-main {
		padding: 15px;
	}
	
	.modal-main h1 {
		font-size: 20px;
	}
	
	.modal-main h2 {
		font-size: 16px;
	}
	
	.modal-main p,
	.modal-main li {
		font-size: 14px;
	}
}
.hover-card {
  transition: transform 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
}
/* ==========================
   SUPPLIERS / LOGOS SECTION
   ========================== */
.suppliers-section {
  background: #FDFBF0;
  color: #465940;
  padding: 56px 20px;
}

.suppliers-inner {
  position: relative;       /* container for stacked sets */
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
  min-height: 160px;        /* adjust height so fading content doesn’t collapse */
}

/* Section heading with optional animated text */
.suppliers-inner h2 {
  font-family: "Amagro";
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 12px 0;
  font-size: clamp(28px, 4.2vw, 46px);
  color: #2f4f37;
}

.suppliers-underline {
  width: 120px;
  height: 3px;
  background: #d6c9b0;
  margin: 6px auto 36px;
  opacity: 0.95;
  border-radius: 2px;
}

/* Container for logo sets (fade-in effect) */
.suppliers-inner {
  height: auto; /* Let it grow with content */
  min-height: 240px; /* Keep minimum height */
  overflow: visible; /* Allow content to show */
  padding-bottom: 40px; /* space between logos and footer */
}

/* Desktop: fade animation */
.suppliers-set {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.suppliers-set.active {
  opacity: 1;
  pointer-events: auto;
}

/* Grid layout for logos */
.suppliers-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}

/* Rows of logos */
.suppliers-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px; /* horizontal and vertical gap */
}

/* Optional variation for top/bottom rows */
.suppliers-row.row-top { gap: 120px; }
.suppliers-row.row-bottom { gap: 56px;  }

/* Individual supplier logo */
.supplier img {
  max-height: 90px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.supplier img:hover {
  transform: scale(1.05);
}

/* Make last logo on bottom row slightly larger */
.suppliers-row.row-bottom .supplier:nth-child(4) img {
  max-height: 120px;
}

/* ==========================
   RESPONSIVE STYLES
   ========================== */
@media (max-width: 900px) {
  .suppliers-row.row-top { gap: 56px; }
  .suppliers-row.row-bottom { gap: 28px; }
  .suppliers-row .supplier img { max-height: 64px; }
  .suppliers-row.row-top .supplier img { max-height: 80px; }
}

@media (max-width: 480px) {
  .suppliers-row { gap: 18px; }
  .suppliers-row.row-top { gap: 18px; }
  .suppliers-row .supplier img { max-height: 56px; }
  .suppliers-inner h2 { font-size: 20px; }
}

/* Optional: smooth horizontal scroll if needed for overflow on tiny screens */
.suppliers-grid {
  overflow-x: auto;
  padding-bottom: 10px;
}

.suppliers-grid::-webkit-scrollbar {
  height: 4px;
}

.suppliers-grid::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 4px;
}
.suppliers-section {
  padding-bottom: 100px;
}

@media (max-width: 900px) {
  .suppliers-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px; /* smaller gap for mobile */
  }
}
.suppliers-section {
  padding-bottom: 85px; /* space before footer */
}

.suppliers-inner {
  position: relative;
  min-height: auto; /* MUST be tall enough for logos */
}
@media (max-width: 768px) {
  .list {
    font-size: 1em;       /* reduce text size */
    line-height: 1.6;    /* tighter spacing */
  }
}
.footer-address a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-address a:hover {
  color: #C8A04A; /* or your brand accent */
}

.location-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-top: 2px;
  flex-shrink: 0;
}