
@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');

/* =====================================================================
   GWJ POPUP – Multi-step Switching CSS
   ===================================================================== */
.gwj-popup {
  --gwj-orange: #ef7f14;
  --gwj-orange-hover: #c4600b;
  --gwj-orange-soft: #f9cf9f;
  --gwj-gold: #ffb347;
  --gwj-navy: #0e1e3e;
  --gwj-navy-top: #14284f;
  --gwj-navy-bottom: #0b1a36;
  --gwj-text-dark: #0e1e3e;
  --gwj-text: #46536b;
  --gwj-text-muted: #7a8599;
  --gwj-line: #e8e2da;
  --gwj-display: 'Poppins', system-ui, sans-serif;
  --gwj-font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --toran: url("../asset/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 *, .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);
}

/* Toggle Visibility between Intro and Form Steps */
.gwj-popup[data-step="intro"] .gwj-step-form { display: none !important; }
.gwj-popup[data-step="form"] .gwj-step-intro { display: none !important; }

/* Box Layout */
.gwj-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  width: 100%;
  max-width: 960px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  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-navy-top), var(--gwj-navy-bottom));
  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;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}
/* Right Panel Elements */
.gwj-main { display: flex; flex-direction: column; padding: 0px 0px; gap: 100px; }
.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-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-navy), #24406f); 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-box {
    grid-template-columns: 1fr;
    max-width: 460px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-x: hidden;
    overflow-y: auto;
  }
  .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; } */
}

@keyframes gwj-pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
