* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Rubik', sans-serif;
}

body {
  background-color: #fcfcfc;
  color: #222;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  direction: rtl;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .logo {
  height: 40px;
  width: auto;
  display: block;
}

.sub-brand {
  font-size: 13px;
  line-height: 1.2;
  color: #334155;
  font-weight: 600;
  border-right: 2px solid #e2e8f0;
  padding-right: 12px;
}

.sub-brand small {
  font-size: 11px;
  color: #64748b;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease-in-out;
}

.nav-links a:hover {
  color: #2563eb;
}

/* Hero Section Container */
.hero-section {
  width: 100%;
  background-color: #f7fcfb; /* Soft light background matching design */
  padding: 60px 20px;
  box-sizing: border-box;
  overflow: hidden; /* Prevents overflow clipping */
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  direction: rtl; /* Sets right-to-left layout */
}

/* Right Content Column (Text & CTA) */
.hero-content {
  flex: 1;
  text-align: right;
  min-width: 0;
  order: 1; /* First element in RTL (Right Side) */
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: #111111;
  line-height: 1.15;
  margin-bottom: 24px;
}

/* Bullet Points Container */
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: right; /* Ensures list aligns to the right */
}

.hero-bullets li {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Keeps check icon & text starting from the right */
  flex-direction: row; /* Preserves standard icon + text order */
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.1rem;
  color: #333333;
  direction: rtl; /* Enforces right-to-left layout */
}
.check-icon {
  width: 22px;
  height: 22px;
  background-color: #1eb992;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  flex-shrink: 0;
}

/* Main CTA Button */
.hero-btn {
  display: inline-block;
  background-color: #1eb992;
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(30, 185, 146, 0.3);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-btn:hover {
  background-color: #169e7c;
  transform: translateY(-2px);
}

/* Left Image Wrapper & Dots (Cash Register Animation) */
/* Ensure relative positioning for accurate absolute placement */
.hero-image-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  order: 2; /* Left side in RTL */
}

/* Position dots at the absolute left edge */
.dot-pattern {
  position: absolute;
  left: 0; /* Align directly to the far left edge */
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 140px;
  background-image: radial-gradient(#d1f3eb 20%, transparent 20%);
  background-size: 16px 16px;
  z-index: 1;
}

.hero-image,
.hero-lottie {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* Responsive Layout */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column; /* Places Cash Register animation on top, text below on mobile */
    text-align: center;
    gap: 30px;
  }

  .hero-image-wrapper {
    order: 1;
    width: 100%;
  }

  .hero-content {
    order: 2;
    text-align: center;
    width: 100%;
  }

  .hero-bullets li {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .dot-pattern {
    display: none; /* Hide background decorative dots on small mobile */
  }
}

/* Features Section */
.features-section {
  background-color: #5ce1b6;
  padding: 60px 40px;
  text-align: center;
}

.features-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #000;
}

/* Features Grid Layout */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual Feature Item */
.feature-item {
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.feature-item .icon {
      color: #1eb992;
    font-weight: bold;
    border-radius: 10px;
    width: 20px;
    background: white;
}

/* Mobile Responsiveness Rules */
@media (max-width: 768px) {
  .features-grid {
    gap: 8px;
  }

  .feature-item {
    flex: 1 1 calc(33.333% - 8px);
    min-width: calc(33.333% - 8px); 
    padding: 8px 10px;
    font-size: 0.82rem;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .feature-item {
    flex: 1 1 calc(50% - 8px);
    min-width: calc(50% - 8px);
    font-size: 0.85rem;
  }
}

/* Amount Selector Section */
.amount-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #ffffff;
}

.amount-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111;
}

.circles-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 16px auto;
}

.amount-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background-color: #e6f9f3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease;
}

.amount-circle:hover {
  transform: translateY(-4px);
}

.circle-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.amount-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
}

.red-note {
  color: #e53e3e;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.cta-wrapper {
  margin-bottom: 30px;
}

.primary-btn {
  display: inline-block;
  background-color: #1eb992;
  color: white;
  padding: 18px 50px;
  border-radius: 40px;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(30, 185, 146, 0.3);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.primary-btn:hover {
  background-color: #169e7c;
  transform: scale(1.02);
}

.contact-subtext {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}
.benefits-section {
  width: 100%;
  background-color: #1eb992;
  padding: 60px 20px;
  direction: rtl;
}

.benefits-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Card Wrapper & 3D Setup */
.benefit-card-wrapper {
  flex: 1;
  min-width: 280px;
  max-width: 340px;
  height: 280px;
  perspective: 1000px;
  cursor: pointer;
}

.benefit-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

/* Flip Class (Triggered via JS or Hover) */
.benefit-card-wrapper.flipped .benefit-card-inner {
  transform: rotateY(180deg);
}

/* Base Card Sides */
.benefit-card-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  padding: 24px 20px;
  backface-visibility: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Front Side */
.benefit-card-front {
  background-color: #1eb992;
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000000;
}

.shield-icon {
  
  color: #fff;
  width: 56px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  clip-path: polygon(50% 0%, 100% 18%, 100% 62%, 50% 100%, 0% 62%, 0% 18%);
}

.benefit-card-front h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.2;
}

.benefit-card-front p {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.click-hint {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: underline;
}

/* Back Side */
.benefit-card-back {
  background-color: #ffffff;
  color: #222222;
  transform: rotateY(180deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-align: right;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
}

.benefit-card-back p {
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 8px;
}

.benefit-card-back p:last-child {
  margin-bottom: 0;
}

.benefit-card-back strong {
  color: #1eb992;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .benefit-card-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
    height: 260px;
  }
}
.click-hint {
  font-size: 0.8rem;
  opacity: 0.8;
  text-decoration: underline;
  margin-top: auto;
  align-self: center;
}

.benefit-card-back .click-hint {
  color: #1eb992;
}

/* Calculator Section */
.calculator-section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: #111;
}

.calc-box {
  max-width: 550px;
  margin: 0 auto;
  background-color: #f7fcfb;
  border: 1px solid #d1f3eb;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.calc-value {
  color: #1eb992;
  font-size: 1.6rem;
}

.calc-slider {
  width: 100%;
  accent-color: #1eb992;
  cursor: pointer;
  margin-bottom: 8px;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 24px;
}

.calc-summary {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.calc-summary strong {
  color: #1eb992;
}

.calc-btn {
  width: 100%;
  box-sizing: border-box;
}

/* How It Works Section */
.how-it-works-section {
  padding: 60px 20px;
  background-color: #f7fcfb;
  text-align: center;
}

.steps-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 260px;
  background-color: #ffffff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  background-color: #1eb992;
  color: white;
  font-weight: 800;
  font-size: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Verifone Section */
.verifone-section {
  padding: 50px 20px;
  background-color: #1eb992;
  color: #ffffff;
}

.verifone-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.verifone-content {
  flex: 1;
  min-width: 280px;
  text-align: right;
}

.verifone-content h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.verifone-content p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

.verifone-badge {
  background-color: #ffffff;
  color: #1eb992;
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* About Section */
.about-section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

/* Footer */
.loani-footer {
  background-color: #111111;
  color: #ffffff;
  padding: 40px 20px 20px 20px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid #333;
  padding-bottom: 30px;
}

.footer-brand h3 {
  font-size: 1.6rem;
  color: #1eb992;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #aaa;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #1eb992;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #777;
}

@media (max-width: 768px) {
  .verifone-container {
    text-align: center;
    justify-content: center;
  }

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

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .navbar {
    padding: 12px 16px;
  }
  
  .sub-brand {
    font-size: 11px;
  }
  
  .nav-links {
    gap: 12px;
  }
  
  .nav-links a {
    font-size: 13px;
  }
}


/* Verifone Section */
.verifone-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.verifone-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 60px;
}

/* Content Left (RTL Flow) */
.verifone-content {
  flex: 1;
  text-align: right;
}

.verifone-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

.verifone-content .subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 32px;
}

.instructions-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.steps-list {
  list-style-type: disc;
  padding-right: 20px;
  margin-bottom: 20px;
}

.steps-list li {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.5;
}

.video-link-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.video-link {
  color: #111;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.video-link:hover {
  color: #1eb992;
}
/* Section Container */
.process-section {
  background-color: #e6f9f3;
  padding: 60px 20px;
  text-align: center;
  direction: rtl;
  font-family: 'Rubik', system-ui, -apple-system, sans-serif;
}

/* Section Title */
.process-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 40px;
}

/* White Box Container */
.process-card-container {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 50px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Steps Row Flexbox */
.process-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Step Card Outer Box */
.step-box {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

/* Offset Light Green Background Behind Card */
.step-card-bg {
  background-color: #72e8b8;
  border-radius: 16px;
  padding-bottom: 8px;
  padding-left: 8px;
  display: inline-block;
  width: 100%;
}

/* Dark Teal Main Card */
.step-card {
  background-color: #10363d;
  border-radius: 14px;
  padding: 45px 16px 25px 16px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Light Green Circular Top Badge */
.step-icon-badge {
  position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 114px;
    height: 77px;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
}

.step-icon-badge svg {
  width: 24px;
  height: 24px;
  fill: #10363d;
}

.currency-symbol {
  font-size: 1.4rem;
  font-weight: 800;
  color: #10363d;
}

/* Step Text inside Card (Light Greenish Tint) */
.step-text {
  color: #7cdbbf;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  margin: 0;
}

/* Left Arrow Dividers Between Cards */
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-arrow svg {
  width: 22px;
  height: 22px;
  fill: #10363d;
}

/* Bottom CTA Button */
.process-cta-wrapper {
  margin-top: 30px;
}

.process-cta-btn {
  display: inline-block;
  background-color: #1eb992;
  color: #10363d;
  font-size: 1.4rem;
  font-weight: 800;
  padding: 16px 48px;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(30, 185, 146, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.process-cta-btn:hover {
  background-color: #169e7c;
  transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .process-steps {
    flex-direction: column;
    gap: 30px;
  }

  .step-arrow svg {
    transform: rotate(-90deg); /* Points downward on mobile */
  }

  .step-card {
    height: auto;
    min-height: 140px;
  }

  .process-card-container {
    padding: 40px 16px;
  }
}


/* About Section */
.about-section {
  padding: 80px 20px 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.about-section h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
}

.about-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1eb992;
  margin-bottom: 30px;
}

.about-text-content {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.about-text-content .highlight-text {
  font-weight: 800;
  color: #111;
  margin-top: 10px;
}

.about-link-wrapper {
  margin-bottom: 40px;
}

.about-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.about-link:hover {
  color: #1eb992;
}

.partner-logo img {
  max-width: 280px;
  height: auto;
}
