/* =====================================================
   ECOMWORLD PAY — HOME PAGE STYLES
   Covers: Hero, Features Grid, Payment Section,
           Clients, Contact Form, Testimonials
===================================================== */

#bcome-affiliate-wrapper .homeBanner_content {
  width: 70%;
}

/* =====================================================
   HERO BANNER
===================================================== */
.homeBanner {
  background-color: #0d47a1;
  color: #fff;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: url("../images/home/bg_home_banner.jpg");
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  padding-top: 8rem;
}

.homeBanner_content {
  width: 65%;
  padding: 2.5rem 13rem 8rem 2rem;
}

.homeBanner_content h6 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 400;
}

.homeBanner_content h4 {
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 0;
}

.homeBanner_content p {
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: #fff;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.5rem;
}

@keyframes bounce {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(8px);
  }
}

/* =====================================================
   HOME FEATURES SECTION
===================================================== */
.home_feature {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Subtle grid-line texture */
.home_feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 27, 62, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 27, 62, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.home_feature::after {
  content: none;
}

/* Section header */
.hf-eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff7d33;
  margin-bottom: 0.75rem;
}

.hf-title {
  font-family: "Rubik", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: #0D1B3E;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hf-title span { color: #ff7d33; }

.hf-subtitle {
  font-family: "Rubik", sans-serif;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* Search box */
.home_feature-searchBox {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.home_feature-searchBox input[type="text"] {
  font-family: "Rubik", sans-serif;
  font-size: 0.9rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0.5rem;
  width: 100%;
  outline: none;
  border: 1.5px solid #e8ecf0;
  background: #ffffff;
  color: #0D1B3E;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.home_feature-searchBox input[type="text"]::placeholder {
  color: #94a3b8;
}

.home_feature-searchBox input[type="text"]:focus {
  border-color: #ff7d33;
  box-shadow: 0 0 0 3px rgba(255, 125, 51, 0.1);
}

.home_feature-searchBox button {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.5rem;
  color: #ffffff;
  background: #ff7d33;
  border: 2px solid #ff7d33;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.home_feature-searchBox button:hover {
  background: #e86500;
  border-color: #e86500;
  transform: translateY(-1px);
}

.home_feature-searchBox button i {
  color: #ffffff;
  font-size: 0.75rem;
  transition: transform 0.18s;
}

.home_feature-searchBox button:hover i {
  transform: translateX(4px);
}

/* =====================================================
   FEATURES GRID (5-column CSS Grid)
===================================================== */
.features-grid {
  position: relative;
  z-index: 1;
}

.feat-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  counter-reset: feat-count;
}

/* Card */
.feat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1.5px solid #eef1f6;
  border-radius: 1.25rem;
  overflow: visible;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease,
              transform 0.5s ease,
              border-color 0.25s,
              box-shadow 0.25s;
}

.feat-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.feat-card:hover {
  border-color: #ff7d33;
  box-shadow: 0 0 0 4px rgba(255, 125, 51, 0.1),
              0 12px 40px rgba(255, 125, 51, 0.12);
  transform: translateY(-4px) !important;
  text-decoration: none;
}

.feat-card::before {
  display: none;
}

/* Round icon container */
.fci {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #e8ecf0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto 1rem;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.feat-card:hover .fci {
  background: rgba(255, 125, 51, 0.13);
}

/* Auto-number badge */
.fci::after {
  counter-increment: feat-count;
  content: counter(feat-count, decimal-leading-zero);
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.58rem;
  color: rgba(255, 125, 51, 0.45);
  letter-spacing: 0.02em;
}

.fci img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: transform 0.25s;
}

.feat-card:hover .fci img {
  transform: scale(1.1);
}

/* Content area */
.fcb {
  padding: 0 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.feat-card h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #0D1B3E;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.feat-card:hover h4 {
  color: #ff7d33;
}

.feat-card p {
  font-family: "Rubik", sans-serif;
  font-size: 0.73rem;
  color: #94a3b8;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-bottom: 0.75rem;
  flex: 1;
}

.feat-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-top: auto;
  text-decoration: none;
  transition: color 0.2s;
}

.feat-card:hover .feat-card-link {
  color: #ff7d33;
}

.feat-card-link i {
  font-size: 0.58rem;
  transition: transform 0.18s;
}

.feat-card:hover .feat-card-link i {
  transform: translateX(4px);
}

/* Responsive grid */
@media (max-width: 1199px) {
  .feat-row { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 991px) {
  .feat-row { grid-template-columns: repeat(3, 1fr); }
  .home_feature { padding: 3.5rem 0; }
}

@media (max-width: 575px) {
  .feat-row { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .home_feature { padding: 2.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .feat-card {
    opacity: 1;
    transform: none;
    transition: border-color 0.25s, box-shadow 0.25s;
  }
}

/* =====================================================
   PAYMENT GATEWAY SECTION
===================================================== */
.payment_wrapper {
  background: url("../images/bg_home_ecomworldpay.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-bottom: 5rem;
  position: relative;
}

.payment_wrapper img {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.payment_wrapper h5 {
  font-size: 3rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.payment_wrapper p {
  font-size: 1.2rem;
}

.payment_card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
  margin-top: 3.5rem;
  gap: 2.5rem;
}

.payment_cardContent {
  background-color: var(--white);
  border-radius: 0.75rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  padding: 1.5rem;
}

.payment_cardContent:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.payment_cardContent h6 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.payment_cardContent img {
  margin: 0 auto;
  margin-bottom: 1rem;
  width: auto;
}

.payment_cardContent a {
  color: var(--black-color);
  font-size: 0.875rem;
}

.payment_cardContent a:hover {
  color: var(--blue-color);
}

/* =====================================================
   OUR CLIENTS SECTION
===================================================== */
.our-clients {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.our-clients h6 {
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.our-clients p {
  text-align: center;
  font-size: 1.2rem;
}

.our-clients .our-clients-list {
  margin-top: 3rem;
  position: relative;
}

.our-clients .our-clients-list img {
  max-width: 100%;
  height: auto;
}

.our-clients-list .marqueeOuter {
  height: 360px;
  width: 600px;
  background-color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.our-clients-list .marqueeOuter .marqueeCmp {
  background: url("../images/logosBg.jpg") repeat-y;
  background-position: center top;
  background-size: contain;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: calc(360px * 2);
  animation: slideVertical 5s linear infinite;
}

@keyframes slideVertical {
  0%  { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* =====================================================
   CONTACT TEAM SECTION
===================================================== */
.contactTeam {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background: url("../images/bg_home_form.png");
  background-position: center;
  background-size: cover;
}

.contactTeam h6 {
  font-size: 1.5rem;
  line-height: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 400;
}

.contactTeam h5 {
  font-size: 3rem;
  line-height: 1;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 2rem;
}

.contactTeam input[type="text"] {
  font-size: 1rem;
  line-height: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 0.5rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  padding-left: 2.75rem !important;
  background-color: var(--white);
  width: 100%;
}

.contactTeam .submitBtn {
  font-size: 1rem;
  line-height: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 0.5rem;
  color: var(--white);
  background-color: var(--pure-orange);
  gap: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex-shrink: 0;
  border: 2px solid var(--pure-orange);
}

.contactTeam .submitBtn i {
  transition-duration: 150ms;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--white);
  font-size: 11px;
  font-weight: 400;
}

.contactTeam .submitBtn:hover {
  background-color: var(--pure-orange);
  border-color: var(--pure-orange);
}

.contactTeam .submitBtn:hover i {
  transform: translateX(0.5rem);
}

.needs-validation .inputField {
  position: relative;
}

.needs-validation .inputField i {
  position: absolute;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
  color: #64748b;
}

.fa-solid.fa-mobile {
  font-weight: 600 !important;
}

.inputField .form-control::placeholder,
.inputField .form-control::-webkit-input-placeholder,
.inputField .form-control:-moz-placeholder,
.inputField .form-control::-moz-placeholder,
.inputField .form-control:-ms-input-placeholder,
.inputField .form-control::-ms-input-placeholder {
  color: #bfc2c7 !important;
  opacity: 1;
}

/* =====================================================
   TESTIMONIALS SECTION
===================================================== */
.testimonials_Box {
  text-align: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.testimonials_headline {
  margin-bottom: 4rem;
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

.testimonialsSlider {
  overflow: hidden;
  position: relative;
  min-height: 385px;
  z-index: 0;
}

.testimonial-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 18px -8px rgba(0, 0, 0, 0.3);
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

.testimonial-image {
  flex: 0 0 40%;
  text-align: center;
}

.testimonial-image img {
  max-width: 100%;
  border-radius: 10px;
}

.testimonial-content {
  flex: 0 0 60%;
  text-align: left;
  padding: 0 4rem;
}

.testimonial-content img.quotesImg {
  width: 10%;
  transform: scaleY(-1);
}

.testimonial-content h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  color: var(--text-color);
  margin-bottom: 0;
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  color: #333;
}

.testimonial-content .learn-more {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--blue-color);
}

.testimonial-content .learn-more:hover {
  text-decoration: underline;
}

.testimonialsSlider .swiper-button-next,
.testimonialsSlider .swiper-button-prev {
  color: var(--pure-orange);
}

.testimonialsSlider .swiper-pagination-bullet {
  background: var(--gray-color);
}

.testimonialsSlider .swiper-pagination {
  bottom: -3px !important;
}

.testimonialsSlider .swiper-pagination-bullet-active {
  background: var(--pure-orange);
}

.testimonial-content h4 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 0;
  color: #475569;
}

@media (max-width: 768px) {
  .testimonial-slide {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-content {
    padding-left: 0;
    text-align: center;
  }
}
