span {
  font-size: inherit;
  line-height: normal;
}

.buy-forex-banner-sec {
  background-color: #ffffff;
  background-image: url("../images/buy-foreign-currency/world-map-dots.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 90%;
  padding: 140px 0 80px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.buy-forex-banner-sec .rbi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #fff0f2;
  color: #ea1f27;
  font-size: 14px;
  font-weight: 600;
  padding: 2px 14px;
  border-radius: 50px;
  border: 1px solid rgba(230, 35, 41, 0.15);
  margin-bottom: 24px;
}

.buy-forex-banner-sec .rbi-badge i {
  font-size: 14px;
  color: #ea1f27;
}
.forex-travel-hero-img {
  display: flex;
  justify-content: end;
}
.forex-travel-hero-sec h1 {
  margin-bottom: 10px !important;
}
.forex-travel-hero-sec h4 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #000;
  font-weight: 500;
}
.forex-travel-hero-img img {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.outward-remittance-banner-sec .forex-travel-hero-img img,
.forex-travel-hero-sec .forex-travel-hero-img img {
  max-width: 644px;
  /* filter: drop-shadow(0px 40px 60px rgba(0, 0, 0, 0.18)); */
  transform: scale(1.2);
}
.forex-travel-hero-sec {
  background-image: none;
}
.outward-remittance-banner-sec {
  background-image: url("../images/buy-foreign-currency/world-map-dots.png");
}
.buy-forex-banner-sec .buy-forex-title {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: #0d0d0d;
  margin-bottom: 20px;
  letter-spacing: 0;
  max-width: 660px;
}
/* ====================================================
   BENEFITS OF FOREX TRAVEL CARD SECTION
==================================================== */
.forex-card-benefits-sec {
  padding: 60px 0;
  background: #f7f7f8;
  position: relative;
  overflow: hidden;
}

.forex-card-benefits-sec .heading {
  text-align: center;
  margin-bottom: 60px;
}

/* Benefits Grid Layout */
.benefits-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 30px;
  align-items: center;
  position: relative;
}

/* Full Overlay SVG Dotted Connecting Lines */
.connector-lines-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.connecting-svg {
  width: 100%;
  height: 100%;
}

.connecting-svg .line-pulse {
  animation: flowPulse 2.5s linear infinite;
}

.connecting-svg .line-pulse.reverse {
  animation: flowPulseReverse 2.5s linear infinite;
}

@keyframes flowPulse {
  0% {
    stroke-dashoffset: 56;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes flowPulseReverse {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 56;
  }
}

.benefits-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Individual Benefit Card */
.benefit-card {
  background: rgba(255, 255, 255, 0.002);
  box-shadow:
    0px 1px 2px rgba(13, 13, 15, 0.04),
    0px 8px 24px -12px rgba(13, 13, 15, 0.12);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  border: 1px solid #e2e3e5;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  z-index: 3;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 14px 30px rgba(234, 31, 39, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.03);
  border-color: rgba(234, 31, 39, 0.25);
}

.benefit-card .benefit-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff0f2;
  border: 1px solid rgba(234, 31, 39, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.35s ease,
    background-color 0.35s ease;
}

.benefit-card .benefit-icon-box i {
  font-size: 18px;
  color: #ea1f27;
  transition: color 0.35s ease;
}

.benefit-card:hover .benefit-icon-box {
  transform: scale(1.1);
  background: #ea1f27;
}

.benefit-card:hover .benefit-icon-box i {
  color: #ffffff;
}

.benefit-card:hover .benefit-icon-box svg path,
.benefit-card:hover .benefit-icon-box svg circle,
.benefit-card:hover .benefit-icon-box svg rect {
  stroke: #ffffff;
}

.benefit-card .benefit-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.benefit-card .benefit-text p {
  font-size: 16px;
  color: #58585b;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

/* ----------------------------------------------------
   CENTER 3D FLIPPING CARD & ANIMATED CIRCLES STAGE
---------------------------------------------------- */
.center-card-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* Animated Concentric Background Rings */
.animated-card-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  pointer-events: none;
  z-index: 1;
}

.card-bg-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px dashed rgba(234, 31, 39, 0.5);
  pointer-events: none;
}

.card-bg-ring.ring-1 {
  width: 245px;
  height: 245px;
  animation: rotateRing 25s linear infinite;
  border-color: rgb(234 31 39 / 53%);
}

.card-bg-ring.ring-2 {
  width: 330px;
  height: 330px;
  animation: rotateRingReverse 35s linear infinite;
  border-color: rgb(234 31 39 / 58%);
}

.card-bg-ring.ring-3 {
  width: 430px;
  height: 430px;
  animation: pulseRing 4s ease-in-out infinite alternate;
  border-color: rgb(234 31 39 / 52%);
}

@keyframes rotateRing {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes rotateRingReverse {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes pulseRing {
  0% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.04);
    opacity: 1;
  }
}

.dotted-connectors-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* 3D Interactive Parallax Tilt Container */
.card-tilt-wrapper {
  width: 340px;
  height: 215px;
  perspective: 1000px;
  position: relative;
  z-index: 5;
  cursor: pointer;
}

.card-tilt-inner {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.35),
    0 8px 18px rgba(234, 31, 39, 0.2);
}

.card-tilt-inner .card-png-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.2);
}

.card-glare-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-3d-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.22),
    0 8px 18px rgba(234, 31, 39, 0.15);
  border-radius: 18px;
}

.card-3d-wrapper.is-flipped .card-3d-inner {
  transform: rotateY(180deg);
}

.card-flip-side {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
}

.card-flip-side.card-front {
  transform: rotateY(0deg);
}

.card-flip-side.card-back {
  transform: rotateY(180deg);
}

.card-png-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* Fallback Styled Transcorp Visa Card */
.styled-forex-card {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #b8161d 0%, #700a0e 40%, #15161a 100%);
  border-radius: 18px;
  padding: 20px 24px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  text-align: left;
  position: relative;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.styled-forex-card .card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.styled-forex-card .brand-logo {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  font-style: italic;
}

.styled-forex-card .visa-logo {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  font-style: italic;
}

.styled-forex-card .card-chip-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.styled-forex-card .card-chip {
  width: 36px;
  height: 26px;
  background: linear-gradient(135deg, #ffe082 0%, #ffb300 100%);
  border-radius: 5px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.styled-forex-card .card-number {
  font-size: 16px;
  letter-spacing: 2px;
  font-family: monospace;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.styled-forex-card .card-holder-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

/* Card Back Fallback */
.styled-forex-card.back-card-fallback {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.styled-forex-card .card-magnetic-strip {
  width: 100%;
  height: 38px;
  background: #111;
  margin-top: 20px;
}

.styled-forex-card .card-cvv-row {
  display: flex;
  align-items: center;
  padding: 12px 20px;
}

.styled-forex-card .sign-strip {
  flex: 1;
  height: 30px;
  background: #e0e0e0;
  font-size: 10px;
  color: #444;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.styled-forex-card .cvv-box {
  width: 45px;
  height: 30px;
  background: #ffffff;
  color: #111;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.styled-forex-card .card-back-info {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
  padding: 10px 20px;
  line-height: 1.3;
}

/* ====================================================
   HOW TO GET A FOREX TRAVEL CARD SECTION
==================================================== */
.how-get-forex-sec {
  padding: 60px 0;
  position: relative;
}

.process-steps-wrapper {
  position: relative;
  margin-top: 50px;
}

.process-connector-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 62px;
  z-index: 1;
  pointer-events: none;
}

.process-connector-line .connector-svg {
  width: 100%;
  height: 100%;
}

.process-connector-line .mask-grow-line-5 {
  stroke-dasharray: 820;
  stroke-dashoffset: 820;
  animation: fillLineFromZero5 4.5s linear infinite;
}

.process-connector-line .mask-grow-line-4 {
  stroke-dasharray: 750;
  stroke-dashoffset: 750;
  animation: fillLineFromZero4 4.5s linear infinite;
}

.process-connector-line .chevron-fixed {
  opacity: 0.95;
}

@keyframes fillLineFromZero5 {
  0% {
    stroke-dashoffset: 820;
  }
  45% {
    stroke-dashoffset: 0;
  }
  60% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -820;
  }
}

@keyframes fillLineFromZero4 {
  0% {
    stroke-dashoffset: 750;
  }
  45% {
    stroke-dashoffset: 0;
  }
  60% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -750;
  }
}

/* Steps 5 Grid Layout */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.process-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Step Icon Node Circles */
.step-icon-node {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  z-index: 3;
}

.step-icon-node.node-red {
  background: #ea1f27;
  box-shadow: 0 8px 24px rgba(234, 31, 39, 0.35);
}

.step-icon-node.node-dark {
  background: linear-gradient(106.15deg, #ea1f27 -13.54%, #0b0b0b 93.48%);
  box-shadow:
    0px 4px 6px rgba(0, 0, 0, 0.1),
    0px 10px 15px rgba(0, 0, 0, 0.1);
}

.step-icon-node i {
  font-size: 22px;
  color: #ffffff;
}

.process-step-item:hover .step-icon-node {
  transform: translateY(-6px) scale(1.1);
}

.process-step-item:hover .step-icon-node.node-red {
  box-shadow: 0 14px 32px rgba(234, 31, 39, 0.55);
}

.process-step-item:hover .step-icon-node.node-dark {
  box-shadow: 0 14px 32px rgba(234, 31, 39, 0.45);
}

/* Step Text Content */
.process-step-item .step-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
  line-height: 1.3;
}

.process-step-item .step-content p {
  font-size: 16px;
  color: #58585b;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

/* 4-Steps Process Section (How to Send Money Abroad) */
.four-steps-process-sec .process-steps-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ====================================================
   BECOME OUR REMITTANCE PARTNER SECTION
==================================================== */

.become-partner-card {
  background: #ffffff;
  border: 1px solid #e4e5e8;
  border-radius: 28px;
  padding: 60px 56px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  transition: all 0.35s ease;
}

.become-partner-card:hover {
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.05);
  border-color: #dce2ed;
}

.partner-title {
  font-size: 38px;
  font-weight: 700;
  color: #000000;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.partner-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #58585b;
  margin-bottom: 35px;
  line-height: 1.5;
}

/* 2-Column Benefit Pills */
.partner-benefit-pill {
  background: #ffffff;
  border: 1px solid #e6eaf2;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.partner-benefit-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(234, 31, 39, 0.1);
  border-color: rgba(234, 31, 39, 0.25);
}

.pill-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffefed;
  border: 1px solid rgba(234, 31, 39, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.partner-benefit-pill:hover .pill-icon-badge {
  background: #ea1f27;
  border-color: #ea1f27;
}

.partner-benefit-pill:hover .pill-icon-badge svg {
  stroke: #ffffff;
}

.pill-title {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  line-height: 1.35;
}

/* CTA Join Now Button */
.partner-cta-wrap {
  margin-top: 32px;
}

.btn-join-now {
  display: inline-block;
  background: #ea1f27;
  color: #ffffff !important;
  padding: 10px 41px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(234, 31, 39, 0.3);
  transition: all 0.3s ease;
}

.btn-join-now:hover {
  background: #000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(104, 103, 103, 0.42);
}

/* 3D Illustration Image */
.become-partner-img-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.become-partner-img-box img {
  max-width: 485px;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  filter: drop-shadow(0px 20px 40px rgba(0, 0, 0, 0.18));
}

.become-partner-card:hover .become-partner-img-box img {
  transform: translateY(-4px) scale(1.02);
}

.what-is-remittance-card {
  background: #f7f7f8;
  border: 1px solid #e6eaf2;
  border-radius: 28px;
  padding: 80px 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  transition: all 0.35s ease;
}

.what-is-remittance-card:hover {
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.05);
  border-color: #e5ebf2;
}

.what-is-remittance-img-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.what-is-remittance-img-box img {
  max-width: 560px;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  /* filter: drop-shadow(0px 20px 40px rgba(0, 0, 0, 0.18)); */
}

.what-is-remittance-card:hover .what-is-remittance-img-box img {
  transform: translateY(-4px) scale(1.02);
}

.what-is-remittance-content .what-is-title {
  font-size: 40px;
  font-weight: 700;
  color: #000000;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.what-is-remittance-content .what-is-desc {
  font-size: 16px;
  font-weight: 400;
  color: #58585b;
  line-height: 1.65;
  margin-bottom: 28px;
}

.remittance-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.remittance-tag-pill {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e4e5e8;
  border-radius: 50px;
  padding: 9px 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.remittance-tag-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 31, 39, 0.35);
  box-shadow: 0 6px 16px rgba(234, 31, 39, 0.12);
  color: #ea1f27;
}

/* ====================================================
   TYPES OF OUTWARD REMITTANCE SLIDER SECTION
==================================================== */
.types-remittance-sec {
  padding: 60px 0;
  overflow: hidden;
}

.types-remittance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.types-main-title {
  font-size: 40px;
  font-weight: 700;
  color: #000000;
  margin: 0;
}

/* Slider Nav Arrows */
.slider-nav-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Dynamic Slider Nav Arrow Buttons */
.slider-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #ea1f27;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(234, 31, 39, 0.3);
  transition: all 0.3s ease;
}

.slider-arrow-btn:hover:not(.swiper-button-disabled) {
  background: #d01820;
  box-shadow: 0 6px 18px rgba(234, 31, 39, 0.45);
  transform: scale(1.06);
}

.slider-arrow-btn.swiper-button-disabled,
.slider-arrow-btn:disabled {
  background: #eef1f5 !important;
  color: #9aa0a6 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}

/* Swiper Container Adjustments */
.typesRemittanceSwiper {
  width: 100%;
  padding: 10px 4px 25px 4px;
}

.typesRemittanceSwiper .swiper-slide {
  height: auto;
  display: flex;
}

.types-card-inner {
  background: #ffffff;
  border: 1px solid #e6eaf2;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.types-card-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.09);
  border-color: rgba(234, 31, 39, 0.25);
}

.types-card-inner .card-img-wrap {
  width: 100%;
  height: 150px;
  overflow: hidden;
  position: relative;
  background: #f4f6f9;
}

.types-card-inner .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.types-card-inner:hover .card-img-wrap img {
  transform: scale(1.06);
}

.types-card-inner .card-content-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.types-card-inner .card-title {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  line-height: 1.35;
  margin-bottom: 8px;
}

.types-card-inner .card-desc {
  font-size: 16px;
  font-weight: 400;
  color: #58585b;
  line-height: 1.5;
  margin: 0;
}

/* ====================================================
   WHY CHOOSE TRANSCORP SCROLL SECTION (FULL SCREEN 4 CARDS)
==================================================== */

.why-choose-pinned-wrapper {
  position: relative;
  width: 100%;
}

.why-choose-scroll-sec {
  position: relative;
  width: 100%;
  padding: 60px 0 50px 0;
  background: #ffffff;
  overflow: hidden;
  z-index: 10;
  box-sizing: border-box;
}

.why-choose-scroll-sec .heading {
  margin-bottom: 25px;
  padding: 0 20px;
}

.why-scroll-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 40px 85px 40px;
}

/* Background Horizontal Connecting Line */
.scroll-connecting-line {
  position: absolute;
  top: 208px;
  left: 0;
  width: 4000px;
  height: 1px;
  background: #ea1f27;
  z-index: 1;
}

.why-scroll-track {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: max-content;
  position: relative;
  z-index: 2;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Exactly 4 cards fill full screen width minus side padding and gaps */
.why-card-item {
  width: calc((100vw - 80px - 72px) / 4);
  min-width: 250px;
  min-height: 185px;
  background: #ffffff;
  border: 1px solid #e2e3e5;
  border-radius: 20px;
  padding: 30px;
  box-shadow:
    0px 1px 2px rgba(13, 13, 15, 0.04),
    0px 8px 24px -12px rgba(13, 13, 15, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.why-card-item.card-odd {
  margin-top: 0;
}

.why-card-item.card-even {
  margin-top: 55px;
}

.why-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(234, 31, 39, 0.12);
  border-color: rgba(234, 31, 39, 0.25);
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.card-num {
  font-weight: 700;
  font-size: 60px;
  line-height: normal;
  letter-spacing: -2.7px;
  color: #dedede;
}

.card-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: #ffefed;
  border: 1px solid rgba(234, 31, 39, 0.18);
}

.why-card-item:hover .card-icon-badge {
  background: #ea1f27;
}

.why-card-item:hover .card-icon-badge svg {
  stroke: #ffffff;
}

.card-body-content .card-tag {
  display: block;
  color: #ea1f27;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  margin-bottom: 8px;
}

.card-body-content .card-title {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 29px;
  color: #000000;
}

.buy-forex-banner-sec .buy-forex-title .text-red {
  color: #ea1f27;
  font-size: 3.75rem;
  font-weight: 700;
  display: contents;
  width: fit-content;
}

.buy-forex-banner-sec .buy-forex-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: #58585b;
  margin-bottom: 32px;
  max-width: 650px;
}

.buy-forex-banner-sec .btn-get-rate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ea1f27;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 500;
  padding: 11px 31px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(230, 35, 41, 0.25);
}

.buy-forex-banner-sec .btn-get-rate:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Hero Section Trust Badges */
.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-trust-badges .trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}
.hero-trust-badges .trust-badge-pill span {
  color: #000;
}

.hero-trust-badges .trust-badge-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 31, 39, 0.12);
  border-color: rgba(234, 31, 39, 0.3);
}

.hero-trust-badges .trust-badge-pill svg {
  flex-shrink: 0;
}

@property --calc-gradient-angle {
  syntax: "<angle>";
  initial-value: 153.01deg;
  inherits: false;
}

.forex-calc-card {
  --calc-gradient-angle: 153.01deg;
  background: linear-gradient(
    var(--calc-gradient-angle),
    rgba(227, 30, 36, 0.35) 0%,
    rgba(16, 17, 20, 0.06) 40%,
    rgba(16, 17, 20, 0) 70%
  );
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.forex-calc-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    153.01deg,
    rgba(227, 30, 36, 0.35) 0%,
    rgba(16, 17, 20, 0.06) 40%,
    rgba(16, 17, 20, 0) 70%
  );
  animation: rotateCalcBg 8s linear infinite;
  z-index: -1;
}

@keyframes rotateCalcBg {
  0% {
    transform: rotate(0deg);
    --calc-gradient-angle: 0deg;
  }
  100% {
    transform: rotate(360deg);
    --calc-gradient-angle: 360deg;
  }
}

.forex-calc-card-inner {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  padding: 26px;
  position: relative;
  z-index: 2;
}
.calc-tabs-wrapper {
  display: flex;
  background: #faf9f7;
  border-radius: 50px;
  padding: 5px;
  margin-bottom: 24px;
}

.calc-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #7a7d87;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.calc-tab.active {
  color: #ffffff !important;
  background: #101114 !important;
  box-shadow: 0px 6px 16px -6px rgba(16, 17, 20, 0.4);
}

/* ---------------------------------------------------- */
/* Custom Pure CSS Infinite Marquee Ticker (No Marquee Tag) */
/* ---------------------------------------------------- */
.rates-ticker-bar {
  width: 100%;
  background: #ea1f27;
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.custom-marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  animation: customMarqueeAnimation 35s linear infinite;
}

.rates-ticker-bar:hover .custom-marquee-track {
  animation-play-state: paused;
}

.ticker-content-group {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
}

.ticker-pair {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}

.ticker-val {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

.ticker-change {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 10px;
}

@keyframes customMarqueeAnimation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Field Input Box */
.calc-field-group {
  margin-bottom: 18px;
}

.calc-field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #7a7d87;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.calc-input-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e6e6ec;
  border-radius: 20px;
  padding: 8px 18px;
  min-height: 60px;
  transition: border-color 0.3s ease;
}

.calc-input-box:focus-within,
.calc-input-box:hover {
  border-color: #bbbbcc;
}

.curr-select-wrapper {
  position: relative;
  display: inline-block;
}

.curr-select-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f8fb;
  padding: 6px 14px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.curr-select-btn:hover {
  background: #efeff5;
}

.curr-select-btn .curr-arrow {
  font-size: 10px;
  color: #666666;
  transition: transform 0.2s ease;
}

.curr-select-wrapper.open .curr-arrow {
  transform: rotate(180deg);
}

.curr-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 8px;
  z-index: 100;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}

.curr-select-wrapper.open .curr-dropdown-menu {
  display: block;
  animation: currDropdownFade 0.2s ease-out;
}

@keyframes currDropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.curr-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.curr-dropdown-item:hover {
  background: #f4f4f8;
}

.curr-dropdown-item.active {
  background: #fff0f2;
}

.curr-dropdown-item .curr-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.curr-dropdown-item .item-code {
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
}

.curr-dropdown-item .item-name {
  font-size: 12px;
  color: #777788;
  margin-left: auto;
}

.curr-select-btn.readonly-btn {
  cursor: default;
}

.curr-select-btn .curr-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.curr-select-btn .curr-flag-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}

.curr-select-btn .curr-code {
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
}

.curr-select-btn .curr-arrow {
  font-size: 10px;
  color: #666666;
}

.calc-amount-input {
  border: none;
  background: transparent;
  text-align: right;
  font-size: 22px;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.5px;
  width: 100%;
  outline: none;
}

/* Live Exchange Rate Bar */
.live-rate-bar {
  background: #000000;
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 20px;
}

.live-rate-bar .rate-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #888888;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.live-rate-bar .rate-value {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.live-rate-bar .save-badge {
  background: #222226;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 12px;
  line-height: normal;
}

/* Submit Button */
.btn-calc-submit {
  display: block;
  width: 100%;
  background: #ea1f27;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 17px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(230, 35, 41, 0.35);
  transition: all 0.3s ease;
  margin-bottom: 12px;
}

.btn-calc-submit:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Footer note */
.calc-footer-note {
  font-size: 12px;
  color: #7a7d87;
  text-align: center;
  margin: 0;
  font-weight: 500;
  line-height: normal;
  margin-top: 20px;
}

.rates-ticker-bar {
  background-color: #ea1f27;
  color: #ffffff;
  padding: 7px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  white-space: nowrap;
  z-index: 10;
}

.rates-marquee-tag {
  vertical-align: middle;
  display: block;
}

.rates-marquee-tag .ticker-pair {
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  margin-left: 24px;
  letter-spacing: 0.3px;
}

.rates-marquee-tag .ticker-val {
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  margin-left: 8px;
}

.rates-marquee-tag .ticker-change {
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  margin-left: 6px;
}

.rates-marquee-tag .ticker-sep {
  font-weight: 300;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 24px;
}

.ticker-item strong {
  font-weight: 800;
  letter-spacing: 0.3px;
}

.ticker-item .rate-val {
  font-weight: 600;
}

.ticker-item .rate-change {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.95;
}

.ticker-item .rate-change.text-green {
  color: #ffffff;
}

.ticker-item .rate-change.text-red {
  color: #ffd1d3;
}

.ticker-slash {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 300;
  margin: 0 6px;
}

.foreign-currencies-sec {
  background-color: #fff;
  padding: 70px 0;
  position: relative;
}

.heading {
  text-align: center;
  margin-bottom: 40px;
}

.main-title {
  font-weight: 700;
  font-size: 40px;
  line-height: 42px;
  text-align: center;
  color: #000000;
}

.sub-heading {
  font-weight: 500;
  font-size: 16px;
  line-height: 23px;
  text-transform: capitalize;
  color: #58585b;
  margin-top: 16px;
  text-align: center;
}

.foreign-currencies-sec .currency-card {
  border: 1px solid #e6eaf2;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  height: 100%;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}

.foreign-currencies-sec .currency-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(230, 35, 41, 0.12);
  border-color: rgba(230, 35, 41, 0.3);
}

.foreign-currencies-sec .currency-card .curr-flag {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.foreign-currencies-sec .currency-card .curr-info h5 {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin: 0 0 3px 0;
  line-height: normal;
}

.foreign-currencies-sec .currency-card .curr-info p {
  font-size: 14px;
  color: #58585b;
  margin: 0;
  font-weight: 500;
  line-height: normal;
}

.foreign-currencies-sec .btn-view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ea1f27;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 38px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(230, 35, 41, 0.25);
  margin-top: 30px;
}

.foreign-currencies-sec .btn-view-more:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Documents Required Section */
.docs-required-sec {
  background-color: #ffffff;
  padding: 80px 0;
  position: relative;
}

.docs-required-sec .docs-img-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.docs-required-sec .docs-img-card img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0px 1px 24px rgba(0, 0, 0, 0.05));
}

.docs-required-sec .doc-badge-pill {
  background: #ffffff;
  border: 1px solid #eef0f4;
  border-radius: 20px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  height: 100%;
}

.docs-required-sec .doc-badge-pill:hover {
  border-color: #ea1f27;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(234, 31, 39, 0.08);
}

.docs-required-sec .badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff0f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.docs-required-sec .badge-icon svg {
  width: 18px;
  height: 18px;
}

.docs-required-sec .badge-text {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

/* Why Choose Transcorp Section */
.why-choose-sec {
  background-color: #ffffff;
  position: relative;
}

.why-choose-card {
  background: #ffffff;
  border: 1px solid #e6eaf2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.03);
}

.why-col {
  border-right: 1px solid #e6eaf2;
  border-bottom: 1px solid #e6eaf2;
}

.why-col:nth-child(3n) {
  border-right: none;
}

.why-col:nth-last-child(-n + 3) {
  border-bottom: none;
}

.why-item {
  padding: 55px 35px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.why-item:hover {
  background: #fffcfc;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ea1f27;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  box-shadow: 0 6px 16px rgba(234, 31, 39, 0.25);
  transition: transform 0.3s ease;
}

.why-item:hover .why-icon {
  transform: scale(1.08);
}

.why-title {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  margin: 25px 0 10px 0;
  line-height: 1.35;
}

.why-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #58585b;
  margin: 0;
}

.faq-sec {
  background-color: #f7f7f8;
  padding: 80px 0;
  position: relative;
  margin: 60px 0 !important;
}

.custom-faq-accordion {
  border-top: 1px solid #e0ded8;
}

.custom-faq-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #e0ded8;
  border-radius: 0 !important;
}

.custom-faq-accordion .accordion-button {
  background: transparent !important;
  box-shadow: none !important;
  font-size: 20px;
  font-weight: 500;
  color: #000;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease;
  border: none !important;
}
.custom-faq-accordion .accordion-header {
  line-height: normal;
  margin-top: 0;
}
.custom-faq-accordion .accordion-button:not(.collapsed) {
  color: #ea1f27;
}

.custom-faq-accordion .accordion-button::after {
  display: none;
}

.custom-faq-accordion .faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #f0f2f5;
  color: #333333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  margin-left: 15px;
  transition: all 0.3s ease;
}

.custom-faq-accordion .faq-icon::before {
  content: "+";
  line-height: 1;
}

.custom-faq-accordion .accordion-button:not(.collapsed) .faq-icon {
  background-color: #ea1f27;
  color: #ffffff;
}

.custom-faq-accordion .accordion-button:not(.collapsed) .faq-icon::before {
  content: "−";
  font-size: 16px;
  line-height: 1;
}

.custom-faq-accordion .accordion-body {
  padding: 0 0 24px 0;
  font-size: 18px;
  line-height: 1.65;
  color: #58585b;
}

.how-buy-forex-sec {
  background-color: #070304;
  background-image:
    linear-gradient(rgba(230, 35, 41, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 35, 41, 0.07) 1px, transparent 1px),
    url("../images/buy-foreign-currency/how-buy-foreign-currency-bg.png");
  background-size:
    45px 45px,
    45px 45px,
    cover;
  background-position:
    center center,
    center center,
    center;
  background-repeat: repeat, repeat, no-repeat;
  padding: 90px 0;
  position: relative;
  color: #ffffff;
  overflow: hidden;
}

.how-buy-forex-sec .sec-sub-title {
  display: block;
  color: #cccccc;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 10px;
}

.how-buy-forex-sec .sec-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  text-align: center;
  margin-bottom: 70px;
  letter-spacing: -0.5px;
}

.how-buy-forex-sec .sec-title .text-red {
  color: #ea1f27;
}

.how-buy-forex-sec .timeline-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.how-buy-forex-sec .timeline-line-base {
  position: absolute;
  top: 114px;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
  z-index: 1;
}

.how-buy-forex-sec .timeline-line-progress {
  position: absolute;
  top: 114px;
  left: 50%;
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, #ff4d52 0%, #ea1f27 100%);
  box-shadow:
    0 0 14px #ea1f27,
    0 0 28px rgba(230, 35, 41, 0.85);
  transform: translateX(-50%);
  z-index: 1;
  transition: height 0.1s ease-out;
}

.how-buy-forex-sec .timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.how-buy-forex-sec .timeline-item:last-child {
  margin-bottom: 0;
}

/* Node Dot */
.how-buy-forex-sec .timeline-node {
  position: absolute;
  top: 114px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(107.93deg, #bb5858 -2.39%, #360808 92.36%);
  z-index: 3;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-buy-forex-sec .timeline-item.active .timeline-node {
  background: radial-gradient(circle, #ff5c62 0%, #ea1f27 100%);
  border-color: #ffffff;
  box-shadow:
    0 0 16px #ea1f27,
    0 0 32px rgba(230, 35, 41, 0.95);
  transform: translate(-50%, -50%) scale(1.35);
}

.how-buy-forex-sec .timeline-connector {
  position: absolute;
  top: 114px;
  height: 2px;
  z-index: 2;
  pointer-events: none;
}

.how-buy-forex-sec .timeline-connector.left {
  right: 50%;
  width: 57px;
  background: repeating-linear-gradient(
    90deg,
    #6c1216 0,
    #6c1216 3px,
    transparent 3px,
    transparent 8px
  );
}

.how-buy-forex-sec .timeline-connector.right {
  left: 50%;
  width: 57px;
  background: repeating-linear-gradient(
    90deg,
    #6c1216 0,
    #6c1216 3px,
    transparent 3px,
    transparent 8px
  );
}

/* Arrowhead pointing to card on left side */
.how-buy-forex-sec .timeline-connector.left::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 7px solid #6c1216;
  transition: all 0.3s ease;
}

/* Arrowhead pointing to card on right side */
.how-buy-forex-sec .timeline-connector.right::before {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #6c1216;
  transition: all 0.3s ease;
}

/* Active Connector highlight */
.how-buy-forex-sec .timeline-item.active .timeline-connector.left,
.how-buy-forex-sec .timeline-item.active .timeline-connector.right {
  background: repeating-linear-gradient(
    90deg,
    #ea1f27 0,
    #ea1f27 4px,
    transparent 4px,
    transparent 10px
  );
  filter: drop-shadow(0 0 5px rgba(230, 35, 41, 0.7));
}

.how-buy-forex-sec .timeline-item.active .timeline-connector.left::before {
  border-right-color: #ea1f27;
  filter: drop-shadow(0 0 6px #ea1f27);
}

.how-buy-forex-sec .timeline-item.active .timeline-connector.right::before {
  border-left-color: #ea1f27;
  filter: drop-shadow(0 0 6px #ea1f27);
}

.how-buy-forex-sec .glass-card {
  background: rgba(14, 14, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 15px 25px;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.75),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
  position: relative;
}

.how-buy-forex-sec .left-step .glass-card::before {
  content: "";
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: -8px;
  right: -8px;
  border-radius: 28px;
  padding: 2.5px;
  background: linear-gradient(
    270deg,
    #a3151b 0%,
    #a3151b 8%,
    rgba(230, 35, 41, 0.3) 14%,
    transparent 20%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(230, 35, 41, 0.75));
  z-index: 1;
  transition: all 0.4s ease;
}
.timeline-item.left-step.active .glass-card::before {
  background: linear-gradient(
    270deg,
    #ea1f27 0%,
    #ea1f27 8%,
    rgba(230, 35, 41, 0.3) 14%,
    transparent 20%
  );
}
.how-buy-forex-sec .left-step .glass-card {
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.75),
    10px 0 25px -5px rgba(230, 35, 41, 0.2);
}

.how-buy-forex-sec .right-step .glass-card::before {
  content: "";
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: -8px;
  right: -8px;
  border-radius: 28px;
  padding: 2.5px;
  background: linear-gradient(
    90deg,
    #ff1e27 0%,
    #ea1f27 8%,
    rgba(230, 35, 41, 0.3) 14%,
    transparent 20%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(230, 35, 41, 0.75));
  z-index: 1;
  transition: all 0.4s ease;
}

.how-buy-forex-sec .right-step .glass-card {
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.75),
    -10px 0 25px -5px rgba(230, 35, 41, 0.2);
}

.how-buy-forex-sec .timeline-item.active.left-step .glass-card {
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.85),
    15px 0 35px -5px rgba(230, 35, 41, 0.45),
    inset -10px 0 25px -12px rgba(230, 35, 41, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
}

.how-buy-forex-sec .timeline-item.active.left-step .glass-card::before {
  filter: drop-shadow(0 0 12px #ea1f27);
}

.how-buy-forex-sec .timeline-item.active.right-step .glass-card {
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.85),
    -15px 0 35px -5px rgba(230, 35, 41, 0.45),
    inset 10px 0 25px -12px rgba(230, 35, 41, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
}

.how-buy-forex-sec .timeline-item.active.right-step .glass-card::before {
  filter: drop-shadow(0 0 12px #ea1f27);
}

.how-buy-forex-sec .glass-card:hover {
  transform: translateY(-4px);
}

.how-buy-forex-sec .glass-card .card-icon {
  font-size: 22px;
  color: #f0f0f5;
  margin-bottom: 16px;
  display: inline-block;
}

.how-buy-forex-sec .glass-card h4 {
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.how-buy-forex-sec .glass-card p {
  font-size: 16px;
  color: #b9b9bb;
  line-height: 28px;
  margin: 0;
}

/* ==================================================== */
/* Consolidated Responsive Media Queries                */
/* ==================================================== */

@media (min-width: 992px) {
  .how-buy-forex-sec .left-step .timeline-content-col {
    padding-right: 65px !important;
  }
  .how-buy-forex-sec .right-step .timeline-content-col {
    padding-left: 65px !important;
  }
}

.why-choose-scroll-sec.is-fixed {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  z-index: 9999 !important;
  background: #ffffff !important;
}
.why-choose-scroll-sec.is-bottom {
  position: absolute !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  background: #ffffff !important;
}
@media (max-width: 1400px) {
  .connecting-svg {
    max-width: 960px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
}
@media (max-width: 1199px) {
  .what-is-remittance-card {
    padding: 40px 40px;
  }
  .what-is-remittance-content .what-is-title {
    font-size: 30px;
  }
  .what-is-remittance-content .what-is-desc {
    font-size: 15px;
  }
  .become-partner-card {
    padding: 45px 40px;
  }
  .partner-title {
    font-size: 32px;
  }
  .buy-forex-banner-sec {
    background-size: contain;
    padding: 110px 0px 60px 0;
  }
  .buy-forex-banner-sec .buy-forex-title {
    font-size: 2.75rem;
  }
  .buy-forex-banner-sec .buy-forex-title .text-red {
    font-size: 2.75rem;
  }

  .connecting-svg {
    display: none;
  }

  .forex-card-benefits-sec {
    padding: 70px 0;
  }
  .benefits-grid-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
  .benefit-card {
    padding: 18px;
  }
  .benefit-card .benefit-text h4 {
    font-size: 16px;
  }
  .benefit-card .benefit-text p {
    font-size: 14px;
  }
  .card-tilt-wrapper {
    width: 290px;
    height: 180px;
  }
  .animated-card-bg {
    width: 380px;
    height: 380px;
  }
  .card-bg-ring.ring-3 {
    width: 325px;
    height: 325px;
  }
  .card-bg-ring.ring-2 {
    width: 280px;
    height: 280px;
  }
  .card-bg-ring.ring-1 {
    width: 190px;
    height: 190px;
  }
}

@media (max-width: 991px) {
  .why-choose-mobile-sec .why-card-item {
    width: 100% !important;
    min-height: 200px;
    height: 100%;
    margin-top: 0 !important;
  }
  .why-choose-pagination {
    position: relative !important;
    bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .why-choose-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s ease;
  }
  .why-choose-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 6px;
    background: #ea1f27 !important;
  }
  .why-choose-mobile-sec {
    padding: 30px 0 !important;
  }
  .forex-travel-hero-img {
    justify-content: center;
  }
  .buy-forex-banner-sec {
    padding: 90px 0px 60px 0;
    background-position: center bottom;
    background-size: contain;
  }
  .buy-forex-banner-sec .buy-forex-title {
    font-size: 30px;
  }
  .buy-forex-banner-sec .buy-forex-title .text-red {
    font-size: 30px;
  }
  .buy-forex-banner-sec .buy-forex-desc {
    font-size: 15px;
    max-width: 100%;
  }
  .foreign-currencies-sec {
    padding: 50px 0;
  }
  .foreign-currencies-sec .sec-title {
    font-size: 30px;
    margin-bottom: 35px;
  }
  .docs-required-sec {
    padding: 50px 0;
  }
  .docs-required-sec .docs-title {
    font-size: 30px;
    margin-top: 15px;
  }
  .docs-required-sec .docs-sub-heading {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .docs-required-sec .doc-badge-pill {
    padding: 12px 18px;
  }
  .why-col:nth-child(3n) {
    border-right: 1px solid #eef0f4;
  }
  .why-col:nth-child(2n) {
    border-right: none;
  }
  .why-col:nth-last-child(-n + 3) {
    border-bottom: 1px solid #eef0f4;
  }
  .why-col:nth-last-child(-n + 2) {
    border-bottom: none;
  }
  .why-item {
    padding: 35px 20px;
  }
  .how-buy-forex-sec {
    padding: 60px 0;
  }
  .how-buy-forex-sec .timeline-line-base,
  .how-buy-forex-sec .timeline-line-progress {
    left: -15px;
  }
  .how-buy-forex-sec .timeline-node {
    left: -16px;
  }
  .how-buy-forex-sec .timeline-connector {
    display: none;
  }
  .how-buy-forex-sec .timeline-content-col {
    padding-left: 50px !important;
    padding-right: 15px !important;
  }
  .how-buy-forex-sec .left-step .glass-card::before,
  .how-buy-forex-sec .right-step .glass-card::before {
    background: linear-gradient(
      90deg,
      #a3151b 0%,
      #a3151b 8%,
      rgba(230, 35, 41, 0.3) 14%,
      transparent 20%
    );
  }
  .how-buy-forex-sec .left-step .glass-card,
  .how-buy-forex-sec .right-step .glass-card {
    box-shadow:
      0 15px 35px rgba(0, 0, 0, 0.65),
      -10px 0 25px -5px rgba(230, 35, 41, 0.15);
  }
  .how-buy-forex-sec .timeline-item.active.left-step .glass-card,
  .how-buy-forex-sec .timeline-item.active.right-step .glass-card {
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.75),
      -15px 0 35px -5px rgba(230, 35, 41, 0.35),
      inset 10px 0 25px -12px rgba(230, 35, 41, 0.25);
  }
  .how-buy-forex-sec .sec-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .how-buy-forex-sec .glass-card {
    padding: 22px;
  }
  .heading {
    margin-bottom: 30px;
  }
  .main-title {
    font-size: 30px;
    line-height: 23px;
  }
  .sub-heading {
    font-size: 15px;
    line-height: 23px;
    margin-top: 12px;
  }
  .main-title {
    font-size: 30px !important;
    line-height: normal !important;
  }
  .foreign-currencies-sec .currency-card {
    padding: 14px 18px;
    gap: 10px;
  }
  .foreign-currencies-sec .currency-card .curr-flag {
    width: 38px;
    height: 38px;
  }

  .forex-card-benefits-sec {
    padding: 60px 0;
  }
  .forex-card-benefits-sec .heading {
    margin-bottom: 40px;
  }
  .benefits-grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .center-card-stage {
    order: -1;
    min-height: 350px;
    margin-bottom: 10px;
  }
  .left-benefits,
  .right-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
  }
  .card-tilt-wrapper {
    width: 320px;
    height: 200px;
  }
  .animated-card-bg {
    width: 380px;
    height: 380px;
  }
  .card-bg-ring.ring-3 {
    width: 360px;
    height: 360px;
  }
  .card-bg-ring.ring-2 {
    width: 270px;
    height: 270px;
  }
  .card-bg-ring.ring-1 {
    width: 180px;
    height: 180px;
  }

  .how-get-forex-sec {
    padding: 40px 0;
  }
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .what-is-outward-remittance-sec {
    padding: 50px 0;
  }
  .what-is-remittance-card {
    padding: 36px 28px;
    border-radius: 20px;
  }
  .what-is-remittance-content {
    text-align: center;
  }
  .what-is-remittance-content .what-is-title {
    font-size: 26px;
  }
  .remittance-tags-wrapper {
    justify-content: center;
  }
  .what-is-remittance-img-box img {
    max-width: 340px;
    margin: 0 auto 15px auto;
  }
  .four-steps-process-sec .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .become-partner-sec {
    padding: 50px 0;
  }
  .become-partner-card {
    padding: 36px 28px;
    border-radius: 20px;
  }
  .partner-title {
    font-size: 28px;
  }
  .become-partner-img-box img {
    max-width: 360px;
    margin: 20px auto 0 auto;
  }
  .why-choose-scroll-sec {
    padding: 40px 0;
  }
  .why-scroll-container {
    padding: 20px 40px 0 40px;
  }
  .types-main-title {
    font-size: 28px;
  }
  .types-remittance-sec {
    padding: 30px 0;
  }
}

/* Max-Width 767px (Mobile & Small Tablets) */
@media (max-width: 767px) {
  .forex-travel-hero-sec h4 {
    font-size: 18px;
    line-height: normal;
  }
  .become-partner-sec {
    padding-bottom: 0 !important;
  }
  .types-remittance-header {
    margin-bottom: 15px;
  }
  .types-main-title {
    font-size: 22px;
  }
  .main-title {
    font-size: 24px !important;
    line-height: normal !important;
    font-weight: 600;
  }
  .faq-sec {
    padding: 50px 0;
  }
  .custom-faq-accordion .accordion-button {
    font-size: 15px;
    padding: 18px 0;
  }
  .custom-faq-accordion .accordion-body {
    font-size: 14px;
    padding: 0 0 18px 0;
  }
  .btn-calc-submit {
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
  }
  .live-rate-bar {
    padding: 13px 14px;
    margin: 16px 0 16px;
  }
  .live-rate-bar .rate-value {
    font-size: 15px;
  }
  .how-buy-forex-sec .timeline-node {
    left: -15px;
  }
  .why-item {
    padding: 20px;
  }

  .left-benefits,
  .right-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .benefit-card {
    padding: 16px 18px;
  }
  .benefit-card .benefit-text h4 {
    font-size: 16px;
  }
  .benefit-card .benefit-text p {
    font-size: 14px;
  }
  .center-card-stage {
    min-height: 300px;
  }
  .card-tilt-wrapper {
    width: 280px;
    height: 175px;
  }
  .animated-card-bg {
    width: 310px;
    height: 310px;
  }
  .card-bg-ring.ring-3 {
    width: 300px;
    height: 300px;
  }
  .card-bg-ring.ring-2 {
    width: 220px;
    height: 220px;
  }
  .card-bg-ring.ring-1 {
    width: 150px;
    height: 150px;
  }

  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .step-icon-node {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
  }
  .step-icon-node i {
    font-size: 18px;
  }
  .process-step-item .step-content h4 {
    font-size: 15px;
  }
  .process-step-item .step-content p {
    font-size: 13px;
  }
  .why-card-item {
    padding: 18px;
  }
  .card-num {
    font-size: 30px;
  }
  .card-body-content .card-title {
    font-size: 16px;
    line-height: normal;
  }
  .card-icon-badge {
    width: 40px;
    height: 40px;
  }
  .scroll-connecting-line {
    top: 148px;
  }
  .remittance-tags-wrapper {
    gap: 6px;
  }
}

/* Max-Width 575px (Extra Small Mobile Screens) */
@media (max-width: 575px) {
  .how-buy-forex-sec .timeline-node {
    left: 19px;
    top: 92px;
  }
  .how-buy-forex-sec .timeline-line-base,
  .how-buy-forex-sec .timeline-line-progress {
    left: 20px;
    top: 84px;
  }
  .why-title {
    font-size: 18px;
    margin: 25px 0 4px 0px;
  }
  .why-desc {
    font-size: 16px;
  }
  .calc-tab {
    padding: 9px 15px;
    font-size: 14px;
  }
  .forex-calc-card-inner {
    padding: 16px;
  }
  .calc-input-box {
    padding: 6px 14px;
    min-height: 50px;
  }
  .calc-amount-input {
    font-size: 18px;
    font-weight: 600;
    color: #0d0d0d;
    letter-spacing: 0;
  }
  .buy-forex-banner-sec .rbi-badge {
    font-size: 12px;
  }
  .buy-forex-banner-sec .btn-get-rate {
    padding: 11px 26px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }
  .foreign-currencies-sec .currency-card {
    padding: 14px 18px;
  }
  .foreign-currencies-sec .currency-card .curr-flag {
    width: 40px;
    height: 40px;
  }
  .why-col {
    border-right: none !important;
    border-bottom: 1px solid #eef0f4 !important;
  }
  .why-col:last-child {
    border-bottom: none !important;
  }
  .how-buy-forex-sec .sec-title {
    font-size: 22px;
  }
  .how-buy-forex-sec .glass-card h4 {
    font-size: 16px;
  }
  .how-buy-forex-sec .glass-card p {
    font-size: 13px;
    line-height: 22px;
  }
  .how-buy-forex-sec .timeline-content-col {
    padding-left: 55px !important;
    padding-right: 20px !important;
  }
  .how-buy-forex-sec .glass-card {
    padding: 12px;
  }

  .forex-card-benefits-sec {
    padding: 45px 0;
  }
  .forex-card-benefits-sec .heading h2.main-title {
    font-size: 26px !important;
    line-height: 1.25;
    margin-bottom: 8px;
  }
  .forex-card-benefits-sec .heading p.sub-heading {
    font-size: 14px;
    line-height: 1.4;
  }
  .benefit-card {
    padding: 16px;
    gap: 12px;
    border-radius: 16px;
  }
  .benefit-card .benefit-icon-box {
    width: 38px;
    height: 38px;
  }
  .benefit-card .benefit-icon-box i {
    font-size: 16px;
  }
  .benefit-card .benefit-text h4 {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .benefit-card .benefit-text p {
    font-size: 13.5px;
    line-height: 1.45;
  }
  .card-tilt-wrapper {
    width: 260px;
    height: 162px;
  }
  .animated-card-bg {
    width: 280px;
    height: 280px;
  }
  .card-bg-ring.ring-3 {
    width: 270px;
    height: 270px;
  }
  .card-bg-ring.ring-2 {
    width: 200px;
    height: 200px;
  }
  .card-bg-ring.ring-1 {
    width: 130px;
    height: 130px;
  }

  .how-get-forex-sec {
    padding: 30px 0;
  }
  .process-steps-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
  }
  .what-is-remittance-card {
    padding: 28px 20px;
    border-radius: 16px;
  }
  .what-is-remittance-content .what-is-title {
    font-size: 22px;
  }
  .what-is-remittance-content .what-is-desc {
    font-size: 14px;
    line-height: 1.6;
  }
  .remittance-tag-pill {
    padding: 7px 16px;
    font-size: 13.5px;
  }
  .four-steps-process-sec .process-steps-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
  }
  .become-partner-card {
    padding: 28px 20px;
    border-radius: 16px;
  }
  .partner-title {
    font-size: 24px;
  }
  .partner-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .partner-benefit-pill {
    padding: 14px 16px;
  }
  .pill-title {
    font-size: 14px;
  }
  .btn-join-now {
    width: 100%;
    text-align: center;
  }
}
