/* ========================================
   HOME PAGE STYLES
   Page-specific styles only - common styles are in common.css
   Header styles are in rrs-header.js web component
   ======================================== */

/* Hero Section */
.hero {
  display: flex;
  min-height: 700px;
}

.hero-left {
  flex: 1;
  background: url('assets/icons/hero-left-bg.svg') center center / cover no-repeat;
  padding: 282px 80px 259px 144px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.hero-right {
  flex: 1;
  background: var(--color-primary);
  padding: 156px 144px 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.search-box {
  background: var(--color-bg-light);
  border-radius: 10px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  width: 425px;
}

.search-btn {
  width: 46px;
  height: 46px;
  background: var(--color-primary) url('assets/icons/arrow-6.svg') center center no-repeat;
  background-size: 20px 20px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* Sections - Home page specific */
.section {
  padding: var(--spacing-section);
}

/* Stats Section */
.stats-section {
  background: var(--color-primary);
  padding: 0 max(144px, calc((100% - var(--content-max)) / 2));
  display: flex;
  justify-content: center;
  align-items: center;
  height: 350px;
}

.stats-section .grid-content {
  align-items: center;
}

.stat-item {
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.stat-item-text {
  display: flex;
  flex-direction: column;
}

.stat-line {
  height: 2px;
  background: var(--color-bg-light);
  margin: 10px 0;
}

.stat-line-left {
  width: 30%;
}

.stat-line-right {
  width: 42%;
}

/* First Party Trade Data Section */
.trade-data-section {
  background: var(--color-bg-dark-section);
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 0 max(40px, calc((100% - 1170px) / 2));
}

.trade-data-icon {
  width: 141px;
  height: 137px;
}

.trade-data-number {
  color: var(--color-text-light);
  font-size: 128px;
  font-family: var(--font-primary);
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

.trade-data-label {
  color: var(--color-primary);
  font-size: 48px;
  font-family: var(--font-primary);
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

/* Why Choose Section */
.why-choose-section {
  background: var(--color-bg-light);
  padding: 80px max(144px, calc((100% - var(--content-max)) / 2));
  display: flex;
  justify-content: center;
}

.why-choose-left {
  justify-content: center;
}

.why-choose-right p {
  color: var(--color-text-dark);
  font-size: 18px;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 32px;
  margin: 0;
}

.why-choose-right strong {
  font-weight: 900;
}

/* Business Partner Section */
.business-partner-section {
  position: relative;
  padding: 80px max(144px, calc((100% - 1170px) / 2));
  overflow: hidden;
}

.business-partner-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  right: -20%;
  bottom: -30%;
  background-image: url('assets/images/Dashboard_1.webp');
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(10deg) perspective(1000px) rotateX(10deg);
}

.business-partner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(94deg, #124D7E 32.33%, #208CE4 69.16%, #6CC7E6 92.76%);
  mix-blend-mode: multiply;
}

.business-partner-content {
  position: relative;
  z-index: 1;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

/* Testimonial Section */
.testimonial-section {
  background: var(--color-bg-light);
  padding: 80px max(144px, calc((100% - 1170px) / 2));
  position: relative;
}

.testimonial-carousel {
  position: relative;
  width: 100%;
}

.testimonial-slides {
  position: relative;
  width: 100%;
  height: 300px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.testimonial-quote-container {
  position: relative;
  width: 157px;
  height: 157px;
  background-image: url('assets/icons/ellipse-1.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-content {
  flex: 1;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  justify-content: center;
  width: 100%;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #208CE4;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease;
}

.testimonial-dot:hover {
  background: rgba(32, 140, 228, 0.5);
}

.testimonial-dot.active {
  background: var(--color-primary);
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-inactive);
}

.dot.active {
  background: var(--color-primary);
}

/* Member Benefits Section */
.member-benefits-section {
  background: var(--color-primary);
  padding: 80px max(144px, calc((100% - 1170px) / 2));
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  align-items: start;
  margin-left: 96px;  /* 96px indent from left edge */
}

.benefit-card {
  padding: 20px 0;
}

.benefit-icon {
  height: 103px;
  margin-bottom: 20px;
  display: block;
  object-fit: contain;
  object-position: bottom left;
  filter: brightness(0) invert(1);  /* Make icons white */
}

.benefit-card h3 {
  position: relative;
  color: var(--color-text-light);
  font-size: 20px;
  font-family: var(--font-primary);
  font-weight: 800;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.benefit-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 93px;
  height: 2px;
  background: var(--color-bg-light);
}

.benefit-card p {
  color: var(--color-text-light);
  font-size: 16px;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 21px;
}

/* Footer - home page specific height override */
.footer {
  height: 500px;
}

/* Carousel/Slider Section */
.carousel-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 385px;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  pointer-events: none;
}

.carousel-slide .carousel-image {
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.carousel-slide .carousel-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.carousel-slide.active .carousel-image {
  transform: scale(1);
}

.carousel-slide.active .carousel-content {
  opacity: 1;
  transform: translateY(0);
}

.carousel-image {
  width: 100%;
  height: 385px;
  object-fit: cover;
  object-position: center center;
  opacity: 0.7;
}

/* Slide 1 - Deduction Management */
.slide-1 .carousel-image {
  object-position: center 30%;
}

/* Slide 2 - Instant Collections */
.slide-2 .carousel-image {
  object-position: center center;
}

/* Slide 3 - Credit Academy */
.slide-3 .carousel-image {
  object-position: center 70%;
}

/* Slide 4 - Resale Certificate Tracker */
.slide-4 .carousel-image {
  object-position: left 0%;
  object-fit: cover;
}

/* Slide 5 - Credit App Plus */
.slide-5 .carousel-image {
  object-position: center 88%;
}

/* Slide 6 - Pulse Ratings */
.slide-6 .carousel-image {
  object-position: center 30%;
}

.slide-6 .carousel-overlay::before {
  background: linear-gradient(94deg, #124D7E 18.4%, #208CE4 43.11%, #6CC7E6 107.94%);
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 max(var(--space-36), calc((100% - var(--content-max)) / 2));
}

.carousel-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(94deg, #124D7E 48.4%, #208CE4 73.11%, #6CC7E6 107.94%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.carousel-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 1;
}

.carousel-content > h2 {
  flex: 1;
  max-width: 390px;
}

.carousel-content > div {
  flex: 1;
  max-width: 390px;
  padding: 20px 30px;
  box-sizing: border-box;
}

.carousel-content > a.btn {
  flex: 0 0 auto;
  width: auto;
}

.carousel-content > .btn-wrapper {
  flex: 1;
  max-width: 390px;
  padding: 20px 30px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 5px;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid white;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
  background: var(--color-bg-light);
}

/* Stat icons */
.stat-icon {
  width: 80px;
  height: 80px;
}

/* Stat numbers and labels */
.stat-number {
  color: var(--color-text-light);
  font-size: 55px;
  font-family: var(--font-primary);
  font-weight: 900;
  margin: 0;
}

.stat-label {
  color: var(--color-text-light);
  font-size: 20px;
  font-family: var(--font-primary);
  font-weight: 400;
  margin: 0;
}

/* Solution columns */
.solution-column h3 {
  color: var(--color-text-light);
  font-size: 20px;
  font-family: var(--font-primary);
  font-weight: 900;
  margin-bottom: 5px;
}

.solution-column p {
  color: var(--color-text-light);
  font-size: 16px;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 35px;
  margin-bottom: 20px;
}

/* Solutions intro */
.solutions-intro {
  color: var(--color-text-light);
  font-size: 20px;
  font-family: var(--font-primary);
  font-weight: 900;
  line-height: 35px;
  margin-bottom: 40px;
}

/* Benefit icon styles - individual widths only, height set in .benefit-icon */
.benefit-icon-1 {
  width: 103px;
}

.benefit-icon-2 {
  width: 122px;
}

.benefit-icon-3 {
  width: 88px;
}

/* CTA section text styles - Home page specific */
.cta-section h2 {
  margin: 0;
}

.cta-description {
  color: var(--color-text-light);
  font-size: 18px;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 35px;
  margin-bottom: 30px;
}

/* Tagline styles for hero */
.tagline {
  color: var(--color-text-light);
  font-size: 51.55px;
  font-family: var(--font-primary);
  font-weight: 800;
  line-height: 51.55px;
  margin: 0 0 10px 0;
}

.tools-tagline {
  color: var(--color-text-light);
  font-size: 45px;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 51.55px;
  margin: 0 0 27px 0;
}

/* ========================================
   TYPOGRAPHY (existing classes below)
   ======================================== */

/* Search our real time database of commercial credit reports, connect with industry peers, and access tools built specifically for credit professionals. */
.search-description {
  color: var(--color-text-light);
  font-size: 19px;
  font-family: var(--font-primary);
  font-weight: 700;
  word-wrap: break-word;
}

/* Find the information you need to make informed credit decisions. */
.hero-heading {
  color: var(--color-text-light);
  font-size: 36px;
  font-family: var(--font-primary);
  font-weight: 900;
  line-height: 47px;
  word-wrap: break-word;
}

/* RiemerPlus */
.riemer-plus {
  color: var(--color-text-light);
  font-size: 32px;
  font-family: var(--font-primary);
  font-weight: 900;
  line-height: 35px;
  word-wrap: break-word;
}

/* Membership */
.membership {
  color: var(--color-text-light);
  font-size: 32px;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 35px;
  word-wrap: break-word;
}

/* Pays for Itself */
.pays-for-itself {
  color: var(--color-primary);
  font-size: 32px;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 35px;
  word-wrap: break-word;
}

/* Our Business Partner Solutions */
.business-partner-solutions {
  color: var(--color-text-light);
  font-size: 32px;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 35px;
  word-wrap: break-word;
}

/* What You Get as a RiemerPlus Member */
.member-benefits-heading {
  color: var(--color-text-light);
  font-size: 32px;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 35px;
  word-wrap: break-word;
}

/* Search our database */
.search-database {
  color: var(--color-primary);
  font-size: 20px;
  font-family: var(--font-primary);
  font-weight: 900;
  word-wrap: break-word;
  background: transparent;
  border: none;
  outline: none;
  flex: 1;
  width: 100%;
}

.search-database::placeholder {
  color: var(--color-primary);
  font-weight: 900;
}

.search-database:focus,
.search-database:active {
  outline: none;
}
/* Testimonial quote */
.testimonial-quote {
  color: var(--color-primary);
  font-size: 30px;
  font-family: var(--font-primary);
  font-weight: 900;
  word-wrap: break-word;
}

/* Elena Smith */
.testimonial-author {
  color: var(--color-primary);
  font-size: 22px;
  font-family: var(--font-primary);
  font-weight: 900;
  word-wrap: break-word;
}

/* Credit Manager, Giant | Liv | Momentum | CADEX */
.testimonial-author-title {
  color: var(--color-primary);
  font-size: 22px;
  font-family: var(--font-primary);
  font-weight: 400;
  word-wrap: break-word;
}

/* Quote mark */
.quote-mark {
  color: var(--color-primary);
  font-size: 200px;
  font-family: 'League Spartan', sans-serif;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  margin-top: 100px;
}

/* Why Choose RiemerPlus as Your Finance Business Partner */
.why-choose-heading {
  color: var(--color-primary);
  font-size: 32px;
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 35px;
  word-wrap: break-word;
}

/* Actionable. Credit. Data. */
.tagline {
  color: var(--color-text-light);
  font-size: 51.55px;
  font-family: var(--font-primary);
  font-weight: 800;
  line-height: 51.55px;
  word-wrap: break-word;
}

/* Tools for credit professionals. */
.tools-tagline {
  color: var(--color-text-light);
  font-size: 45px;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 51.55px;
  margin: 0 0 27px 0;
  word-wrap: break-word;
}

/* Everything you need in one platform. */
.platform-tagline {
  color: var(--color-text-light);
  font-size: 20px;
  font-family: var(--font-primary);
  font-weight: 700;
  word-wrap: break-word;
}

/* Payment Deduction and Revenue Management */
.payment-deduction-heading {
  color: var(--color-text-light);
  font-size: 32px;
  font-family: var(--font-primary);
  font-weight: 900;
  line-height: 40px;
  max-width: 320px;
}

/* Recover lost revenue, improve margins and financial accuracy. */
.payment-deduction-description {
  color: var(--color-text-light);
  font-size: 16px;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 22px;
  word-wrap: break-word;
}

/* Explore Deduction Management */
.explore-deduction-cta {
  color: var(--color-text-light);
  font-size: 20px;
  font-family: var(--font-primary);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  padding: 12px 24px;
}

/* Deduction Management */
.deduction-management-large {
  color: var(--color-text-light);
  font-size: 45px;
  font-family: var(--font-primary);
  font-weight: 900;
  text-transform: capitalize;
  line-height: 56px;
  word-wrap: break-word;
}



/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Large tablets and small desktops */
@media (max-width: 1170px) {
  .header {
    padding: 20px 60px;
  }

  .hero-left {
    padding: 120px 32px 100px 60px;
  }

  .hero-right {
    padding: 120px 60px 80px 40px;
  }

  .search-box {
    width: 100%;
    max-width: 425px;
  }

  .section {
    padding: 60px 60px;
  }

  .stats-section {
    padding: 40px 60px;
  }

  .why-choose-section {
    padding: 60px 60px;
    gap: 60px;
  }

  .business-partner-section {
    padding: 60px 60px;
  }

  .business-partner-section::before {
    background-size: 80%;
  }

  .business-partner-solutions {
    font-size: 28px;
  }

  .solutions-intro {
    font-size: 18px;
    line-height: 30px;
  }

  .testimonial-section {
    padding: 60px 60px;
  }

  .testimonial-slide {
    gap: 40px;
  }

  .testimonial-quote-container {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
  }

  .quote-mark {
    font-size: 130px;
    margin-top: 80px;
  }

  .member-benefits-section {
    padding: 60px 60px;
  }

  .cta-section {
    padding: 60px 60px;
    gap: 60px;
  }

  .footer {
    padding: 60px 60px;
    gap: 40px;
  }

  .carousel-section {
    width: 100%;
  }

  .carousel-overlay {
    padding: 0 60px;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .header {
    padding: 15px 30px;
  }

  .nav {
    gap: 15px;
  }

  .nav-link {
    font-size: 14px;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-left {
    padding: 100px 30px 60px 30px;
    min-height: 400px;
  }

  .hero-right {
    padding: 60px 30px 80px 30px;
  }

  .search-box {
    width: 100%;
    max-width: 425px;
  }

  .tagline {
    font-size: 40px;
    line-height: 42px;
  }

  .tools-tagline {
    font-size: 32px;
    line-height: 38px;
  }

  .section {
    padding: 50px 30px;
  }

  .stats-section {
    padding: 40px 30px;
  }

  .stat-item {
    max-width: 100%;
  }

  .why-choose-section {
    padding: 50px 30px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .business-partner-section::before {
    background-size: 90%;
    transform: rotate(8deg) perspective(1000px) rotateX(8deg);
  }

  .business-partner-solutions {
    font-size: 26px;
  }

  .solutions-intro {
    font-size: 16px;
    line-height: 28px;
  }

  .solution-column h3 {
    font-size: 18px;
  }

  .solution-column p {
    font-size: 14px;
    line-height: 28px;
  }

  .testimonial-section {
    padding: 50px 30px;
  }

  .testimonial-slides {
    height: 280px;
  }

  .testimonial-slide {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .testimonial-quote-container {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  .quote-mark {
    font-size: 80px;
    margin-top: 50px;
  }

  .testimonial-quote {
    font-size: 22px;
    line-height: 30px;
  }

  .testimonial-author,
  .testimonial-author-title {
    font-size: 14px;
  }

  .testimonial-content {
    text-align: center;
  }

  .testimonial-dots {
    justify-content: center;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-left: 60px;  /* 60px indent on tablet */
  }

  .cta-section {
    flex-direction: column;
    padding: 50px 30px;
    gap: 40px;
  }

  .footer {
    flex-wrap: wrap;
    padding: 50px 30px;
  }

  .footer-column {
    flex: 1 1 45%;
  }

  .carousel-overlay {
    padding: 0 30px;
  }

  .carousel-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    align-items: center;
  }

  .carousel-content > h2,
  .carousel-content > div,
  .carousel-content > .btn-wrapper {
    max-width: 100%;
    padding: 10px 0;
    text-align: center;
  }

  .carousel-content h2,
  .carousel-content h3,
  .carousel-content p {
    text-align: center;
  }

  /* Stats section - stack on tablet */
  .stats-section {
    height: auto;
    padding: 50px 30px;
  }

  .stats-section .grid-content {
    flex-direction: column;
    gap: 40px;
  }

  .stat-item {
    justify-content: center;
  }
}


/* Mobile devices */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }

  .logo {
    width: 180px;
    height: auto;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav-link {
    font-size: 13px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .hero-left {
    padding: 60px 20px 40px 20px;
    min-height: 300px;
  }

  .hero-right {
    padding: 40px 20px 60px 20px;
  }

  .tagline {
    font-size: 36px;
    line-height: 40px;
  }

  .tools-tagline {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 20px;
  }

  .platform-tagline {
    font-size: 16px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 34px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 20px;
  }

  .search-box {
    padding: 15px 20px;
  }

  .section {
    padding: 40px 20px;
  }

  .stats-section {
    height: auto;
    padding: 40px 20px;
  }

  .stats-section .grid-content {
    flex-direction: column;
    gap: 30px;
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .stat-item-text {
    align-items: center;
  }

  .stat-line {
    width: 60px !important;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 16px;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
  }

  /* Why Choose section mobile */
  .why-choose-section {
    padding: 40px 20px;
  }

  .business-partner-section {
    padding: 40px 20px;
  }

  .business-partner-section::before {
    background-size: 100%;
    transform: rotate(5deg) perspective(1000px) rotateX(5deg);
  }

  .business-partner-solutions {
    font-size: 24px;
    line-height: 30px;
  }

  .solutions-intro {
    font-size: 15px;
    line-height: 26px;
  }

  .solution-column h3 {
    font-size: 17px;
  }

  .solution-column p {
    font-size: 13px;
    line-height: 24px;
    margin-bottom: 15px;
  }

  .testimonial-section {
    padding: 40px 20px;
  }

  .testimonial-slides {
    height: 260px;
  }

  .testimonial-slide {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .testimonial-quote-container {
    width: 70px;
    height: 70px;
  }

  .quote-mark {
    font-size: 70px;
    margin-top: 44px;
  }

  .testimonial-quote {
    font-size: 20px;
    line-height: 28px;
  }

  .testimonial-author,
  .testimonial-author-title {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .testimonial-dots {
    margin-top: 15px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-left: 0;  /* Remove indent on mobile */
  }

  .member-benefits-section {
    padding: 40px 20px;
  }

  .cta-section {
    padding: 40px 20px;
    gap: 30px;
  }

  .footer {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .footer-column {
    flex: 1 1 100%;
  }

  .carousel-overlay {
    padding: 30px 20px;
  }

  .carousel-content {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .carousel-content h2,
  .carousel-content h3,
  .carousel-content p,
  .carousel-content div {
    text-align: center;
  }

  /* Trade Data Section mobile */
  .trade-data-section {
    height: auto;
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px;
    text-align: center;
  }

  .trade-data-icon {
    width: 100px;
    height: 97px;
  }

  .trade-data-number {
    font-size: 72px;
  }

  .trade-data-label {
    font-size: 28px;
  }

  .carousel-content > h2,
  .carousel-content > div,
  .carousel-content > .btn-wrapper {
    max-width: 100%;
  }

  .payment-deduction-heading {
    font-size: 15px;
    line-height: 20px;
    max-width: none;
    text-align: center;
  }

  .payment-deduction-description {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }

  .explore-deduction-cta {
    font-size: 14px;
    padding: 12px 24px;
  }

  /* CTA section mobile centering */
  .cta-section .grid-content {
    flex-direction: column;
    align-items: center;
  }

  .cta-section .col-2.cta-left,
  .cta-section .col-2.cta-right {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .cta-section .col-2.cta-left h2 {
    text-align: center;
  }

  .cta-section .col-2.cta-right {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-description {
    font-size: 16px;
    line-height: 26px;
    text-align: center;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .header {
    padding: 10px 15px;
  }

  .logo {
    width: 150px;
  }

  .nav {
    gap: 8px;
  }

  .nav-link {
    font-size: 12px;
  }

  .btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .hero-left {
    padding: 40px 15px 30px 15px;
    min-height: 250px;
  }

  .hero-right {
    padding: 30px 15px 40px 15px;
  }

  .tagline {
    font-size: 26px;
    line-height: 30px;
  }

  .tools-tagline {
    font-size: 20px;
    line-height: 26px;
  }

  .platform-tagline {
    font-size: 14px;
  }

  .hero-title {
    font-size: 22px;
    line-height: 28px;
  }

  .hero-description {
    font-size: 13px;
    line-height: 18px;
  }

  .search-box {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .search-btn {
    width: 100%;
    height: 40px;
    border-radius: 8px;
  }

  .section {
    padding: 30px 15px;
  }

  .stats-section {
    padding: 30px 15px;
  }

  .stat-item {
    gap: 12px;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 13px;
  }

  .stat-line {
    width: 50px !important;
  }

  .why-choose-section,
  .business-partner-section,
  .testimonial-section,
  .member-benefits-section,
  .cta-section {
    padding: 30px 15px;
  }

  .why-choose-heading {
    font-size: 22px;
    line-height: 28px;
  }

  .why-choose-right p {
    font-size: 14px;
    line-height: 22px;
  }

  .business-partner-section::before {
    background-size: 120%;
    transform: rotate(5deg) perspective(1000px) rotateX(5deg);
  }

  .business-partner-solutions {
    font-size: 20px;
    line-height: 26px;
  }

  .solutions-intro {
    font-size: 14px;
    line-height: 22px;
  }

  .solution-column h3 {
    font-size: 16px;
  }

  .solution-column p {
    font-size: 12px;
    line-height: 20px;
  }

  .testimonial-slides {
    height: 320px;
  }

  .testimonial-slide {
    gap: 10px;
  }

  .testimonial-quote-container {
    width: 60px;
    height: 60px;
  }

  .quote-mark {
    font-size: 60px;
    margin-top: 38px;
  }

  .testimonial-quote {
    font-size: 18px;
    line-height: 24px;
  }

  .testimonial-author,
  .testimonial-author-title {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .testimonial-dots {
    margin-top: 10px;
  }

  .footer {
    padding: 30px 15px;
  }

  /* Trade Data Section small mobile */
  .trade-data-section {
    padding: 30px 15px;
    gap: 15px;
  }

  .trade-data-icon {
    width: 80px;
    height: 78px;
  }

  .trade-data-number {
    font-size: 56px;
  }

  .trade-data-label {
    font-size: 22px;
  }

  .carousel-overlay {
    padding: 20px 15px;
  }

  .carousel-content {
    gap: 12px;
  }

  .carousel-content h2,
  .carousel-content h3,
  .carousel-content p,
  .carousel-content div {
    text-align: center;
  }

  .payment-deduction-heading {
    font-size: 13px;
    line-height: 18px;
    max-width: none;
    text-align: center;
  }

  .payment-deduction-description {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
  }

  .explore-deduction-cta {
    font-size: 12px;
    padding: 10px 18px;
  }

  /* CTA section small mobile centering */
  .cta-section .grid-content {
    flex-direction: column;
    align-items: center;
  }

  .cta-section .col-2.cta-left,
  .cta-section .col-2.cta-right {
    text-align: center;
    align-items: center;
  }

  .cta-section .col-2.cta-right {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-description {
    font-size: 14px;
    line-height: 22px;
    text-align: center;
  }

  .benefits-grid {
    gap: 20px;
  }

  .benefit-item {
    padding: 20px 15px;
  }
}
