body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #0A2342;
}

header {
  position: relative;
  height: 200px;
  background: linear-gradient(270deg, #008080, #004d4d, #008080);
  background-size: 600% 600%;
  animation: gradientShift 10s ease infinite;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.header-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.break {
  width: 100%;
  height: 1px; /* adjust as needed */
}


.nav-left {
  position: absolute;
  top: 20px;
  left: 30px;
  display: flex;
  gap: 25px;
}

.account-link {
  position: absolute;
  top: 20px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-left a,
.account-link a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.2rem;
  transition: opacity 0.2s ease;
}

.nav-left a:hover,
.account-link a:hover {
  opacity: 0.75;
}

.logo {
  position: absolute;
  bottom: .1px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.logo img {
  height: 180px;
}

.hero {
  position: relative;
  flex-direction: column;
  min-height: 600px;
  padding: 100px 20px;
  background-color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.hero-content {
  z-index: 2;
  position: absolute;
  max-width: 1000px;
  top: 40px;
  text-align: center;
  color: #0A2342;
}

.hero-image {
  position: absolute;
  width: 50%;
  max-width: 1000px;
  height: 150%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

.page-title {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 20px auto;
}

.left-img {
  left: -10px;
  bottom: -100px;
  background-image: url('/static/img/left_image.png');
}

.right-img {
  right: -10px;
  bottom: -100px;
  background-image: url('/static/img/right_image.png');
}

.page-section {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.alt-section {
  padding: 20px;
  background-color: #e0dede;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.alt-div {
  text-align: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto; 
}

.alt-div ul {
  text-align: left;          /* left-align text inside the ul */
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical centering if constrained */
  align-items: flex-start;   /* prevents items from centering horizontally */
  margin: 20px auto;         /* centers the ul container itself */
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers contents horizontally */
}

.cta {
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 30px;
  background: #CFF5E7;
  color: #0A2342;
  text-decoration: none;
  font-weight: bold;
  border-radius: 20px;
  transition: background 0.3s ease;
  font-size: clamp(1rem, 2.5vw, 1.5rem); /* 👈 Add this line */
}

.cta:hover {
  background: #0A2342;
  color: #CFF5E7;
}

:root{
  --ink:#ffffff;
  --muted:#ffffff;
  --border:#e5e7eb;
  --bg-footer:#f9fafb;
}

.footer {
  position: relative;              /* anchor for absolute children */
  padding: 24px 40px;
  background: #008080;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 40px;
  font-size: 0.95rem;
  line-height: 1.4; /* tighter than 1.6 */
  width: 100%;
  box-sizing: border-box;          /* ensures padding doesn't push width */
}

.footer p {
  margin: 2px 0; /* reduce top/bottom margins */
  line-height: 1.4;
}

.footer-inner {
  max-width: 100%;
  text-align: left;
}

.footer-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}

.footer-subtext {
  font-size: 0.85rem;
  color: #ffffff;
}

.footer-link {
  color: var(--ink);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer a {
  word-break: break-word;
}

.footer a:visited {
  color: var(--ink);
}

.footer a[href^="tel"],
.footer a[href^="mailto"] {
  font-weight: bold;
  display: inline-block;
  margin-top: 4px;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #ffffff;
  margin-top: 12px;
}

/* --- Logos pinned bottom-right --- */
.footer-logos {
  position: absolute;
  right: 40px;       /* matches footer padding */
  bottom: 24px;      /* matches footer padding */
  display: flex;
  gap: 12px;
}

.footer-logos img {
  max-height: 50px;  /* keeps them neat */
  width: auto;
  height: auto;
  display: block;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cloud-scroll-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%; /* container is wide enough for 2 clouds */
  height: 800px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.cloud-layer {
  width: 8000px;
  height: 100%;
  background-image: url('/static/img/cloud-doodle.png');
  background-repeat: repeat-x;
  background-size: contain;
  animation: cloudScroll 300s linear infinite;
  opacity: 0.4;
}

@keyframes cloudScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-8000px); }
}

.value-inner {
  display: inline-block;
  text-align: center;
  padding: 0px 20px;
  font-size: 1.1rem;
}

.value-inner ul {
  text-align: left;
  display: inline-block;
  margin-top: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
  text-align: center;
}

/* --- SEO Landing Pages --- */

.seo-page {
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.seo-page h1 {
  max-width: 1100px;
  line-height: 1.15;
  margin: 0 auto 30px;
}

.seo-page .alt-div {
  max-width: 850px;
  margin: 0 auto 50px;
}

.seo-page .alt-div p {
  text-align: center;
}

.seo-page .value-inner {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 20px;
  text-align: left;
  box-sizing: border-box;
}

.seo-page .value-inner h2,
.seo-page .value-inner h3 {
  text-align: center;
}

.seo-page .value-inner p {
  text-align: left;
  line-height: 1.65;
  margin-bottom: 18px;
}

.seo-page .feature-list {
  display: inline-block;
  text-align: left;
  margin: 20px auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  
header {
  height: auto;
  padding-bottom: 20px;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

 .feature-list {
    text-align: left;
  }

.logo {
  position: static;
  transform: none;
  margin: 24px 40px 10px 0; /* top, right, bottom, left */
  text-align: center;
  order: 1;
}

.logo img {
  height: 140px;
}

.nav-left {
  position: static;
  order: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 10px 0 0;
}

.nav-left a {
  font-size: 1rem;
}

.account-link {
  position: absolute;
  top: 12px;
  right: 20px;
}

.account-link a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
}

.hero {
  flex-direction: column;
  text-align: center;
  padding: 20px 20px;  /* shrink padding for mobile */
  min-height: 400px;    /* remove fixed height */
  position: relative;
}

.hero h1 {
  font-size: 2rem;
}

.hero p {
  font-size: 1rem;
}

.hero-image {
  display: block !important;
  position: absolute;
  width: 40%;
  max-width: 200px;
  height: auto;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4; /* Optional: lower opacity on mobile */
}

.left-img {
  left: 50%;
}

.right-img {
  right: 0;
  bottom: -20px;
}

.hero-content {
position: relative;
top: 0;
margin-top: 0;
padding: 0;
}


.account-spacer {
height: 40px; /* Adjust if needed */
width: 100%;
}

.cloud-scroll-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%; /* container is wide enough for 2 clouds */
  height: 300px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.cloud-layer {
  width: 8000px;
  height: 100%;
  background-image: url('/static/img/cloud-doodle.png');
  background-repeat: repeat-x;
  background-size: auto 300px;
  animation: cloudScroll 300s linear infinite;
  opacity: 0.4;
}

}