.csd-hero-section {
  background: url("../images/About-us/aboutsection/about-bg-hero.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 180px 0 0 0;
  overflow: hidden;
  position: relative;
  max-height: 800px;
}

section {
  position: relative;
}

.container-custom {
  width: 100%;
  max-width: 1320px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* HERO SECTION */

.hero-section {
  /* padding: 120px 0 100px; */

  overflow: hidden;
}

.hero-badge {
  width: fit-content;
  margin: auto;
  padding: 7px 22px;
  border-radius: 100px;
  background: white;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c950;
  display: inline-block;
  font-family: Space Grotesk;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: center;
}

.hero-title {
  text-align: center;
  font-family: Bricolage Grotesque;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 40px;
  line-height: 56px;
  letter-spacing: 0%;
  text-align: center;

  margin-top: 20px;
  color: #222222;
}

.hero-description {
  text-align: center;
  max-width: 900px;
  margin: 20px auto 0;
  color: #364052;

  font-family: Space Grotesk;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0%;
  text-align: center;
}

.hero-btn-wrap {
  text-align: center;
  margin-top: 30px;
}

.hero-btn {
  border: none;
  width: 156px;
    padding: 10px 20px;
    border-radius: 4px;
  background: #2563eb;
  color: white;
  font-family: Space Grotesk;
font-weight: 500;
font-style: Medium;
line-height: 24px;
letter-spacing: -0.3px;
vertical-align: middle;
text-transform: capitalize;

  font-weight: 700;
  font-size: 16px;
  transition: 0.3s ease;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
}

.hero-btn:hover {
  transform: translateY(-3px);
  background: #1d4ed8;
}

.hero-image-wrapper {
  margin-top: 0px;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-main-image {
  width: 100%;
  max-width: 758px;
  top: 55px;
  height: 508px auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 35px 70px rgba(15, 23, 42, 0.12));
}

/*---------------------------- STATS SECTION */

.stats-section {
  padding: 100px 50px 40px !important;
  background: #fff;
}

.stats-card {
  height: 100%;
  padding: 25px 10px;
}

.stats-icon {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04); */
}

.stats-icon i {
  font-size: 40px;
  color: #0659f5;
  margin-bottom: 20px;
}

.stats-icon img {
  max-width: 40px;
  max-height: 40px;
}

.stats-number {
  font-family: Bricolage Grotesque;
  font-weight: 700;
  font-style: Bold;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.9px;

  color: #0d121c;
  margin-bottom: 18px;
}

.stats-title {
  font-family: Bricolage Grotesque;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0px;

  margin-bottom: 18px;
  color: #1e2939;
}

.stats-desc {
  font-family: Inter;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 22.75px;
  letter-spacing: 0px;

  color: #6a7282;
}

/*--------------------  ARCHITECTURE SECTION*/

.architecture-section {
  padding: 10px 60px 80px;
  background: #f9fafb;
}

.architecture-image {
  position: relative;
  display: inline-block;
}

.architecture-image img {
  width: 100%;
  max-width: 600px;
}

.architecture-content {
  padding-left: 40px;
}

.architecture-title {
  font-family: Bricolage Grotesque;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.9px;
  margin-top: 85px;
  background:
    linear-gradient(90deg, #101828 32%, #193cb8 50%, #101828 65%),
    linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 28px;
}

.architecture-text {
  font-family: Space Grotesk;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 29.25px;
  letter-spacing: 0px;

  color: #4a5565;
  margin-bottom: 45px;
}

.success-card {
  position: absolute;
  bottom: 108px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 19px 15px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: floatCard 8s ease-in-out infinite;
}

.success-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dcfce7;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #22c55e;
  font-size: 20px;
  flex-shrink: 0;
}

.success-content span {
  display: block;
  font-family: Inter;
  font-weight: 500;
  font-style: Medium;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0px;
  color: #6b7280;
  line-height: 1.2;
}

.success-content h5 {
  font-family: Inter;
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  color: #0d121c;
  margin: 2px 0 0;
}

@keyframes floatCard {
  0% {
    transform: translateY(20px);
  }
  50% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(20px);
  }
}

.feature-box {
  display: flex;
  gap: 22px;
  margin-bottom: 40px;
}

.feature-icon {
  min-width: 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #dce8fe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 30px;
}

.feature-icon img {
  width: 50px;
  height: 50px;
  opacity: 0.8;
}

.feature-box h4 {
  font-family: Bricolage Grotesque;
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0px;

  margin-bottom: 10px;
  color: #0d121c;
}

.feature-box p {
  font-family: Space Grotesk;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;

  color: #4a5565;
  margin: 0;
}

/* SYSTEM FLOW SECTION */

.flow-section {
  padding: 80px 60px;
  background: white;
  padding-bottom: 250px;
}

.section-heading {
  text-align: center;
  max-width: 950px;
  margin: auto;
}

.section-heading h2 {
  font-family: Bricolage Grotesque;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 40px;
  line-height: 56px;
  letter-spacing: 0%;
  text-align: center;
  background:
    linear-gradient(90deg, #101828 32%, #193cb8 50%, #101828 65%),
    linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.section-heading p {
  font-family: Space Grotesk;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: center;
  color: #4a5565;
}

.flow-wrapper {
  margin-top: 90px;
  position: relative;
}

/* .flow-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 90px;
  border-top: 2px dashed #0659F4;
  z-index: 1;
} */

.flow-line {
  width: 84%;
  top: 40px;
  height: 2px;
  z-index: 1;
  position: relative;
  justify-self: center;
  overflow: hidden;
}

/* MOVING DASHES */

.flow-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    #1f63ff 8px,
    #1f63ff 13px,
    transparent -40px,
    transparent 17px
  );

  animation: dashFlow 0.2s linear infinite;
}

/* ANIMATION */

@keyframes dashFlow {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(24px);
  }
}

.flow-card {
  position: relative;
  z-index: 2;
  text-align: center;
}

.flow-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto auto 28px;
  border-top: 0.8px solid #f3f4f6;
  box-shadow:
    0 25px 50px rgba(15, 23, 42, 0.08),
    inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.flow-icon i {
  font-size: 30px;
  color: #0659f4;
}
.flow-icon img {
  width: 30px auto;
  height: 30px;
}

.flow-card h4 {
  font-family: Bricolage Grotesque;
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: center;

  margin-bottom: 10px;
  color: #0d121c;
}

.flow-card p {
  font-family: Space Grotesk;
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0px;
  text-align: center;
  color: #6a7282;
  margin: 0;
}

/* TECH STACK */

.tech-stack {
  margin-top: 120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  max-width: 896px;
  justify-self: center;
}

.tech-pill {
  padding: 12px 20px;
  border-radius: 100px;
  background: white;
  border: 1px solid #e5e7eb;
  font-family: Space Grotesk;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;

  color: #4a5565;
  border-top: 0.8px solid #f3f4f6;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

/*------------------------------ cta section  */

.footer-cta {
  background-image: url("../images/About-us/aboutsection/future-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  border-radius: 20px;
  padding: 90px 30px;
  text-align: center;
  z-index: 2;
  margin-top: -300px;
  top: 170px;
  box-shadow: 0px 12px 70px -36px #ffffff99;
  width: 1200px;
  max-height: 400px;
  justify-self: center;
}

.footer-cta h2 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: Bricolage Grotesque;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 56px;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 30px;
}

.footer-cta p {
  position: relative;
  z-index: 2;
  color: #e8e8e8;

  font-family: Space Grotesk;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;

  max-width: 605px;
  margin: auto;
  margin-bottom: 40px;
}

.join-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 153px;
  height: 46px;
  background: #fff;
  color: #0c57db;
  font-family: Space Grotesk;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: capitalize;

  border-radius: 4px;
  transition: 0.3s ease;
  text-decoration: none;
}

.join-btn:hover {
  background: #1054ba;
  color: #fff;
}

.footer-section {
  padding: 240px 60px 20px !important;
}

/*   RESPONSIVE */

@media (max-width: 1400px) {
  .hero-title,
  .section-heading h2 {
    font-size: 60px;
  }

  .architecture-title {
    font-size: 50px;
  }
}

@media (max-width: 1200px) {
  .hero-title,
  .section-heading h2 {
    font-size: 52px;
  }

  .architecture-title {
    font-size: 44px;
  }

  .stats-number {
    font-size: 58px;
  }

  .flow-icon {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding: 90px 0;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-description {
    font-size: 22px;
  }

  .architecture-content {
    padding-left: 0;
    margin-top: 60px;
  }

  .architecture-title {
    font-size: 40px;
  }

  .feature-box h4,
  .stats-title,
  .flow-card h4 {
    font-size: 28px;
  }

  .feature-box p,
  .stats-desc,
  .flow-card p,
  .section-heading p {
    font-size: 18px;
  }

  .section-heading h2 {
    font-size: 44px;
  }

  .flow-line {
    display: none;
  }

  .flow-card {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-main-image {
    bottom: 0;
  }

  .hero-description {
    font-size: 18px;
  }

  .architecture-title,
  .section-heading h2 {
    font-size: 34px;
  }

  .architecture-text {
    font-size: 18px;
  }

  .stats-number {
    font-size: 48px;
  }

  .stats-title {
    font-size: 28px;
  }

  .tech-pill {
    font-size: 16px;
    padding: 14px 22px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 24px;
  }

  .flow-icon {
    width: 90px;
    height: 90px;
    border-radius: 24px;
  }

  .flow-icon i {
    font-size: 38px;
  }
}

