html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 0; /* remove extra padding from body */
  background-color: #f0f4f8;
  color: #333;
  overflow-x: hidden;
}

main {
  flex: 1; /* expand main to fill space */
  display: flex; /* optional: center container vertically */
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.container {
  max-width: 600px;
  width: 100%;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
img.profile {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
}
h1 {
  margin-top: 20px;
  font-size: 28px;
  color: #1a1a1a;
}
p {
  font-size: 16px;
  line-height: 1.5;
}
.download-intro {
  font-weight: bold;
  font-size: 16px;
  margin-top: 30px; /* extra space above download section */
}
.download-links {
  margin-top: 15px;
}
.download-links a {
  margin: 10px;
  display: inline-block;
}
.download-links img.download-image {
  width: 150px;
}
a.button, button { background: #2faed1ff; color:#fff; padding:12px 24px; text-decoration:none; border-radius:4px; margin-right:10px;
font-size: 16px; letter-spacing: 0.5px;}
a.button:hover { background: #1d84a0ff; }

a.button2, button { background: #c62fd1ff; color:#fff; padding:12px 24px; text-decoration:none; border-radius:4px; margin-right:10px;
font-size: 16px; letter-spacing: 0.5px;}
a.button2:hover { background: #8f088fff; }

@media (max-width: 768px) {
  main{
    padding: 12px;
  }
  .container {
  padding: 12px;
}
}

/* Footer */
.referral-footer {
  /* background-color: #111; add a background if desired */
  /* padding: 0px 20px; */
  font-family: "Nunito", Arial, sans-serif;
  font-size: 14px;
  width: 100%;
}
.referral-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Top row: logo, links, social in one line */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Logo styling */
.footer-logo img {
  height: 50px;
}

/* Footer links */
.footer a {
  color: #6a6a6a;
  text-decoration: none;
  margin: 0 12px;
  font-size: 14px;
  transition: color 0.3s;
}

.footer a:hover {
  color: #12cef3; /* hover effect */
}

/* Social links styling */
.footer-social a {
  color: #7b7b7b;
  margin: 0 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 24px;
  width: 34px;
  height: 34px;
  line-height: 34px;
  display: inline-block;
  text-align: center;
}

/* Optional adjustment for X/Twitter icon */
.social-icon {
  filter: invert(60%);
  width: 28px;
  height: 21px;
  vertical-align: middle;
  margin-top: -5px; /* adjust vertical alignment */
}

/* Copyright */
.footer-copy {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #aaa;
  text-align: center;
}

/* Responsive: stack elements vertically on mobile */
@media (max-width: 768px) {
  .cindy-footer-container {
    flex-direction: column; /* stack everything vertically */
    align-items: center; /* center all content */
    text-align: center;
    gap: 15px;
  }

  .footer-top {
    /* flex-direction: column; stack logo, links, social vertically */
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-copy {
    margin-top: 5px;
  }
}
