/* Title */
.tz-f-section-title {
  font-weight: 700;
  color: #0247fe;
}

/* Card container */
.tz-f-feature-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(10, 25, 50, 0.04);
  transition: all 0.2s ease;
}

.tz-f-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(7, 23, 51, 0.09);
}

/* Icons inside cards */
.tz-f-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 14px;
}

/* Card title */
.tz-f-feature-title {
  color: #0d2857;
  font-weight: 700;
  margin: 0;
}

/* Text */
.tz-f-feature-text {
  font-size: 0.92rem;
}

/* Image section */
.tz-f-image-frame {
  max-width: 520px;
  border-radius: 12px;
  overflow: hidden;
  margin-left: auto;
  box-shadow: 0 18px 40px rgba(7, 23, 51, 0.06);
  border: 1px solid rgba(2, 71, 254, 0.06);
  background: linear-gradient(
    180deg,
    rgba(2, 71, 254, 0.02),
    rgba(253, 39, 16, 0.01)
  );
}

.tz-f-image {
  width: 100%;
  height: auto; /* preserve original aspect ratio */
  display: block;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .tz-f-image-frame {
    max-width: 520px;
    margin: 1.5rem auto 0;
  }
}

@media (max-width: 575.98px) {
  .tz-f-feature-card {
    padding: 12px;
  }
  .tz-f-feature-icon {
    width: 40px;
    height: 40px;
  }
}

/* SECTION 3 - alternative tz3 style */
.tz3-title {
  color: #0247fe;
  font-weight: 700;
  font-size: 1.6rem;
  text-align: center;
}

.tz3-subhead {
  color: #6c7a89;
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
  text-align: center;
}

/* base card */
.tz3-card {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(10, 25, 50, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  align-items: stretch;
}

/* small left accent bar for visual identity */
.tz3-accent {
  width: 6px;
  display: block;
}

/* card body layout */
.tz3-card-body {
  display: flex;
  gap: 1rem;
  padding: 14px 18px;
  align-items: center;
  width: 100%;
}

.tz3-card-left {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
}

.tz3-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(10, 25, 50, 0.03);
}

/* right content */
.tz3-card-right {
  flex: 1;
}

.tz3-card-title {
  margin: 0 0 0.15rem 0;
  color: #0d2857;
  font-weight: 700;
  font-size: 1rem;
}

.tz3-card-text {
  margin: 0;
  color: #6c7a89;
  font-size: 0.92rem;
}

/* hover */
.tz3-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(7, 23, 51, 0.08);
}

/* subtle alternation (keeps cards lively) */
.tz3-alt-1 {
  background: linear-gradient(180deg, rgba(2, 71, 254, 0.01), #fff);
}
.tz3-alt-2 {
  background: linear-gradient(180deg, rgba(253, 39, 16, 0.01), #fff);
}
.tz3-alt-3 {
  background: linear-gradient(180deg, rgba(102, 177, 49, 0.01), #fff);
}
.tz3-alt-4 {
  background: linear-gradient(180deg, rgba(5, 147, 247, 0.01), #fff);
}
.tz3-alt-5 {
  background: linear-gradient(180deg, rgba(245, 201, 34, 0.01), #fff);
}

/* spacing for grid */
.tz3-card + .tz3-card {
  margin-top: 8px;
}

/* responsive tweaks */
@media (max-width: 767.98px) {
  .tz3-card-body {
    padding: 12px 14px;
    gap: 0.75rem;
  }
  .tz3-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
  }
  .tz3-accent {
    width: 5px;
  }
  .tz3-title {
    font-size: 1.35rem;
  }
}
/* Section 4: clean table-like layout - tz-forex- classes */
/* Titles */
.tz-forex-head {
  color: var(--tz-blue);
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  text-align: center;
  position: relative;
  padding-bottom: 6px;
}
.tz-forex-subhead::after {
  content: "";
  display: block;
  height: 6px;
  width: 180px;
  margin: 8px auto 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--tz-blue) 0%, rgba(2,71,254,0.25) 100%);
  opacity: 0.8;
}

.tz-forex-subhead {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
  text-align: center;
}
.tz-forex-faq {
  color: var(--tz-blue);
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  text-align: center;
  position: relative;
  padding-bottom: 6px;
}
.tz-forex-faq::after {
  content: "";
  display: block;
  height: 6px;
  width: 180px;
  margin: 8px auto 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--tz-blue) 0%, rgba(2,71,254,0.25) 100%);
  opacity: 0.8;
}
/* Container card */
.tz-forex-table-wrap {
  background: var(--card-bg);
  border: 1px solid rgba(2, 71, 254, 0.08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 32px rgba(7, 23, 51, 0.04);
  position: relative;
  overflow: visible;
}

/* Each row */
.tz-forex-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 1.1rem 0.5rem;
  gap: 1.25rem;
  border-radius: 10px;
  transition: 0.18s ease;
}

/* Hover tint uses brand blue */
.tz-forex-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(2,71,254,0.08);
  background: rgba(2, 71, 254, 0.04);
}

/* Header row */
.tz-forex-row-head {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(13, 40, 87, 0.08);
  transform: none;
  background: transparent;
}

/* Left column */
.tz-forex-cat {
  font-weight: 700;
  color: var(--tz-blue);
  font-size: 0.98rem;
  flex: 0 0 40%;
  position: relative;
  padding-left: 1rem;
}

/* Category accent bar (brand blue → green gradient) */
.tz-forex-cat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 5px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--tz-blue), var(--tz-green));
  opacity: 0.85;
}

/* Right column */
.tz-forex-desc {
  color: #22303f;
  font-size: 0.96rem;
  line-height: 1.6;
  flex: 1 1 60%;
  padding-left: 1rem;
}

/* ========================= */
/* Vertical line between cols */
/* ========================= */

.tz-forex-row::after {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: 40%;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(2, 71, 254, 0.18),
    rgba(102, 177, 49, 0.18)
  );
  border-radius: 6px;
  opacity: 0.5;
  z-index: 0;
}

/* Center node on the divider */
.tz-forex-row::before {
  content: "";
  position: absolute;
  left: calc(40% - 8px);
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--card-bg);
  box-shadow: 0 6px 18px rgba(7,23,51,0.06);
  z-index: 2;
}

/* Remove divider from header row */
.tz-forex-row-head::after,
.tz-forex-row-head::before {
  display: none;
}

/* Ensure content stays above pseudo elements */
.tz-forex-row > * {
  position: relative;
  z-index: 3;
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
  .tz-forex-row::after,
  .tz-forex-row::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .tz-forex-table-wrap { padding: 1.5rem 1rem; }
  .tz-forex-row { padding: 0.85rem 0.25rem; gap: 0.75rem; }
  .tz-forex-cat { font-size: 0.94rem; flex-basis: 42%; padding-left: 0.75rem; }
  .tz-forex-desc { font-size: 0.9rem; flex-basis: 58%; padding-left: 0.75rem; }
}

/* End of forex section 4 styles */

.tz-forex-how-img {
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(7, 23, 51, 0.06);
}

:root {
  --tz-blue: #0247fe;
  --tz-green: #66b131;
  --tz-yellow: #f5c922;
  --card-bg: #ffffff;
  --muted: #6b7280;
  --radius: 14px;
}

.tz-forex-enquiry {
  background: linear-gradient(
    180deg,
    rgba(2, 71, 254, 0.03),
    rgba(102, 177, 49, 0.02)
  );
}

.tz-forex-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--tz-blue);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.tz-forex-lead {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 15px;
}

/* Bigger card, more breathing room on desktop */
.tz-form.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: 0 14px 40px rgba(3, 18, 50, 0.06);
  border: 1px solid rgba(2, 71, 254, 0.05);
  max-width: 980px;
  margin: 0 auto;
}

/* Grid: maintain two columns on large screens but increase gaps and input sizes */
.tz-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 13px;
  color: var(--muted);
}
.form-group input,
.form-group select {
  height: 56px; /* taller fields for desktop look */
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #eef1f6;
  font-size: 15px;
  outline: none;
  transition: box-shadow 0.15s, border-color 0.15s;
  background: #fff;
}

.form-group input::placeholder {
  color: #bfc7d3;
}
.form-group input:focus,
.form-group select:focus {
  box-shadow: 0 8px 28px rgba(2, 71, 254, 0.08);
  border-color: var(--tz-blue);
}

.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--tz-blue) 50%),
    linear-gradient(135deg, var(--tz-blue) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-repeat: no-repeat;
  background-position: calc(100% - 18px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px), 100% 0;
  background-size: 6px 6px, 6px 6px, 0;
}

.form-action {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}
.btn-cta {
  background: linear-gradient(90deg, var(--tz-yellow), #f2be1b);
  border: none;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 800;
  color: #111;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(245, 201, 34, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  min-width: 200px;
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(2, 71, 254, 0.08);
}

/* DESKTOP tweaks: make proportionally larger on wide screens */
@media (min-width: 1200px) {
  .tz-form.card {
    padding: 40px 48px;
  }
  .tz-forex-title {
    font-size: 36px;
  }
  .tz-form-grid {
    gap: 24px 28px;
  }
  .form-group input,
  .form-group select {
    height: 64px;
    font-size: 16px;
  }
  .btn-cta {
    padding: 16px 32px;
    min-width: 240px;
  }
}

/* Responsive: keep mobile unchanged (single column, full-width CTA) */
@media (max-width: 880px) {
  .tz-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tz-form.card {
    padding: 20px;
  }
  .form-action {
    justify-content: stretch;
  }
  .btn-cta {
    width: 100%;
    text-align: center;
    min-width: auto;
  }
}
.respmsg {
  margin-top:12px;
  min-height:20px;
  font-weight:600;
  color:#66b131; /* success green */
}
/* Forex hero header  */
.forex-hero-left {
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.35);
}
/* end of Forex hero header  */

/* Forex section cta form */
.forex-wrapper {
  display: flex;
  align-items: stretch; /* SAME HEIGHT */
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
}

/* Image column */
.forex-image {
  flex: 1;
  min-width: 40%;
  max-width: 50%;
  display: flex;
}

.forex-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Auto crop, perfect alignment */
  display: block;
}

/* Form column */
.forex-form {
  flex: 1;
  min-width: 50%;
  background: #eaffe7;
  display: flex;
  align-items: stretch;
}

/* Let the inner form fill height smoothly */
.forex-form > div {
  height: 100%;
}

/* Responsive stacking */
@media (max-width: 992px) {
  .forex-wrapper {
    flex-direction: column;
  }

  .forex-image,
  .forex-form {
    max-width: 100%;
    min-width: 100%;
    height: auto;
  }

  .forex-image img {
    height: auto;
  }
}
/* end of forex section cta form */