@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');


/* =====================================================================
   #GROWWITHJARO POPUP – styles
   Everything is prefixed "gwj-" so it doesn't affect the rest of your page.
   Colours and fonts are set once below.
   ===================================================================== */
.gwj-popup {
     --gwj-gold: #ffb347;
      --gwj-orange: #951c44;          /* buttons */
  --gwj-orange-hover: #b8121a; 
  --gwj-red: #951c44;          /* buttons */
  --gwj-red-dark: #7e032c;     /* button hover */
  --gwj-jaro: #31396a;         /* Jaro Education blue */
  --gwj-jaro-light: #eef0f8;   /* soft Jaro blue */
  --gwj-ink: #121316;          /* headings */
  --gwj-text: #4b4d53;         /* body text */
  --gwj-muted: #74767c;        /* small print */
  --gwj-line: #e2e1dd;         /* borders */
  --gwj-mist: #f3f2ef;         /* light grey */
  --gwj-font: Manrope, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --gwj-font-head: Fraunces, Georgia, "Times New Roman", serif;
 --toran: url("../assets/toran.svg");
}
.gwj-popup {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  padding: 20px;
  font-family: var(--gwj-font);
  color: var(--gwj-text);
}
.gwj-popup[hidden] { display: none !important; }
#form-dialog {
  width: 100vw;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
#form-dialog::backdrop { background: transparent; }
.gwj-popup *, .gwj-popup *::before, .gwj-popup *::after { box-sizing: border-box; }

.gwj-backdrop { 
  position: absolute; inset: 0; 
  background: rgba(11, 26, 54, .62); 
  backdrop-filter: blur(4px);
}

.gwj-popup .fwb { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gwj-popup .fw { position: absolute; width: 0; height: 0; transform: scale(var(--s)); }
.gwj-popup .fw i {
  position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 6px var(--c); opacity: 0;
  animation: gwj-burst 6s cubic-bezier(.2, .7, .3, 1) infinite; animation-delay: var(--dl);
}
.gwj-popup .fw::after {
  content: ""; position: absolute; left: -1px; top: 0; width: 2px; height: 30px;
  background: linear-gradient(var(--c), transparent); opacity: 0;
  animation: gwj-rise 6s ease-out infinite; animation-delay: calc(var(--dl) - .5s);
}
@keyframes gwj-burst {
  0% { opacity: 0; transform: rotate(var(--a)) translateY(0) scale(1); }
  4% { opacity: 1; }
  30% { opacity: .85; transform: rotate(var(--a)) translateY(-50px) scale(.9); }
  45%, 100% { opacity: 0; transform: rotate(var(--a)) translateY(-60px) scale(.3); }
}
@keyframes gwj-rise {
  0% { opacity: 0; transform: translateY(80px); }
  5% { opacity: .7; }
  8% { opacity: 0; transform: translateY(0); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .gwj-popup .fw i, .gwj-popup .fw::after { animation: none; }
}

/* Keep the promotional content in the DOM, but show only the application form. */
.gwj-popup .gwj-side,
.gwj-popup .gwj-step-intro { display: none !important; }
.gwj-popup .gwj-step-form { display: block !important; }

/* Form-only popup */
.gwj-box {
  position: relative;
  display: block;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  animation: gwj-pop .25s ease-out;
}

/* Close Button */
.gwj-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 0; border-radius: 50%; 
  background: rgba(0, 0, 0, 0.6); 
  color: #ffffff; cursor: pointer;
  transition: background 0.2s;
}
.gwj-close:hover { background: rgba(0, 0, 0, 0.8); }

/* Left Side Panel */
.gwj-side {
  position: relative;
  background: linear-gradient(160deg, var(--gwj-red), var(--gwj-red-dark));
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0px 0px;
  gap: 20px;
}

.gwj-side-copy{
 padding: 40px 32px;
}
/* Step 1 Main Title ("An ordinary MBA won't cut it...") */
.gwj-main-title { 
  font-size: 18px; /* Increased from 19px */
  font-weight: 800; 
  line-height: 1.25; 
  margin: 0; 
  font-family: var(--gwj-display);
}

.gwj-side-sub { font-size: 15px; color: rgba(255, 255, 255, .65); margin: 0; }

.gwj-step-form { position: relative; display: block; height: auto; }
/* Right Panel Elements */
.gwj-main { display: block; padding: 0; }
.gwj-step-intro { display: flex; flex: 1; flex-direction: column; }
.gwj-header {
  position: relative;
  /* background: linear-gradient(180deg, #071229 0%, #0E2248 100%); */
  color: #ffffff;
  padding: 20px 20px;
  text-align: center;
  height: 100%;
}
.gwj-garland  {position:relative;top:0;left:0;right:0;height:46px;z-index:2;pointer-events:none;background:var(--toran) repeat-x 0 0/80px 48px}
/* .gwj-garland .marigold { width: 8px; height: 8px; background: #FF9900; border-radius: 50%; box-shadow: 0 0 5px #FF9900; }
.gwj-garland .leaf { width: 5px; height: 10px; background: #10B981; border-radius: 0 100% 0 100%; } */

.gwj-subtag { 
  font-size: 11.5px;
  font-weight: 800; 
  letter-spacing: 1.5px; 
  color: var(--gwj-gold); 
  margin-bottom: 8px; 
}
.gwj-cert-label { 
  font-size: 11px;
  font-weight: 700; 
  letter-spacing: 2px; 
  color: rgba(255, 255, 255, .7); 
  margin-bottom: 4px; 
  text-transform: uppercase;
}
.gwj-cert-title { 
  font-size: 27px;
  font-weight: 800; 
  background: linear-gradient(90deg, #f6d27a, #ffe9b0 45%, #e2a93b);
  /* margin: 0 0 10px 0;  */
  font-family: var(--gwj-display);
      background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gwj-main-title { font-size: 24px; font-weight: 700; line-height: 1.3; margin: 0; }
.gwj-main-title span { color: var(--gwj-gold); }

/* Body Content */
.gwj-body { padding: 30px 30px; background: #ffffff; }
.gwj-step-form > .gwj-body { padding: 0; }
#gwj-form-card,
#gwj-otp-wrapper {
  overflow: hidden;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.gwj-form-header { color: #ffffff; }
.gwj-form-header h2 { font-size: 1.875rem; line-height: 2.25rem; }
#gwj-form-card .pop-form-message:empty { display: none; }
#gwj-form-card .pop-form-message:not(:empty) { padding: 12px 20px 0; }
#gwj-form-card #gwj-popup-form { padding: 20px; }
#gwj-popup-form .gwj-existing-form-row { display: flex; flex-direction: column; gap: 12px; }
.gwj-step-intro .gwj-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}
.gwj-body-title { font-family: var(--gwj-display); font-size: 17px; font-weight: 800; color: var(--gwj-text-dark); margin: 0 0 4px 0; }
.gwj-body-sub { font-size: 13px; color: var(--gwj-text-muted); margin: 0 0 16px 0; }

/* Dual Credential Badge */
.gwj-credentials-grid { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; }
.gwj-cred-card { flex: 1; padding: 10px 8px; border-radius: 10px; font-family: var(--gwj-display); font-size: 12px; }
.gwj-cred-bvdu { background: #f3f5f9; color: var(--gwj-text-dark); border: 1px solid var(--gwj-line); font-weight: 700; }
.gwj-cred-iit { background: linear-gradient(135deg, var(--gwj-red), var(--gwj-red-dark)); color: var(--gwj-gold); border: 1.5px solid #e2a93b; }
.gwj-cred-iit strong { display: block; color: var(--gwj-gold); font-size: 12px; }
.gwj-cred-iit small { display: block; font-family: var(--gwj-font); font-size: 10px; color: rgba(255, 255, 255, .75); }
.gwj-plus { font-size: 16px; font-weight: 700; color: var(--gwj-orange); }

.gwj-header-content h6 { font-size: 14px; font-weight: 700; margin: 0; }
/* Bullets */
.gwj-feature-list { list-style: none; padding: 0; margin: 0 0 18px 0; text-align: left; display: grid; gap: 8px; }
.gwj-feature-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--gwj-text-dark); line-height: 1.4; }
.gwj-check { flex-shrink: 0; width: 16px; height: 16px; background: var(--gwj-orange); color: #ffffff; border-radius: 50%; font-size: 10px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }

/* Upgrade Button */
.gwj-btn-upgrade {
  width: 100%; height: 46px; border: 0; border-radius: 24px;
  background: var(--gwj-orange); color: #ffffff;
  font-size: 15px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.2s;
  box-shadow: 0 4px 12px rgba(239, 127, 20, 0.3);
}
.gwj-btn-upgrade:hover { background: var(--gwj-orange-hover); }

/* Links and Sub-text */
.gwj-maybe-later { background: none; border: 0; color: var(--gwj-text-muted); font-size: 13px; font-weight: 600; margin-top: 10px; cursor: pointer; display: inline-block; }
.gwj-disclaimer { font-size: 10px; color: var(--gwj-text-muted); margin-top: 12px; text-align: center; margin-bottom: 2px; }
.gwj-link { display: block; text-align: center; font-size: 11px; color: var(--gwj-text-muted); text-decoration: underline; }

.gwj-step-form .gwj-cert-title {
  font-size: 26px; /* Increased from 20px */
}

@media (min-width: 769px) {
  .gwj-subtag { font-size: 12px; }
  .gwj-cert-label { font-size: 12px; }
  .gwj-cert-title { font-size: 29px; }
  .gwj-main-title { font-size: 26px; }
  .gwj-body-title { font-size: 18px; }
  .gwj-body-sub { font-size: 14px; }
  .gwj-cred-card { font-size: 13px; }
  .gwj-cred-iit strong { font-size: 13px; }
  .gwj-cred-iit small { font-size: 11px; }
  .gwj-plus { font-size: 17px; }
  .gwj-header-content h6 { font-size: 15px; }
  .gwj-feature-list li { font-size: 13.5px; }
  .gwj-btn-upgrade { font-size: 16px; }
  .gwj-maybe-later { font-size: 14px; }
  .gwj-disclaimer { font-size: 11px; }
  .gwj-link { font-size: 12px; }
  .gwj-step-form .gwj-cert-title { font-size: 28px; }


}

@media (max-width: 480px) {
  .gwj-body-title{
    font-size: 14px;
  }
  .gwj-form{
    padding: 0px 10px;
  }
  .gwj-body{
    padding: 5px 10px;
  }
  .gwj-side{
    gap:0;
  }
    .gwj-close {
  background: rgba(255, 255, 255, 0.2); 
}
.gwj-close:hover { background: rgba(255, 255, 255, 0.35); }

}

@media (max-width: 768px) {
  .gwj-header {
    height: auto;
    padding: 0px 10px;
    margin-bottom: 0px;
  }
  .gwj-header-content { margin-top: 1rem !important; }
  .gwj-subtag { font-size: 10px; }
  .gwj-cert-label { font-size: 9px; }
  .gwj-cert-title { font-size: 17px; }
  .gwj-step-form .gwj-cert-title { font-size: 17px; }
  .gwj-main-title { font-size: 14px; }
  /* .gwj-side { display: none; } */
}

/* Application form styling */
.gwj-popup .gwj-box {
  border-radius: 16px;
  background: #ffffff;
}

.gwj-popup .gwj-close {
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.gwj-popup .gwj-close:hover {
  background: rgba(255, 255, 255, 0.32);
}

.gwj-popup #gwj-form-card {
  overflow: visible;
  border-radius: 16px;
  box-shadow: none;
}

.gwj-popup .gwj-form-header {
  padding: 22px 56px 18px 20px;
  background: var(--gwj-red);
}

.gwj-popup .gwj-form-header h2 {
  margin: 0;
  font-family: var(--gwj-font);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
}

.gwj-popup .gwj-form-header p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.4;
}

.gwj-popup #gwj-form-card #gwj-popup-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.gwj-popup #gwj-popup-form > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0;
}

.gwj-popup #gwj-popup-form .gwj-existing-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.gwj-popup #gwj-popup-form .gwj-existing-form-row > div:only-child {
  grid-column: 1 / -1;
}

.gwj-popup #gwj-popup-form .gwj-existing-form-row > div,
.gwj-popup #gwj-popup-form > div {
  min-width: 0;
}

.gwj-popup #gwj-popup-form label {
  display: block;
  margin: 0 0 6px;
  color: #343a40;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.gwj-popup #gwj-popup-form input:not([type="hidden"]):not([type="checkbox"]),
.gwj-popup #gwj-popup-form select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d1d5dc;
  border-radius: 8px;
  background-color: #ffffff;
  color: #262b33;
  font: 400 14px/1.35 var(--gwj-font);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gwj-popup #gwj-popup-form input:not([type="hidden"]):not([type="checkbox"]):focus,
.gwj-popup #gwj-popup-form select:focus {
  border-color: var(--gwj-red);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(149, 28, 68, 0.14);
}

.gwj-popup #gwj-popup-form input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--gwj-red);
}

.gwj-popup #gwj-popup-form input[type="checkbox"] + label {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
}

.gwj-popup #gwj-popup-form input[type="checkbox"] + label a {
  color: var(--gwj-red);
}

.gwj-popup #gwj-popup-form .iti {
  display: block;
  width: 100%;
}

.gwj-popup #gwj-popup-form .iti input[type="tel"] {
  width: 100%;
  padding-left: 52px;
}

.gwj-popup #gwj-popup-form .choices {
  margin: 0;
  font: 400 14px/1.35 var(--gwj-font);
}

.gwj-popup #gwj-popup-form .choices__inner {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 5px 11px;
  border: 1px solid #d1d5dc;
  border-radius: 8px;
  background: #ffffff;
  color: #262b33;
  font-size: 14px;
}

.gwj-popup #gwj-popup-form .is-focused .choices__inner,
.gwj-popup #gwj-popup-form .is-open .choices__inner {
  border-color: var(--gwj-red);
  box-shadow: 0 0 0 3px rgba(149, 28, 68, 0.14);
}

.gwj-popup #gwj-popup-form .choices__list--single {
  padding: 0 18px 0 0;
}

.gwj-popup #gwj-popup-form .main-form-submit {
  min-height: 44px;
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: var(--gwj-red);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.gwj-popup #gwj-popup-form .main-form-submit:hover {
  background: var(--gwj-red-dark);
}

.gwj-popup #gwj-popup-form .main-form-submit:active {
  transform: translateY(1px);
}

.gwj-popup #gwj-form-card .pop-form-message:not(:empty) {
  margin: 0;
  padding: 12px 20px 0;
}

.gwj-popup #gwj-otp-wrapper {
  border-radius: 16px;
  box-shadow: none;
}

@media (min-width: 560px) {
  .gwj-popup #gwj-popup-form .gwj-existing-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .gwj-popup {
    padding: 12px;
  }

  .gwj-popup .gwj-box {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 14px;
  }

  .gwj-popup .gwj-form-header {
    padding: 18px 52px 15px 16px;
  }

  .gwj-popup .gwj-form-header h2 {
    font-size: 20px;
  }

  .gwj-popup #gwj-form-card #gwj-popup-form {
    gap: 12px;
    padding: 16px;
  }

  .gwj-popup #gwj-popup-form .gwj-existing-form-row {
    gap: 12px;
  }
}

@keyframes gwj-pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }