/* OmniMeasures Layout Fix
   This fixes full-width and centering issues with the main
   layout, parallax banners, and calculator cards */

main {
  width: 100vw !important;
  max-width: none !important;
  padding: 0 0 3rem 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative !important;
  left: 0 !important;
}

.centered-row {
  width: 100vw !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  margin: 2.5rem 0 !important;
  max-width: none !important;
}

.calculator-card {
  margin: 0 auto !important;
  min-width: 280px !important;
  max-width: 370px !important;
}

.parallax-banner {
  width: 100vw !important;
  min-height: 190px !important;
  background-attachment: fixed !important;
  background-image: linear-gradient(to top, #12bb7e99 5%, #0f8b6e90 60%, #21c18b8a 100%), url('https://images.unsplash.com/photo-1464983953574-0892a716854b?auto=format&fit=crop&w=1200&q=80') !important;
  background-size: cover !important;
  background-position: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  box-shadow: 0 8px 28px 0 #0f8b6e35 !important;
  margin: 0 !important;
  overflow: hidden !important;
  left: 0 !important;
}

.parallax-banner-secondary {
  background-image: linear-gradient(to top, #226099cc 2%, #21b69e7d 80%, #0005 100%), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1200&q=80') !important;
}

.parallax-banner-content {
  color: #fff !important;
  text-align: center !important;
  width: 100% !important;
  z-index: 2 !important;
  padding: 1.7em 0.5em !important;
  text-shadow: 0 4px 14px #13403c, 0 1em 1em #21365b !important;
  background: rgba(39,131,110,0.18) !important;
  backdrop-filter: blur(3px) brightness(1.14) !important;
  border-radius: 27px !important;
  margin: 0 2vw !important;
}

.parallax-banner-content h2 {
  font-size: 2rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.35em !important;
  letter-spacing: 1.5px !important;
  color: white !important;
}

.parallax-banner-content p {
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  margin: 0 auto !important;
  max-width: 500px !important;
  opacity: 0.95 !important;
  color: white !important;
}

/* Override wrapper-center for main */
.wrapper-center {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wrapper-center main {
  max-width: none !important;
  width: 100vw !important;
}

@media (max-width: 700px) {
}

/* Add glowing effect to buttons */
.hero-content button {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.hero-content button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 60%);
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.4s, transform 0.5s ease-out;
  z-index: -1;
}

.hero-content button:hover::before {
  opacity: 0.7;
  transform: scale(1.5);
}

/* Footer Refinements */
footer {
  text-align: center;
  color: #176c3c;
  border-top: 1.5px solid #cef2e0;
  padding: 2.1rem 0 0.8rem 0;
  font-size: 0.97rem;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #eaffed 65%, #bbffe6 94%);
  box-shadow: 0 -6px 22px #baffd838;
}

.footer-links {
  margin-bottom: 0.1rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.footer-links a {
  color: #219150;
  text-decoration: none;
  font-size: 1.05em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #176c3c;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  fill: #219150;
  transition: transform 0.2s, fill 0.2s;
}

.footer-social svg:hover {
  fill: #176c3c;
  transform: scale(1.2);
}

