/* Reset & Base Styles */
/* 1. Setting the global variables */
:root {
  --green: #71a924;
  --grey: #eee;
  --green-lime:#8FCB2E;
  --green-dark:#4E8A14;
  --orange:#E45B20;
  --orange-btn:#E65100;
  --ink:#333333;
  --ink-soft:#666666;
  --line:#E2E2E2;
  --panel:#F4F4F4;
}
html,body{margin:0;padding:0}
body{
  font-family:"Sans-Serif";
  /*font-family:"Open Sans","Helvetica Neue",Arial,Helvetica,sans-serif;*/
  color:var(--ink);
  font-size: 16px;
  /*font-size:1rem;*/
  background:#fff;
  line-height:1.5;
}
a{color:var(--green-dark);text-decoration:none}
a.ongreen{color:blanchedalmond;}
a:hover{text-decoration:underline}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
h3 {
	padding-top: 0.5rem;
}
ul {
	list-style-position: inside;
}
/*body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}*/

/* Fixed Top Migration Banner */
.migration-banner {
  color: #ffffff;
  background-color: var(--green);
  text-align: center;
  padding: 18px 20px;
  /*position: sticky;*/
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.migration-banner h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.migration-banner p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 12px auto;
}
.btn-fresho {
  display: inline-block;
  background-color: #e67e22;
  color: #fff;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 1.5rem;
  transition: background-color 0.2s ease;
}
.btn-fresho:hover {
  background-color: #d35400;
}

/* Active Header Navigation */
header {
  background-color: #ffffff;
  /*border-bottom: 1px solid #e0e0e0;*/
  position: relative;
  z-index: 999;
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  flex-direction: column;
}
@media(min-width: 900px) {
	.nav-container {
		flex-direction: row;
		flex-wrap: wrap;
	}
}
.nav-link {
	white-space: nowrap;
}
.brands-logos {
  width: 1000px;
  margin-top: 1.5rem;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2d5a27;
  text-transform: uppercase;
  letter-spacing: 1px;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}
nav a {
  font-size: 0.8rem;
  color: #444;
  padding: 0.6rem 2rem;
  transition: color 0.2s;
  background-color: #eee;
}
nav a:hover, nav a.active {
  /*color: #2d5a27;
  border-bottom: 2px solid #2d5a27;*/
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  text-decoration: none;
}

/* Main Container & Translucent Overlay */
.main-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 80vh;
  background: #ffffff;
}

/* Light Translucent Overlay to deactivate static background */
.legacy-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(245, 245, 245, 0.7);
  backdrop-filter: blur(2px);
  z-index: 50;
  pointer-events: all; /* Prevents interaction with background elements */
}

/* Page View Sections */
.page-section {
  display: none;
  padding: 0 20px;
}
.page-section.active {
  display: block;
}

/* Mock Homepage Content (Visual Replica) */
.hero-mock {
  background: #e8f5e9;
  padding: 60px 20px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 30px;
}
.hero-mock h1 { font-size: 2.2rem; color: #1b5e20; margin-bottom: 10px; }
.grid-mock {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card-mock {
  border: 1px solid #e0e0e0;
  padding: 20px;
  border-radius: 6px;
  background: #fff;
}

/* Active Page Styles (Sign-Up / Contact / About) */
.active-content {
  position: relative;
  z-index: 100; /* Keeps functional forms above overlay */
  /*max-width: 650px;*/
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.active-content iframe {
  width: 100%;
  height: 160rem;
  border: none;
}
.active-content>div:has(div):has(h2) {
	background: linear-gradient(to bottom,  #ffffff 11%,#ffffff 11%,#f8f8f8 12%,#ececec 100%);
	margin-bottom: 1rem;
}
.active-content>div>div:has(h2) {
	/*background: var(--grey);*/
    background-image: url(/images/content-title-banner.png);
    background-size: 2.4rem;
    background-repeat: no-repeat;
	margin-left: -25px;
}
.active-content>div>div>h2 {
	color: var(--green);
	padding: 0.6rem 2.8rem;
}
	
/* Form Container & Scrollbar-Free iFrame */
.iframe-wrapper {
  width: 100%;
  overflow: hidden; /* Prevents container-level scrollbars */
  border-radius: 4px;
  padding: 2rem 0;
  margin: 2rem 0;
  background:rgb(from var(--green-lime) r g b / 0.1);
}
.signup-iframe {
  width: 100%;
  height: 850px; /* Ample height so the form body renders fully */
  border: none;
  overflow: hidden; /* Strips internal browser scrollbars */
  display: block;
}

/* Footer */
footer {
  background: #333;
  color: #eee;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  position: relative;
  z-index: 100;
}

div.teQAzf {
	width: 700px;
}

img.logo {
	width: 360px;
}

/* ===== Fresho callout (bigger) ===== */
.fresho-callout{
  max-width:980px;margin:30px auto 10px;
  border:1px solid #d6e7c0;background:#f4faec;border-radius:6px;
  padding:26px 28px;display:flex;align-items:center;gap:22px;flex-wrap:wrap;
}
.fresho-callout .ico{
  flex:0 0 auto;width:60px;height:60px;border-radius:50%;
  background:var(--green-lime);color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:30px;font-weight:700;
}
.fresho-callout .txt{flex:1 1 320px}
.fresho-callout h3{margin:0 0 4px;font-size:18px;color:#2f4a12}
.fresho-callout p{margin:0;color:#4a5a33;}
.fresho-callout a.btn{
  display:inline-block;margin-top:12px;background:var(--orange);color:#fff;
  padding:10px 22px;border-radius:3px;font-weight:700;text-transform:uppercase;
  font-size:13px;letter-spacing:.04em;text-decoration:none;
}
.fresho-callout a.btn:hover{background:#c44500}

/* ===== Contact Card ===== */
.contact-card{
  border:1px solid var(--line);border-radius:4px;padding:24px 26px;background:#fcfcfc;
  margin-top:6px;
}
.contact-card dt{font-weight:700;color:#555;margin-top:14px;text-transform:uppercase;letter-spacing:.05em}
.contact-card dd{margin:4px 0 0;color:#333}
.contact-card dt:first-child{margin-top:0}

p.welcome {
	font-size: 16px;
	text-align: center;
}
div.new-customer {
  color: #ffffff;
  background-color: var(--green);
  text-align: center;
  padding: 0.5rem;
  margin: 1.5rem 0;
  font-size: 1.5rem;
}

h3.freight {
	font-weight: normal;
}


/* ===== Brand Grid ===== */
/* grid container */
.logo-grid {
  display: grid;
  /* Automatically fits as many columns as possible, minimum 150px wide each */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  /* Spacing between grid items */
  /*gap: 10px;*/
  /* Optional: padding around the entire grid */
  /*padding: 20px;*/
  margin: 1rem 0;
  align-items: center;
}
/* logo wrappers */
.logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Optional: Background or padding to give logos breathing room */
  /*padding: 15px;*/
  background-color: #f9f9f9;
  border-radius: 8px;
  /*height: 100px;*/
}
/* logo images */
.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Optional: Makes logos look uniform by default and pop on hover */
  /*filter: grayscale(100%);*/
  opacity: 0.9;
  transition: all 0.3s ease;
}
/* hover */
.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
h3#popular-brands {
	text-align: center;
	margin: 1rem;
}


/* ===== Sign Up Form ===== */
.signup-form{max-width:680px;margin-top:8px}
.note{
  background:#fbf6e9;
  border:1px solid #ecd9a8;
  border-radius:3px;
  padding:14px 16px;
  font-size:13.5px;
  color:#7a5b16;
  margin: 1rem 0;
}
.signup-form label{display:block;font-weight:700;color:#444;font-size:12.5px;text-transform:uppercase;letter-spacing:.04em;margin:14px 0 5px}
.signup-form input,.signup-form select,.signup-form textarea{
  width:100%;padding:9px 11px;border:1px solid #cfcfcf;border-radius:2px;font-size:14px;font-family:inherit;
}
.signup-form .row{display:flex;gap:14px;flex-wrap:wrap}
.signup-form .row > div{flex:1 1 220px}
.signup-form .submit{
  margin-top:22px;background:var(--orange-btn);color:#fff;border:0;padding:12px 30px;
  font-weight:700;text-transform:uppercase;letter-spacing:.05em;border-radius:3px;cursor:pointer;font-size:13px;
}
.signup-form .submit:hover{background:#c44500}
.signup-form .hint{font-size:12px;color:#888;margin-top:4px;font-weight:400;text-transform:none;letter-spacing:0}

div.horiz-center {
	display: flex;
	justify-content: center;
	margin: 1rem;
}

.contact-detail>div {
	margin: 1rem 2rem;
}

.contact-detail>div>span {
	display: inline-block;
	min-width: 5rem;
  	/*background:rgb(from var(--grey) r g b / 0.4);*/
	font-weight: 700;
    color: #444;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

@media(min-width: 900px) {
	.contact-detail>div {
		margin: 0.5rem 2rem;
	}
	.contact-detail>div>div {
		display: inline-block;
		margin-left: 0.6rem;
	}
}

