/* ===================================
   UNIVERSAL STYLES FOR ALL PAGES
   =================================== */

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: #f6f9ff;
  font-family: Arial, Helvetica, sans-serif;
  color: #111111;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

table,
td {
  border-collapse: collapse;
}

img {
  border: 0;
  height: auto;
  line-height: 100%;
  outline: none;
  text-decoration: none;
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: #150e56;
}

/* ===================================
   LAYOUT CONTAINERS
   =================================== */

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #f6f9ff;
}

.content-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
}

.px {
  padding-left: 10px;
  padding-right: 10px;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

.section-title {
  font-family: Arial, Helvetica, sans-serif;
  color: #150e56;
  font-size: 22px;
  line-height: 1.3;
  margin: 0;
  font-weight: bold;
}

.body-text {
  font-family: Arial, Helvetica, sans-serif;
  color: #111111;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.eyebrow {
  font-family: Arial, Helvetica, sans-serif;
  color: #01215d;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-size: 32px;
  color: #150e56;
  margin-bottom: 20px;
  font-weight: bold;
}

h2 {
  font-size: 24px;
  color: #150e56;
  margin-bottom: 20px;
}

p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #111111;
}

/* ===================================
   HEADER STYLES
   =================================== */

.header {
  background: #eef4ff;
  text-align: center;
  padding: 30px 20px;
}

.header img {
  max-width: 150px;
  height: auto;
  margin: 0 auto 15px;
  display: block;
}

.header h1 {
  font-size: 28px;
  color: #150e56;
  font-weight: bold;
  margin: 10px 0 0;
}

.header p {
  font-size: 16px;
  color: #01215d;
  margin: 5px 0;
}

/* ===================================
   DIVIDER
   =================================== */

.divider {
  height: 6px;
  background: #06907b;
}

.divider-small {
  width: 60px;
  height: 4px;
  background: #06907b;
  margin: 30px auto;
  border-radius: 2px;
}

/* ===================================
   CONTENT SECTIONS
   =================================== */

.content {
  padding: 30px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.content h2 {
  text-align: center;
}

.content p {
  text-align: center;
}

/* ===================================
   FOOTER STYLES
   =================================== */

.footer {
  background: #150e56;
  color: #ffffff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

.footer p {
  font-size: 14px;
  margin: 5px 0;
  color: #dbe6ff;
}

.footer-text {
  font-size: 14px;
  color: #666;
  margin-top: 30px;
}

/* ===================================
   FORM STYLES (Newsletter Signup)
   =================================== */

.form-container {
  width: 100%;
  max-width: 900px;
  margin: 30px auto 60px;
  padding: 0 10px;
  min-height: 800px;
}

.form-wrapper {
  position: relative;
  width: 100%;
  height: 1200px;
  overflow: visible;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.form-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;
}

/* ===================================
   THANK YOU PAGE STYLES
   =================================== */

body.thank-you-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.thank-you-container {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 60px 40px;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.thank-you-container img {
  max-width: 150px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #06907b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: scaleIn 0.5s ease-out;
}

.checkmark svg {
  width: 50px;
  height: 50px;
  stroke: #ffffff;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: drawCheck 0.5s ease-out 0.3s forwards;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.highlight {
  color: #06907b;
  font-weight: bold;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

/* ===================================
   RESPONSIVE DESIGN - TABLET
   =================================== */

@media screen and (max-width: 768px) {
  .px {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .stack td {
    display: block !important;
    width: 100% !important;
  }

  .section-title {
    font-size: 20px;
  }

  .body-text {
    font-size: 15px;
  }

  .header h1 {
    font-size: 24px;
  }

  .header p {
    font-size: 14px;
  }

  .content {
    padding: 20px 15px;
  }

  .content h2 {
    font-size: 20px;
  }

  .content p {
    font-size: 15px;
  }

  .form-container {
    padding: 0 5px;
  }

  .form-wrapper {
    padding-bottom: 100%; /* Taller on mobile */
  }

  h1 {
    font-size: 26px;
  }

  p {
    font-size: 16px;
  }

  .thank-you-container {
    padding: 40px 30px;
  }

  .checkmark {
    width: 70px;
    height: 70px;
  }

  .checkmark svg {
    width: 40px;
    height: 40px;
  }
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE
   =================================== */

@media screen and (max-width: 480px) {
  .px {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .section-title {
    font-size: 18px;
  }

  .header {
    padding: 20px 15px;
  }

  .header h1 {
    font-size: 20px;
  }

  .content h2 {
    font-size: 18px;
  }

  .form-wrapper {
    padding-bottom: 120%; /* Even taller on small mobile */
  }

  h1 {
    font-size: 22px;
  }

  p {
    font-size: 15px;
  }

  .thank-you-container {
    padding: 30px 20px;
  }
}
