#banner-title {
  color: #FFD526;
  margin-bottom: 25px;
  font-size: 4.0em;
}

p#banner-subtitle {
  color: #ffffff;
  font-size: 2.0em;
  width: 375px;
  max-width: 100%;
}

.hero-banner .banner-content {
  width: 700px;
}

.hero-banner p {
  color: #ffffff;
  font-size: 1.15em;
  line-height: 1.5;
}

#hero-banner-gradient-w-content {
  background: linear-gradient(to bottom, rgba(40, 85, 29, 1) 0%, #2C5437 40%, #0C1812 100%);
  padding: 45px 0;
  color: #fff;
}

.jump-to-border {
  border: 2px solid #A4BB83;
  padding: 20px 40px;
  border-radius: 16px;
  width: fit-content;
}

#jump-to-banner ul {
  list-style-type: none;
  padding-left: 0;
}

#jump-to-banner ul li {
  display: flex; 
  align-items: center; 
}

#jump-to-banner ul li svg {
  margin-right: 10px;
}

#jump-to-banner ul li a {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: bold;
}

section#cdb-difference {
  overflow: hidden;
}

section#cdb-difference h2 {
  color: #ffffff;
}

section#cdb-difference h4 {
  color: #A4BB83;
  font-family: apparat, sans-serif;
}

section#cdb-difference p {
  color: #ffffff;
}

div.what-you-get-box {
  margin: 10px 0;
  text-align: center;
}

div.what-you-get-box span.icon-centered{
  display: block;
  text-align: center;
  margin-bottom: 0px;
}

div.what-you-get-box span.icon-centered img {
  width: 100px; 
  height: 100px;
}

/* FAQ horizontal scroll with overhang */
.faq-scroll-container {
  overflow-x: auto;
  padding: 20px 0;
  /* Add a right padding for the overhang effect */
  margin-right: -40px; /* Negative margin to allow overhang outside container */
}

.faq-cards {
  display: flex;
  gap: 20px;
  min-width: max-content;
  padding: 0 5px;
  /* Add extra right padding so last card peeks out */
  padding-right: 60px;
  align-items: flex-start;
}

.faq-card {
  background: rgba(255, 255, 255, 0.9); 
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); 
  border-radius: 8px; 
  padding: 24px; 
  min-width: 300px; 
  max-width: 350px;
  min-height: 275px;
  width: 80%;
  border-radius: 12px;
}

.faq-card h4 {
  margin-bottom: 12px; 
  color: #414042; 
  font-size: 1.2em; 
  font-weight: bold;
  font-family: apparat, sans-serif;
}

.faq-card p {
  margin: 0; 
  line-height: 1.5;
  color: #414042;
  max-height: 100px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.35s ease;
}

.faq-card.expanded p {
  max-height: 1000px; /* Large enough to show all content */
}

.read-more-btn {
  display: block;
  margin: 10px 0 0 0;
  background: none;
  font-weight: bold;
  color: #49742A;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95em;
}

.resource-card-wrap {
  display: flex;
  flex-wrap: wrap; 
  gap: 20px;
  justify-content: center;
  margin-top: 35px;
}

article.resource {
  width: 200px;
  display: flex;
  flex-direction: column; 
  text-align: center;
}

article.resource .resource-content {
  padding: 20px;
  background: gray;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

article.resource h4>a {
  color: #ffffff;
  font-size: .6em;
  font-weight: bold;
  font-family: sans-serif;
}

article.resource p.resource-cta>a {
  padding-top: 15px;
  font-weight: bold;
  color: #414042;
  text-decoration: underline;
}

article.resource p.resource-cta>a:hover {
  color: #49742A;
}

.vidwrap.video::after {
  display: none;
}

.vidwrap.video svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  fill: #ffffff;
}

/* Modern styles for the video modal dialog */

#video-embed-modal {
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 1.5px 8px rgba(0,0,0,0.10);
  padding: 0;
  background: rgba(30, 40, 30, 0.98);
  max-width: 90vw;
  max-height: 80vh;
  width: 700px;
  overflow: hidden;
  /* Remove position: relative; */
  animation: modalFadeIn 0.25s cubic-bezier(.4,0,.2,1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(40px) scale(0.98);}
  to   { opacity: 1; transform: translateY(0) scale(1);}
}

#video-embed-modal::backdrop {
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(2px);
}

#video-embed-modal iframe {
  display: block;
  border: none;
  width: 100%;
  height: 60vh;
  max-height: 420px;
  border-radius: 0 0 16px 16px;
  background: #000;
}

/* Optional: Add a close button */
#video-embed-modal .modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5em;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
#video-embed-modal .modal-close-btn:hover {
  background: rgba(0,0,0,0.8);
}

/* Compare Squares Layout */
.compare-squares-container {
  display: flex;
  justify-content: center;
  gap: 0px;
  overflow-x: scroll;
  padding-bottom: 30px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 175px);
  /* grid-template-rows: repeat(3, 140px); */
  grid-template-rows: 60px 175px 175px; /* First row shorter */
  gap: 12px;
}

.compare-tile {
  perspective: 800px;
  cursor: pointer;
}

.tile-inner {
  position: relative;
  width: 175px;
  height: 175px;
  transition: transform 0.6s cubic-bezier(.4,2,.6,1);
  transform-style: preserve-3d;
}

.compare-tile.flipped .tile-inner {
  transform: rotateY(180deg);
}


.tile-front, .tile-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  background: #fff;
  color: #2F5A44;
  padding: 12px;
  text-align: center;
}

/* .tile-back {
  background: #ffffff;
  transform: rotateY(180deg);
  color: #222;
  justify-content: center;
  align-items: center;
} */

.tile-back {
  background: #ffffff;
  transform: rotateY(180deg);
  color: #222;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.3s, background 0.3s;
  box-shadow: none;
  border: 2px solid #999;
  padding: 0px;
  overflow: hidden;
}

.compare-tile.glow .tile-back {
  background: #fffbe7;
}

.tile-back img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.compare-grid-title {
  grid-column: 1 / -1;
  align-self: end;
  text-align: center;
  font-weight: 700;
  color: #2F5A44;
  background: none;
}

.compare-grid.left-grid {
  border-right: 3px solid #A4BB83;
  padding-right: 30px;
}

.compare-grid.right-grid {
  padding-left: 30px;
}