html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif !important;
}

main {
  overflow-x: hidden;
}

.pre-header {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6739b7;
}

.hero-title {
  font-family: "Caveat", cursive;
  font-size: 3rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.2;
}

.hero-desc {
  font-size: 0.9rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
}

/* CTA Wrapper */
.cta-wrapper {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* CTA Buttons */
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.45rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Primary CTA */
.cta-primary {
  background-color: #6739b7;
  border: 1px solid #6739b7;
  color: #fff !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-primary:hover {
  background-color: #502c8e;
  transform: translateY(-2px);
}

/* Secondary CTA */
.cta-secondary {
  background-color: #f9f8fa;
  border: 1px solid #9418ed26;
  color: #6739b7;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.cta-secondary:hover {
  background-color: #e4c4ff76;
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  #hero-section {
    padding: 3.5rem 0;
  }

  .hero-title {
    font-size: 2.25rem;
    text-align: center;
  }

  .hero-desc {
    font-size: 1rem;
    max-width: 90%;
    text-align: center;
  }

  .cta-wrapper {
    justify-content: center;
  }

  .hero-img {
    max-width: 80%;
    margin-top: 2rem;
  }
}
@media (max-width: 767.98px) {
  #hero-section {
    padding: 2.5rem 0;
  }

  .hero-title {
    font-size: 1.9rem;
    text-align: center;
  }

  .hero-desc {
    font-size: 0.95rem;
    padding: 0 1rem;
    text-align: center;
  }

  .cta-wrapper {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  /* ✅ MOBILE IMAGE FIX */
  .hero-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto 0;
    display: block;
  }
}
@media (max-width: 480px) {
  #hero-section {
    padding-top: 2rem;
  }

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

  .hero-desc {
    font-size: 0.9rem;
    max-width: 95%;
    text-align: justify;
  }

  .cta-primary,
  .cta-secondary {
    font-size: 0.85rem;
    padding: 0.55rem 0.9rem;
  }
}

/* Trust Bar Logos */
.trust-logo {
  font-size: 1.25rem; /* xl */
  font-weight: 700;
  color: #9ca3af; /* gray-400 */
  filter: grayscale(100%);
  transition: all 0.3s ease;
  cursor: default;
}
.trust-logo:hover {
  filter: grayscale(0%);
}

/* Section Background */
#stats-section {
  background-color: #f8edff; /* light green */
  padding: 50px;
  border-top-left-radius: 150px;
  border-top-right-radius: 150px;
}

/* Section Title */
.stats-title {
  font-size: 3rem; /* approx Tailwind text-3xl */
  font-family: "Caveat", cursive;
  font-weight: 800; /* font-extrabold */
  color: #1f2937; /* gray-900 */
}

/* Section Subtitle */
.stats-subtitle {
  font-size: 1.125rem; /* approx Tailwind text-lg */
  color: #4b5563; /* gray-600 */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Stat Card */
.stat-card {
  background-color: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem; /* rounded-2xl */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
  background-color: #6739b7;
}
.stat-card:hover .stat-value {
  color: white !important;
}

.stat-card:hover .stat-text {
  color: rgb(0, 0, 0) !important;
}
.stat-value {
  font-size: 2.5rem;
  font-family: "Caveat", cursive;
  font-weight: 800;
  color: #6739b7;
}
.stat-text {
  color: #374151;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  #stats-section {
    padding: 3rem 1.5rem;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
  }

  .stats-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .stats-subtitle {
    font-size: 1rem;
    max-width: 90%;
    text-align: center;
    margin: 0 auto 2rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-value {
    font-size: 2.1rem;
  }

  .stat-text {
    font-size: 0.95rem;
  }
}
@media (max-width: 767.98px) {
  #stats-section {
    padding: 2.5rem 1rem;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
  }

  .stats-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .stats-subtitle {
    font-size: 0.95rem;
    max-width: 95%;
    margin-bottom: 1.75rem;
  }

  .stat-card {
    padding: 1.25rem;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  .stat-text {
    font-size: 0.9rem;
  }

  .row > [class*="col-"] {
    margin-bottom: 1rem;
  }
}
@media (max-width: 480px) {
  #stats-section {
    padding: 2rem 0.75rem;
  }

  .stats-title {
    font-size: 1.5rem;
  }

  .stats-subtitle {
    font-size: 0.9rem;
  }

  .stat-value {
    font-size: 1.6rem;
  }

  .stat-text {
    font-size: 0.85rem;
  }

  .stat-card {
    padding: 1rem;
  }
}
@media (hover: none) {
  .stat-card:hover {
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-color: #fff;
  }
}

html {
  scroll-behavior: smooth;
}

/* Section Header */
#integrations-section h2 {
  font-size: 3rem;
  font-family: "Caveat", cursive;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1rem;
  max-width: 800px;
  margin: auto;
}

#integrations-section p {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* Links */
#integrations-section a {
  color: #6739b7;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}

#integrations-section a:hover {
  color: #6739b7;
}

#integrations-section a svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
}

/* Tablets (≤ 991px) */
@media (max-width: 991.98px) {
  #integrations-section h2 {
    font-size: 1.75rem;
  }
  #integrations-section p {
    font-size: 1rem;
    max-width: 90%;
  }
}

/* Mobile (≤ 767px) */
@media (max-width: 767.98px) {
  #integrations-section h2 {
    font-size: 1.5rem;
  }
  #integrations-section p {
    font-size: 0.95rem;
    max-width: 95%;
  }
}

/* Small phones (≤ 480px) */
@media (max-width: 480px) {
  #integrations-section h2 {
    font-size: 1.35rem;
  }
  #integrations-section p {
    font-size: 0.85rem;
    max-width: 100%;
  }
}

/* Section Title */
#sync-feature-section .section-title {
  font-size: 2.8rem;
  font-family: "Caveat", cursive;
  font-weight: 800;
  color: #1f2937;
}

#sync-feature-section .section-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: #4b5563;
}

/* Paragraphs */
#sync-feature-section p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Button */
#sync-feature-section .sync-btn {
  background-color: #6739b7;
  border-color: #6739b7;
  color: #fff;
  transition: all 0.3s ease;
  border-radius: 10px;
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}

#sync-feature-section .sync-btn:hover {
  transform: scale(1.03);
  background-color: #502c8e;
  border-color: #502c8e;
}

/* Right Image */
#sync-feature-section .sync-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  margin: 0 auto 1rem auto;
}

/* Responsive Styles */

/* Tablet Devices (≤ 991px) */
@media (max-width: 991.98px) {
  #sync-feature-section .section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  #sync-feature-section .section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  #sync-feature-section .sync-btn {
    width: 80%;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
  }

  #sync-feature-section .sync-image {
    max-width: 90%;
    border-radius: 15px;
  }
}

/* Mobile Devices (≤ 767px) */
@media (max-width: 767.98px) {
  #sync-feature-section .section-title {
    font-size: 1.6rem;
  }

  #sync-feature-section .section-subtitle {
    font-size: 1rem;
  }

  #sync-feature-section p {
    font-size: 0.9rem;
  }

  #sync-feature-section .sync-btn {
    width: 70%;
    font-size: 0.9rem;
    padding: 0.55rem 0.9rem;
  }

  #sync-feature-section .sync-image {
    max-width: 80%;
    border-radius: 12px;
  }
}

/* Extra Small Devices / Small Phones (≤ 480px) */
@media (max-width: 480px) {
  #sync-feature-section .section-title {
    font-size: 1.4rem;
  }

  #sync-feature-section .section-subtitle {
    font-size: 0.95rem;
    text-align: left;
  }

  #sync-feature-section p {
    font-size: 0.85rem;
  }

  #sync-feature-section .sync-btn {
    width: 50%;
    font-size: 0.85rem;
  }

  #sync-feature-section .sync-image {
    max-width: 75%;
    border-radius: 10px;
  }
}

/* Section Titles */
#automation-integrations-section .ai-section-title {
  font-size: 3rem;
  font-family: "Caveat", cursive;
  font-weight: 800;
  color: #1f2937;
}

#automation-integrations-section .ai-section-title .ai-text-orange {
  color: #6739b7;
}

#automation-integrations-section .ai-section-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4b5563;
}

/* Feature Text */
#automation-integrations-section .ai-feature-title {
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

#automation-integrations-section .ai-feature-desc {
  font-size: 1rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.6;
}

/* CTA Button */
#automation-integrations-section .ai-btn {
  background-color: #6739b7;
  border-color: #6739b7;
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  display: inline-block;
}

#automation-integrations-section .ai-btn:hover {
  background-color: #582f9f;
  transform: scale(1.03);
}

/* Image */
#automation-integrations-section .ai-img {
  max-width: 100%;
  border-radius: 1rem;
}

/* Responsive Media Queries */

/* Tablets (≤ 991px) */
@media (max-width: 991.98px) {
  #automation-integrations-section .ai-section-title {
    font-size: 2rem;
    text-align: center;
  }

  #automation-integrations-section .ai-section-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  #automation-integrations-section .ai-feature-title,
  #automation-integrations-section .ai-feature-desc {
    font-size: 0.95rem;
    text-align: left;
  }

  #automation-integrations-section .ai-btn {
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
  }

  #automation-integrations-section .ai-img {
    max-width: 85%;
    margin: 0 auto;
  }

  #automation-integrations-section .col-md-7,
  #automation-integrations-section .col-md-5 {
    text-align: center !important;
  }
}

/* Mobile Devices (≤ 767px) */
@media (max-width: 767.98px) {
  #automation-integrations-section .ai-section-title {
    font-size: 1.6rem;
  }

  #automation-integrations-section .ai-section-subtitle {
    font-size: 0.95rem;
  }

  #automation-integrations-section .ai-feature-title {
    font-size: 0.95rem;
  }

  #automation-integrations-section .ai-feature-desc {
    font-size: 0.9rem;
  }

  #automation-integrations-section .ai-btn {
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
  }

  #automation-integrations-section .ai-img {
    max-width: 75%;
    margin: 0 auto;
  }

  #automation-integrations-section .col-md-7,
  #automation-integrations-section .col-md-5 {
    text-align: center !important;
  }
}

/* Small Phones (≤ 480px) */
@media (max-width: 480px) {
  #automation-integrations-section .ai-section-title {
    font-size: 1.4rem;
  }

  #automation-integrations-section .ai-section-subtitle {
    font-size: 0.9rem;
  }

  #automation-integrations-section .ai-feature-title {
    font-size: 0.9rem;
  }

  #automation-integrations-section .ai-feature-desc {
    font-size: 0.85rem;
  }

  #automation-integrations-section .ai-btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
    max-width: 50%;
  }

  #automation-integrations-section .ai-img {
    max-width: 70%;
  }
}

/* Section Header */
#challenges-section {
  background-color: #bb95fd54;
  border-bottom-left-radius: 150px;
  border-bottom-right-radius: 150px;
  box-shadow: 0px 10px 10px #6740a997;
}
#challenges-section .section-title {
  font-size: 3rem;
  font-family: "Caveat", cursive;
  font-weight: 800;
  color: #1f2937;
}

#challenges-section .section-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
}

/* Challenge Cards */
.challenge-card {
  border-width: 2px;
  transition: all 0.3s ease;
}

/* Hover shadow effect */
.challenge-card.hover-shadow:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Icon circle */
.icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  font-size: 1.25rem;
  background-color: #fcf6ff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.387);
}

/* Individual colors for each card */
.challenge-card1,
.challenge-card2,
.challenge-card3 {
  border-radius: 30px; /* blue */
  background-color: #bb95fd54;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Challenge text */
.challenge-text {
  font-size: 1.1rem;
  color: #111827;
}
@media (max-width: 767.98px) {
  #challenges-section {
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    padding: 2.5rem 1rem;
  }

  #challenges-section .section-title {
    font-size: 1.8rem;
  }

  #challenges-section .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .challenge-card1,
  .challenge-card2,
  .challenge-card3 {
    width: 100%;
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1rem;
    align-items: center;
  }

  .icon-circle {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .challenge-text {
    font-size: 0.95rem;
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  #challenges-section {
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    padding: 2.5rem 1rem;
  }

  #challenges-section .section-title {
    font-size: 1.8rem;
  }

  #challenges-section .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .challenge-card1,
  .challenge-card2,
  .challenge-card3 {
    width: 100%;
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1rem;
    align-items: center;
  }

  .icon-circle {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .challenge-text {
    font-size: 0.95rem;
    text-align: center;
  }
}
@media (max-width: 480px) {
  #challenges-section {
    padding: 2rem 0.75rem;
  }

  #challenges-section .section-title {
    font-size: 1.6rem;
  }

  #challenges-section .section-subtitle {
    font-size: 0.9rem;
    text-align: center !important;
  }

  .icon-circle {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 0.9rem;
  }

  .challenge-text {
    font-size: 0.9rem;
  }
}

.faq-section {
  font-family: "Poppins", sans-serif;
}

.faq-item {
  background: #7d4ecf;
  background: linear-gradient(90deg, #6739b7 0%, #0f0f43 94.63%);
  /* background: linear-gradient(90deg, rgba(125, 78, 207, 1) 45%, rgba(72, 38, 128, 1) 69%, rgba(45, 3, 112, 1) 100%, rgba(34, 18, 61, 1) 100%); */
  border-radius: 14px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.3s ease-in-out;
}

.faq-question {
  width: 100%;
  padding: 0px 0px 0px 30px;
  background: transparent;
  border: none;
  color: white;
  text-align: left;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none !important;
}

.faq-answer {
  background: #ffffff;
  color: #333;
  padding: 18px 22px;
  font-size: 15px;
}

.iconcircle {
  width: 56px;
  height: 56px;
  background: #ffffff;
  border-top-left-radius: 90%;
  border-bottom-left-radius: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.iconcircle i::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-size: 16px;
  color: #4c1c9c;
  transition: content 0.3s ease-in-out;
}

.iconcircle i::before {
  content: "\f067";
}

.faq-question[aria-expanded="true"] .iconcircle i::before {
  content: "\f068";
}
@media (max-width: 576px) {
  /* Reduce padding & improve spacing */
  .faq-question {
    font-size: 15px;
    padding: 10px 0px 10px 20px;
  }

  /* Reduce white icon box size */
  .iconcircle {
    width: 42px;
    height: 42px;
    border-top-left-radius: 80%;
    border-bottom-left-radius: 25%;
  }

  .iconcircle i::before {
    font-size: 14px;
  }

  /* Answer text adjustments */
  .faq-answer {
    font-size: 14px;
    padding: 14px 16px;
  }

  /* Make items take full width properly */
  .faq-item {
    border-radius: 12px;
    margin-bottom: 15px;
  }

  /* Center heading properly with smaller font */
  .Process-header h2 {
    font-size: 22px;
  }

  .Process-header p {
    font-size: 14px;
  }
}

/* MAIN CARD */
#final-cta-section {
  border-radius: 40px;
  border: 2px solid #6739b786;
  overflow: hidden;
  position: relative;
  padding: 0;
}

/* CONTENT ON LEFT */
.content-overlay {
  position: relative;
  z-index: 2;
  padding: 4rem 3rem;
}

/* IMAGE WRAPPER FULL HEIGHT */
.image-wrapper {
  position: relative;
  height: 100%;
  padding: 0;
}

/* MAKE IMAGE COVER THE ENTIRE RIGHT SIDE */
.gradient-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* WHITE → TRANSPARENT GRADIENT OVER IMAGE (LEFT SIDE) */
.image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}
.cta-heading {
  font-size: 3rem;
  font-family: "Caveat", cursive;
  font-weight: 800;
}
/* BUTTON STYLE */
.btn-purple {
  background-color: #6739b7;
  color: #fff;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-purple:hover {
  background-color: #542a9b;
  transform: scale(1.06);
  color: #fff;
}

@media (max-width: 991px) {
  /* Reduce padding of left content */
  .content-overlay {
    padding: 3rem 2rem;
    text-align: center;
  }

  /* Make heading slightly smaller */
  .cta-heading {
    font-size: 2.5rem;
  }

  /* Reduce image height for tablets */
  .gradient-img {
    height: 250px;
  }

  /* Make gradient smaller on tablets */
  .image-wrapper::before {
    width: 50%;
  }
}

@media (max-width: 767px) {
  /* Stack columns (default bootstrap) */
  .content-overlay {
    padding: 2.5rem 1.5rem;
    text-align: center;
  }

  /* Smaller heading */
  .cta-heading {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  /* Button adjustments */
  .btn-purple {
    padding: 10px 18px;
    font-size: 0.95rem;
  }

  /* Image takes full width */
  .gradient-img {
    height: 220px;
    object-fit: cover;
  }

  /* Reduce gradient width further */
  .image-wrapper::before {
    width: 70%;
    background: linear-gradient(
      to right,
      white 50%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

@media (max-width: 480px) {
  .cta-heading {
    font-size: 1.7rem;
  }

  .content-overlay {
    padding: 2rem 1rem;
  }

  .gradient-img {
    height: 180px;
  }

  .btn-purple {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  .image-wrapper::before {
    width: 80%;
  }
}

.rounded-top-custom {
  border-top-left-radius: 50% 100px;
  border-top-right-radius: 50% 100px;
}

.btn-white {
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 20px;
  font-weight: 700;
  background-color: white;
  color: #6739b7;
  text-decoration: none;
  cursor: pointer;
}

.btn-white:hover {
  text-decoration: none;
  color: #562d9d;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}
.btn-finance {
  border: 2px solid white;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 20px;
  font-weight: 700;
  background-color: transparent;
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.btn-finance:hover {
  background-color: white;
  text-decoration: none;
  color: #6739b7; /* Bootstrap blue shade */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}
/* Tablet & Smaller Laptops (<= 991px) */
@media (max-width: 991px) {
  .text-para p:first-child {
    font-size: 24px !important;
  }
  .text-para p:last-child {
    font-size: 2.5rem !important;
  }
  .btn-white,
  .btn-finance {
    font-size: 18px;
    padding: 12px 24px;
  }
}

/* Mobile Landscape & Small Tablets (<= 767px) */
@media (max-width: 767px) {
  .text-para p:first-child {
    font-size: 20px !important;
  }
  .text-para p:last-child {
    font-size: 2rem !important;
    line-height: 1.2;
  }
  .btn-white,
  .btn-finance {
    width: 100%; /* Full width buttons on small screens */
    text-align: center;
    margin-bottom: 10px;
  }
  .container.d-flex {
    flex-direction: column !important; /* Stack text and buttons */
    text-align: center;
  }
}

/* Extra Small Devices (<= 480px) */
@media (max-width: 480px) {
  .text-para p:first-child {
    font-size: 18px !important;
  }
  .text-para p:last-child {
    font-size: 1.8rem !important;
  }

  .btn-white,
  .btn-finance {
    text-align: center;
    font-size: 16px;
    padding: 10px 18px;
  }
}

.logo-carousel {
  overflow: hidden;
  width: 100%;
  padding: 2rem 0;
  background: #ffffff;
}

.logo-wrappers {
  display: flex;
  align-items: stretch;
  will-change: transform;
  width: max-content;
}

.logo-card {
  flex: 0 0 200px;
  height: auto;
  margin: 0 12px;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  background: #fff;
}

.logo-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo-icon {
  width: 100%;
  height: auto;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-icon .enlarged-logo {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .logo-card {
    flex: 0 0 140px;
    margin: 0 8px;
    padding: 12px;
  }
}

.logo-track {
  display: flex;
  width: calc(200px * 10); /* 10 logos total (5 + 5 duplicate) */
  animation: scrollLeft 20s linear infinite;
}

.logo-card {
  flex: 0 0 200px; /* each logo fixed width */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
}

.logo-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* Smooth continuous scroll */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* shift by half (5 logos width) */
}






.services h2 {
  font-size: 3rem;
  /* text-3xl */
  font-family: "Caveat", cursive;
  font-weight: 800;
  /* font-extrabold */
  color: #1f2937;
  /* gray-900 */
  margin-bottom: 1rem;
  text-align: center;
  /* Left-align header */
}

.services .section-desc {
  font-size: 1.125rem;
  /* text-lg */
  color: #4b5563;
  /* gray-600 */
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  /* Center the text */
}

.services p {
  font-size: 14px;
  /* text-lg */
  color: #4b5563cc;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.service-card {
  position: relative;
  background: #fff;
  border: 2px solid #cec2fe;
  height: 100%;
  border-radius: 22px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* Hover Effect */
.service-card:hover {
  border-color: #7d3aed;
  box-shadow: 0 10px 30px rgba(125, 58, 237, 0.25);
}

/* Icon Circle */
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(180deg, #f0eaff 0%, #dcd3ff 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 18px;
}

/* Icon inside */
.service-icon img {
  width: 46px;
  height: 46px;
}

/* Title */
.service-title {
  font-size: 20px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 12px;
}

/* Text */
.service-text {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
}

.corner-tag {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 40px;
  height: 30px;

  /* Make it sit perfectly inside the rounded card corner */
  background: #cec2fe;
  border-bottom-right-radius: 22px;
  border-top-left-radius: 20px;

  transition: background 0.3s ease;
}

/* On Hover → Darker */
.service-card:hover .corner-tag {
  background: #7d3aed;
}

@media (max-width: 767.98px) {
  .services h2 {
    font-size: 2rem;
    /* shrink header */
    margin-bottom: 0.8rem;
  }

  .services .section-desc {
    font-size: 1rem;
    max-width: 90%;
    margin-bottom: 1.5rem;
  }

  .service-card {
    padding: 20px 18px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .service-icon img {
    width: 36px;
    height: 36px;
  }

  .service-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .service-text {
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
    margin: 0 auto;
  }

  .corner-tag {
    width: 30px;
    height: 24px;
    border-bottom-right-radius: 18px;
    border-top-left-radius: 16px;
  }
}

/* Extra Small Phones (≤ 480px) */
@media (max-width: 480px) {
  .services h2 {
    font-size: 1.6rem;
  }

  .services .section-desc {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .service-card {
    padding: 18px 15px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .service-icon img {
    width: 32px;
    height: 32px;
  }

  .service-title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .service-text {
    font-size: 13px;
    line-height: 1.4;
  }

  .corner-tag {
    width: 25px;
    height: 20px;
    border-bottom-right-radius: 16px;
    border-top-left-radius: 14px;
  }
}

/* Optional: stack all cards vertically on very small screens */
@media (max-width: 360px) {
  .row > .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
