/* =====================
   CSS Variables & Reset
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-primary: #1fa96a;
  --green-dark: #178a55;
  --green-light-bg: #e8f7f0;
  --green-border: #b6e5cf;
  --text-dark: #1a1a1a;
  --text-mid: #444;
  --text-muted: #777;
  --border-color: #d4d4d4;
  --white: #ffffff;
  --card-bg: #ffffff;
  --body-bg: #f5f5f5;
  --required-red: #e53e3e;
  --font-heading: 'Droid Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Droid Serif', Georgia, 'Times New Roman', serif;
}

body {
  font-family: var(--font-body);
  background-color: white;
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;

}

.gl-container{
     max-width: 1100px;
    margin: 50px auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.247);
    margin-top: 30px;
}

/* =====================
   Hero Banner
   ===================== */
.hero-banner {
  background:linear-gradient(
131deg, #00BC7D, #009689);
  color: var(--white);
  text-align: center;
  padding: 48px 24px 44px;
}

.hero-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.hero-banner p {
  /* max-width: 640px; */
  margin: 0 auto 12px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  opacity: 0.93;
  line-height: 1.65;
}

.hero-banner p:last-child {
  margin-bottom: 0;
}

/* =====================
   Form Card
   ===================== */
.form-card {
  background: var(--card-bg);
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 36px 32px;
  /* border: 1px solid #e0e0e0; */
  border-top: none;
}

@media (max-width: 600px) {
  .form-card {
    padding: 28px 18px 24px;
  }
}

/* =====================
   Section Headers
   ===================== */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 20px;
  padding-bottom: 8px;
  /* border-bottom: 2px solid #f0f0f0; */
}

.section-header:first-of-type {
  margin-top: 0;
}

.section-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.section-header h2 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.optional-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 20px;
}

/* =====================
   Field Groups
   ===================== */
.field-group {
  margin-bottom: 20px;
}

.field-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.required {
  color: var(--required-red);
  margin-left: 2px;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 13px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #aaa;
  font-size: 0.875rem;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(31, 169, 106, 0.12);
}

.field-group input.error,
.field-group textarea.error {
  border-color: var(--required-red);
}

.hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* =====================
   Org Type Grid
   ===================== */
.org-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .org-type-grid {
    grid-template-columns: 1fr;
  }
}

.org-type-card {
  display: block;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  position: relative;
  background: var(--white);
}

.org-type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.card-content strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.card-content span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.org-type-card:hover {
  border-color: var(--green-primary);
  background: #f6fdf9;
}

.org-type-card:has(input:checked) {
  border-color: var(--green-primary);
  background: #f0faf5;
  box-shadow: 0 0 0 2px rgba(31,169,106,0.18);
}

.org-type-card:has(input:checked) .card-content strong {
  color: var(--green-dark);
}

/* =====================
   Form Actions
   ===================== */
.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 24px;
}

.btn-clear {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
  padding: 4px 8px;
  border-radius: 4px;
}

.btn-clear:hover {
  color: var(--text-dark);
}

.btn-submit {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(
141deg, #00BC7D, #009689);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 15px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}

.btn-submit:hover {
  background: var(--green-dark);
  box-shadow: 0 4px 16px rgba(20, 131, 85, 0.3);
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit.loading {
  opacity: 0.75;
  pointer-events: none;
}

/* =====================
   What Happens Next
   ===================== */
.next-steps {
  background: var(--green-light-bg);
  border: 1.5px solid var(--green-border);
  border-radius: 10px;
  padding: 20px 24px;
}

.next-steps h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.next-steps ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.next-steps li {
  font-size: 0.875rem;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.check-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* =====================
   Footer Disclaimer
   ===================== */
.footer-disclaimer {
margin: 0 auto;
    padding: 16px 24px 32px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border: 1px solid #e0e0e0;
    border-top: none;
    background: #f5f5f5;
}

/* =====================
   Success Toast
   ===================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================
   Success Modal
   ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 36px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
  color: #333;
  background: #f0f0f0;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #00BC7D 0%, #009689 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-title {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 14px;
}

.modal-body {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 6px;
}

.modal-subtext {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-style: italic;
}

.modal-next {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 24px;
}

.modal-next-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.modal-next ul {
  list-style: disc;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-next ul li {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.45;
}

.modal-btn-primary {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #00BC7D 0%, #009689 100%);
  color: #ffffff;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  margin-bottom: 14px;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.modal-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.modal-btn-link {
  background: none;
  border: none;
  color: var(--green-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.modal-btn-link:hover {
  color: var(--green-dark);
  background: #f0faf5;
}

@media (max-width: 520px) {
  .modal-box {
    padding: 32px 20px 24px;
  }
  .modal-title {
    font-size: 1.05rem;
  }
}


/* ==================================== */


/* =============================================================== */
/* Newsletter Section */
.newsletter-section {
    background:linear-gradient(90deg, #014994 0%, #45b876 100%);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    width: 80%;
    margin: auto;
}

.newsletter-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-title {
    font-size: 24px;
    margin: 0;
    font-weight: bold;
}

.newsletter-text {
    font-size: 14px;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
}

.newsletter-right {
    display: flex;
    justify-content: flex-end;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    width: 100%;
        background: white;
    padding: 4px;
    border-radius: 5px;
}

.email-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.email-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.subscribe-btn {
    padding: 12px 24px;
    background:#2abf60;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: #0f4028;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .newsletter-right {
        justify-content: stretch;
    }

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

    .newsletter-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .subscribe-btn {
        width: 100%;
    }

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