.elementor-137593 .elementor-element.elementor-element-2f8aafc{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-137593 .elementor-element.elementor-element-2f8aafc.e-con{--align-self:center;}.elementor-137593 .elementor-element.elementor-element-496187e{--display:flex;--justify-content:center;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-137593 .elementor-element.elementor-element-b49c3a6.elementor-element{--align-self:center;}.elementor-137593 .elementor-element.elementor-element-b49c3a6{text-align:center;}.elementor-137593 .elementor-element.elementor-element-b49c3a6 .elementor-heading-title{font-family:"Plus Jakarta Sans", Sans-serif;font-weight:600;color:#000000;}#elementor-popup-modal-137593{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-137593 .dialog-message{width:550px;height:450px;align-items:center;}#elementor-popup-modal-137593 .dialog-close-button{display:flex;}#elementor-popup-modal-137593 .dialog-widget-content{border-radius:20px 20px 20px 20px;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}/* Start custom CSS for shortcode, class: .elementor-element-43de461 */.tnp.tnp-subscription {
  --navy: #1b2a4a;
  --navy-dark: #0f1d36;
  --red: #c0392b;
  --red-light: #e74c3c;
  --orange: #e67e22;
  --gold: #f39c12;
  --blue-accent: #2980b9;
  --bg: #ffffff;
  --bg-field: #f8f9fc;
  --border: #dce1ea;
  --text: #1b2a4a;
  --text-muted: #6b7a94;
  --radius: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  position: relative;
  max-width: 440px;
  margin: 0 auto;
  padding: 20px;
  background: var(--bg);
  border-radius: 20px;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  overflow: hidden;
}

/* Top accent bar */
.tnp.tnp-subscription::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-size: 300% 100%;
  animation: barShimmer 4s linear infinite;
}

@keyframes barShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ---------- Form ---------- */
.tnp.tnp-subscription form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------- Field wrapper (spinning border magic) ---------- */
.tnp.tnp-subscription .tnp-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/*
  Spinning gradient border technique:
  - The field-firstname and field-email wrappers get a pseudo-element
    with a conic-gradient that rotates continuously.
  - The input sits on top with a solid background, creating
    the illusion of an animated border.
*/
.tnp.tnp-subscription .tnp-field-firstname,
.tnp.tnp-subscription .tnp-field-email {
  --border-width: 2px;
  --spin-speed: 3s;
}

/* Outer spinning container — wraps just the input */
.tnp.tnp-subscription .tnp-field-firstname label,
.tnp.tnp-subscription .tnp-field-email label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  margin-bottom: 2px;
}

.tnp.tnp-subscription .tnp-field:focus-within label {
  color: var(--navy);
}

/* ---------- Input base ---------- */
.tnp.tnp-subscription input[type="text"],
.tnp.tnp-subscription input[type="email"] {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-field);
  border: var(--border-width, 2px) solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
  box-sizing: border-box;
  -webkit-appearance: none;
}

.tnp.tnp-subscription input[type="text"]::placeholder,
.tnp.tnp-subscription input[type="email"]::placeholder {
  color: rgba(107, 122, 148, 0.5);
}

/* Hover */
.tnp.tnp-subscription input[type="text"]:hover:not(:focus),
.tnp.tnp-subscription input[type="email"]:hover:not(:focus) {
  border-color: #b0bbd0;
  background: #f3f5fa;
}

/* ---------- SPINNING GRADIENT BORDER on focus ---------- */

/*
  We use a box-shadow trick with animated background on the wrapper.
  On focus, the input border becomes transparent revealing the
  spinning gradient underneath.
*/

.tnp.tnp-subscription .tnp-field-firstname::before,
.tnp.tnp-subscription .tnp-field-email::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(100% - 28px); /* excludes label area */
  border-radius: var(--radius);
  padding: 2.5px;
  background: conic-gradient(
    from var(--angle, 0deg),
    var(--navy) 0%,
    var(--red) 20%,
    var(--orange) 35%,
    var(--gold) 50%,
    var(--blue-accent) 65%,
    var(--red-light) 80%,
    var(--navy) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  animation: spinBorder 3s linear infinite;
  z-index: 1;
}

.tnp.tnp-subscription .tnp-field-firstname:focus-within::before,
.tnp.tnp-subscription .tnp-field-email:focus-within::before {
  opacity: 1;
}

/* On focus, hide the static border so the spinning one shows */
.tnp.tnp-subscription input[type="text"]:focus,
.tnp.tnp-subscription input[type="email"]:focus {
  border-color: transparent;
  background: #ffffff;
  box-shadow: 0 0 20px -4px rgba(192, 57, 43, 0.12);
}

/* Fallback for browsers without @property:
   we rotate the pseudo via a transform trick */
@supports not (background: conic-gradient(from var(--angle), red, blue)) {
  .tnp.tnp-subscription .tnp-field-firstname::before,
  .tnp.tnp-subscription .tnp-field-email::before {
    background: linear-gradient(
      var(--navy), var(--red), var(--orange), var(--gold), var(--blue-accent)
    );
    animation: fallbackShimmer 2s linear infinite;
    background-size: 100% 400%;
  }

  @keyframes fallbackShimmer {
    0%   { background-position: 0% 0%; }
    100% { background-position: 0% 400%; }
  }
}

/* Glow pulse behind field on focus */
.tnp.tnp-subscription .tnp-field-firstname::after,
.tnp.tnp-subscription .tnp-field-email::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: calc(100% - 28px);
  border-radius: var(--radius);
  background: conic-gradient(
    from var(--angle, 0deg),
    var(--red), var(--orange), var(--gold), var(--blue-accent), var(--red)
  );
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  animation: spinBorder 3s linear infinite;
  z-index: 0;
}

.tnp.tnp-subscription .tnp-field-firstname:focus-within::after,
.tnp.tnp-subscription .tnp-field-email:focus-within::after {
  opacity: 0.15;
}

/* ---------- Validation states ---------- */
.tnp.tnp-subscription input:valid:not(:placeholder-shown):not(:focus) {
  border-color: #27ae60;
  box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.08);
}

.tnp.tnp-subscription input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.08);
  animation: fieldShake 0.4s ease;
}

@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-4px); }
  40%      { transform: translateX(4px); }
  60%      { transform: translateX(-3px); }
  80%      { transform: translateX(2px); }
}

/* ---------- Submit button ---------- */
.tnp.tnp-subscription .tnp-field-button {
  margin-top: 4px;
}

.tnp.tnp-subscription .tnp-submit {
  position: relative;
  width: 100%;
  padding: 15px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: #e67e22;
  background-size: 200% 200%;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow var(--transition),
    background-position 0.6s ease;
  box-shadow:
    0 4px 14px -3px rgba(27, 42, 74, 0.3),
    0 2px 6px -1px rgba(192, 57, 43, 0.15);
  -webkit-appearance: none;
  background-position: 0% 50%;
}

/* Shine sweep on hover */
.tnp.tnp-subscription .tnp-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transition: left 0.5s ease;
}

.tnp.tnp-subscription .tnp-submit:hover::before {
  left: 100%;
}

/* Hover — gradient shifts to red */
.tnp.tnp-subscription .tnp-submit:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px -4px rgba(192, 57, 43, 0.3),
    0 4px 12px -2px rgba(27, 42, 74, 0.2);
}

/* Active / Click */
.tnp.tnp-subscription .tnp-submit:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 6px -2px rgba(27, 42, 74, 0.25);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

/* Focus ring */
.tnp.tnp-subscription .tnp-submit:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 3px;
}

/* Ripple */
.tnp.tnp-subscription .tnp-submit::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.tnp.tnp-subscription .tnp-submit:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
}

/* ---------- Entrance animation ---------- */
.tnp.tnp-subscription .tnp-field,
.tnp.tnp-subscription .tnp-field-button {
  animation: fieldSlideIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.tnp.tnp-subscription .tnp-field:nth-child(2) { animation-delay: 0.07s; }
.tnp.tnp-subscription .tnp-field:nth-child(3) { animation-delay: 0.14s; }
.tnp.tnp-subscription .tnp-field-button       { animation-delay: 0.21s; }

@keyframes fieldSlideIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .tnp.tnp-subscription {
    padding: 32px 22px 26px;
    border-radius: 16px;
  }

  .tnp.tnp-subscription input[type="text"],
  .tnp.tnp-subscription input[type="email"] {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .tnp.tnp-subscription .tnp-submit {
    padding: 13px 20px;
    font-size: 0.88rem;
  }
}/* End custom CSS */