@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) rotate(90deg);
  }

  50% {
    transform: translateY(0) rotate(180deg);
  }

  75% {
    transform: translateY(20px) rotate(270deg);
  }
}

/* ALL PARAGRAPHS */
/* .hero-header p,
.hero-card p,
.built-for p,
.values-layout p,
.commitment-section p,
.difference-item p,
.stat p,
.commitment-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 16px;

} */


.about-section {
  background: #fafafa;
  background-image: linear-gradient(#eee 1px, transparent 1px),
    linear-gradient(90deg, #eee 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 20px 20px;
}

.hero-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.about-content {
  flex: 1;
  /* row-gap: ; */
}

.problem {
  max-width: 1100px;

  display: flex;
  gap: 10px;
  align-items: center;
}


.problem p {
  font-size: 18px;
  
  max-width: 800px;
}

.icon-star {
  width: 45px;
  height: 45px;
  background: #232d63;
  color: #fff;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  flex-shrink: 0;
}


.about-image {
  flex: 0 0 45%;
  /* RIGHT = 45% */
  position: sticky;
  top: 120px;
  display: flex;
  justify-content: flex-end;
}

.about-image img {
  width: 100%;
  max-width: 680px;
  /* image looks balanced */
  height: auto;
}


/* LEFT */



.left h4 {
  color: #666;
  margin-bottom: 10px;
}

.left h1 {
  font-size: 42px;
}

.tags span {
  background: #dbeafe;
  color: #1d4ed8;
  padding: 6px 14px;
  border-radius: 20px;
  margin-right: 10px;
  font-size: 14px;
}

.desc {
  margin-top: 15px;
  color: #444;
  max-width: 420px;
}


.team {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 0px;
}


.marginforflex {
  margin: 20px;
}

/* LEFT TEXT */
.about-content {
  flex: 0 0 55%;
  /* LEFT = 55% */
}


@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    gap: 40px;
  }

  .about-content,
  .about-image {
    flex: 1 1 100%;
  }

  .about-image {
    position: relative;
    top: unset;
    justify-content: center;
  }

  .about-image img {
    max-width: 480px;
    margin: auto;
  }
}

@media (max-width: 576px) {
  .problem {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .marginforflex {
    margin: 12px 0 0;
  }

  .problem h3 {
    font-size: 1.1rem;
  }

  .problem p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .hero-header h1 {
    font-size: 2.1rem;
    margin-bottom: 20px;
  }
}




/* Mobile */
@media (max-width: 900px) {
  .about-layout {
    flex-direction: column;
  }

  .about-image {
    position: relative;
    top: unset;
    margin-top: 40px;
  }

  .about-image img {
    margin: auto;
  }
}



/* .stats {
  max-width: 1100px;
  margin: 80px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

.stats h2 {
  font-size: 40px;
}

.divider {
  width: 1px;
  height: 60px;
  background: #ccc;
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

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

  .divider {
    display: none;
  }
}

/* ============================= */
/* HERO SECTION */
/* ============================= */




/* SAAS FACTS */
.saas-facts {
  max-width: 1300px;
  margin: 20px auto;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  border-radius: 16px;
  background-image: url("../images/banner_image.png");
  color: #111;
}

.facts-left {
  max-width: 420px;
}

.facts-left h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 16px;
}

.facts-left h2 span {
  color: #111;
}

.facts-left p {
  font-size: 15px;
  color: #111;
  line-height: 1.6;
  margin-bottom: 30px;
}



.kapil-section {
  padding: 10px 10px 40px 10px;
  /* background: linear-gradient(135deg, #eef1f7, #dbdfe6); */
 
}

.kapil-container {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

/* CONTENT */
.kapil-content h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

.kapil-content h2 span {
  color: #232d63
}

.kapil-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #cbd5f5;
  margin-bottom: 16px;
}

/* STATS */
.kapil-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kapil-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.kapil-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.15);
}

.kapil-card h3 {
  font-size: 32px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 6px;
}

.kapil-card p {
  font-size: 14px;
  color: #e5e7eb;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .kapil-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .kapil-stats {
    grid-template-columns: 1fr;
  }
}

.highlight {
  color: #232d63;
  /* font-weight: 600; */
}
/* RIGHT SIDE */
.facts-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
}

.fact-box h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.fact-box span {
  font-size: 14px;
  color: #111;
  border-top: 1px solid #2a2a2a;
  padding-top: 8px;
  display: inline-block;
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .saas-facts {
    flex-direction: column;

  }

  .facts-right {
    grid-template-columns: 1fr;
  }
}

/* ============================= */
/* TWO COLUMN LAYOUT */
/* ============================= */
.two-col {
  display: flex;
  gap: 40px;
  max-width: 1300px;
  margin: auto;
  padding: 20px 20px;
  align-items: center;
}

.two-col.reverse {
  flex-direction: row-reverse;
}

.two-col .text {
  flex: 1;
}

.two-col .images {
  flex: 1;
  display: flex;
  gap: 20px;
  position: relative;
}

.two-col img {
  width: 85%;
  border-radius: 12px;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

/* 
.image-gradient {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, #f15a24, #062466);
  border-radius: 12px;
  z-index: 1;
  opacity: 0.1;
  animation: gradientShift 8s infinite alternate;
} */

@keyframes gradientShift {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(10px, -10px);
  }
}

/* ============================= */
/* BUILT FOR SECTION */
/* ============================= */
.built-for {
  align-items: center;
  background-image: linear-gradient(#eef2fc);

  border-radius: 16px;
  background-repeat: no-repeat;
}

.built-for .intro {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}
.kapil {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.points .point {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 1rem;
  color: #222;
  padding: 10px;
  border-radius: 8px;

  position: relative;
  overflow: hidden;
}



.points svg {
  color: #232d63;
  font-size: 18px;
  font-weight: 100;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}


/* .points .point:hover i {
  transform: scale(1.2);
} */

/* ============================= */
/* VALUES SECTION */
/* ============================= */
.values-layout {
  align-items: center;
  gap: 60px;
}

.values-layout .intro {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.7;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 6px;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}



.values-list li:hover::before {
  transform: scaleY(1);
}

.value-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(45deg, #232d63, #232d63);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}



.values-list h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #222;
}

.values-list span {
  font-size: 0.95rem;
  color: #555;
}

/* ============================= */
/* COMMITMENT SECTION */
/* ============================= */
.commitment-section {
  text-align: center;
  position: relative;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 20px;
}

.commitment-item {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  padding: 20px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(241, 90, 36, 0.1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.commitment-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;

  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.commitment-item:hover::before {
  transform: scaleX(1);
}

.commitment-item:hover {
  transform: translateY(-6px);

}

.commitment-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 20px;
  color: #232d63;
  font-size: 1.5rem;

  position: relative;
  z-index: 0;
}


.commitment-icon::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  background: linear-gradient(45deg,
      #232d63,
      white,
      #fff,
      #a6a4b0,
      #fff,
      #fff,
      #fff,
      #2c12ae,
      #0c052b);
  background-size: 400% 400%;
  filter: blur(6px);
  border-radius: 14px;
  z-index: -1;
  opacity: 1;
  /* ✅ ALWAYS VISIBLE */
  animation: glowing 10s linear infinite;
}


.commitment-icon {
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

.commitment-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  border-radius: 12px;
  z-index: -1;
}

@keyframes glowing {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 400% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


.commitment-item h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #111;
}

.commitment-footer {
  margin-top: 40px;
  font-size: 1.05rem;
  color: #232d63;
}

/* ============================= */
/* LEMAI DIFFERENCE SECTION */
/* ============================= */
.lemai-difference {

  padding: 20px 20px;
  position: relative;
  overflow: hidden;
}

.difference-container {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.lemai-difference h2 {
  text-align: center;
  margin-bottom: 50px;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.difference-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  padding: 22px 24px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(6, 36, 102, 0.1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.difference-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(6, 36, 102, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.difference-item:hover::before {
  transform: translateX(100%);
}

.difference-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(6, 36, 102, 0.15);
}

.diff-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #232d63);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}


.difference-footer {
  margin-top: 50px;
  text-align: center;
  position: relative;
}


.difference-footer p {
  font-size: 1.1rem;
  color: #222;
  max-width: 800px;
  margin: auto;
}

/* ============================= */
/* ANIMATIONS */
/* ============================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation delays */
.hero-card:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-card:nth-child(2) {
  animation-delay: 0.2s;
}

.hero-card:nth-child(3) {
  animation-delay: 0.3s;
}

.hero-card:nth-child(4) {
  animation-delay: 0.4s;
}

.commitment-item:nth-child(1) {
  animation-delay: 0.1s;
}

.commitment-item:nth-child(2) {
  animation-delay: 0.2s;
}

.commitment-item:nth-child(3) {
  animation-delay: 0.3s;
}

.commitment-item:nth-child(4) {
  animation-delay: 0.4s;
}

.difference-item:nth-child(1) {
  animation-delay: 0.1s;
}

.difference-item:nth-child(2) {
  animation-delay: 0.2s;
}

.difference-item:nth-child(3) {
  animation-delay: 0.3s;
}

.difference-item:nth-child(4) {
  animation-delay: 0.4s;
}

.difference-item:nth-child(5) {
  animation-delay: 0.5s;
}

.difference-item:nth-child(6) {
  animation-delay: 0.6s;
}

.difference-item:nth-child(7) {
  animation-delay: 0.7s;
}

/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */
@media (max-width: 1200px) {

  .hero-header h1,
  .built-for h2,
  .values-layout h2,
  .commitment-section h2,
  .lemai-difference h2 {
    font-size: 3rem;
  }

  .stats {
    gap: 100px;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .commitment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .difference-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    flex-direction: column;
    text-align: center;

  }

  .two-col.reverse {
    flex-direction: column;
  }

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


}

@media (max-width: 768px) {

  .hero-header h1,
  .built-for h2,
  .values-layout h2,
  .commitment-section h2,
  .lemai-difference h2 {
    font-size: 2.5rem;
  }

  .hero-header p {
    font-size: 1rem;
  }

  .stat h2 {
    font-size: 32px;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .commitment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {

  .hero-header h1,
  .built-for h2,
  .values-layout h2,
  .commitment-section h2,
  .lemai-difference h2 {
    font-size: 2rem;
  }

  .hero-card,
  .commitment-item,
  .difference-item {
    padding: 20px;
  }

  .hero {
    padding: 40px 20px;
  }

  .stats,
  .two-col,
  .lemai-difference {
    padding: 20px 20px;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .bg-icons {
    display: none;
  }
}

/* Prevent shaking during number animation */
.counting-animation {
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" !important;

  display: inline-block;
  min-width: 120px;
  text-align: center;
}

/* For the stats section specifically */
.fact-box .count {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  display: inline-block;
  min-width: 120px;
}

/* For the 1,000,000 counter specifically */
.fact-box .count[data-target="1000000"] {
  min-width: 180px;
}

/* For the 40 counter specifically */
.fact-box .count[data-target="40"] {
  min-width: 80px;
}
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-overlay.active {
  display: flex;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

.no-scroll {
  overflow: hidden;
}
