/** @format */

.stats-section {
  background-color: #020617;
  padding: 60px 20px;
  color: white;
  font-family: "Inter", sans-serif;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-numbers,
.stat-number,
.plus {
  color: #3b82f6; /* Blue color */
  font-size: 2.8rem;
  font-weight: 800;
}

.stat-text {
  font-size: 0.85rem;
  line-height: 1.3;
  color: #94a3b8;
  text-transform: capitalize;
}

/* Problam section */
:root {
  --border-color: #e5e7eb;
  --text-main: #111827;
  --text-sub: #4b5563;
  --accent-blue: #2563eb;
}

.problem-section {
  padding: 80px 20px;
  /* background-color: #fff; */
  font-family: "Inter", sans-serif;
  background-image: url("/assets/images/bg11.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 50px;
  line-height: 1.2;
  color: var(--text-main);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
  background: #fff;
}

.grid-card {
  padding: 40px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0.5rem;
}

/* Image styles */
.image-card {
  padding: 0; /* No padding for images to touch borders */
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Icon & Text styles */
.icon-box {
  background-color: #2961dc4a;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: white;
}

.text-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
}

.text-card p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* Responsive for Mobile */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .bento-grid {
    display: revert;
    background-color: #ffff;
  }
}

/* Slider  */
.tech-slider-section {
  background-color: #d6e4ff; /* Light blue background from your image */
  padding: 80px 5%;
  font-family: "Inter", sans-serif;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.slider-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}

.slider-track {
  display: flex;
  gap: 12px;
  height: 380px;
  width: 100%;
}

.slide-card {
  position: relative;
  flex: 0.4; /* Default narrow state */
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

/* Expanded state for active or hovered card */
.slide-card.active {
  flex: 4;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 10%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: white;
}

.slide-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  max-width: 80%;
}

.slide-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 500px;
  opacity: 0; /* Hide text when narrow */
  transform: translateY(20px);
  transition: 0.4s ease;
}

.slide-card.active p {
  opacity: 1; /* Show text when active */
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 768px) {
  .slider-track {
    height: auto;
  }
  .slide-card {
    height: 100px;
    flex: none;
  }
  .slide-card.active {
    height: 350px;
  }

  .stats-section {
    padding: 40px 10px;
  }
  .stats-container {
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .plus {
    display: block;
    font-size: 1.5rem;
    margin-top: -10px;
  }
}

.nav-arrows {
  display: flex;
  gap: 10px;
}

.arrow {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.arrow:hover {
  background-color: #3b82f6; /* Blue hover color */
  color: white;
  border-color: #3b82f6;
}

/* Milstone section */
.milestone-section {
  padding: 100px 10%;
  background-color: #ffffff;
  font-family: "Inter", sans-serif;
}
.milestone-wrapper {
  display: flex;
  flex-direction: column; /* 🔥 key change */
  align-items: center;
  text-align: center;
  gap: 30px;
}

/* Heading section */
.milestone-left {
  width: 75%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center; /* optional for desktop */
}

/* 🔥 MOBILE FIX */
@media (max-width: 768px) {
  .milestone-left {
    width: 100%; /* take full width */
    padding: 0 20px; /* add side spacing */
    margin: 0; /* remove auto centering */
    text-align: left; /* fix right-shift feel */
  }

  .milestone-main-title {
    font-size: 2rem; /* scale down for mobile */
  }
}
/* .milestone-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

/* लेफ्ट साइड का स्टिकी डिज़ाइन */
/* .milestone-left {
  flex: 1;
  position: sticky;
  top: 100px;
} */

.milestone-main-title {
  font-size: 3.5rem; /* 🔥 bigger */
  font-weight: 800;
  color: #000;
  line-height: 1.1;
  margin-bottom: 25px;
}

.milestone-sub-text {
  font-size: 1.1rem; /* slightly bigger */
  color: #666;
  line-height: 1.7;
  max-width: 700px; /* wider than before */
  margin: 0 auto; /* center align text block */
}

/* राइट साइड का टाइमलाइन डिज़ाइन */
.milestone-right {
  flex: 1.4;
  border-left: 1px solid #f1f1f1;
}

.timeline-item {
  display: flex;
  padding-bottom: 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid #f0f0f0; /* इमेज की तरह हॉरिजॉन्टल लाइन */
  align-items: flex-start;
}

.timeline-item:last-child {
  border-bottom: none;
}

.milestone-badge-box {
  flex: 0.35;
  padding-left: 30px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  background-color: transparent;
}

.badge i {
  color: #facc15; /* पीला शील्ड आइकॉन */
  font-size: 14px;
}

.milestone-details {
  flex: 1;
}

.milestone-year {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  margin-top: -5px;
}

.event-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.event-desc {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.5;
  max-width: 450px;
}

/* मोबाइल रिस्पॉन्सिव */
@media (max-width: 1024px) {
  .milestone-wrapper {
    flex-direction: column;
  }
  .milestone-left {
    position: static;
    margin-bottom: 60px;
  }
  .timeline-item {
    flex-direction: column;
    gap: 20px;
  }
}

/* Ecosystem Section */

.ecosystem-section {
  background: radial-gradient(circle at center, #1a0b4d 0%, #0a041a 100%);
  padding: 100px 5%;
  color: white;
  text-align: center;
  overflow: hidden;
}

.ecosystem-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 60px;
  line-height: 1.2;
}

.hub-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  height: 600px; /* Adjust based on image height */
}

.center-image img {
  height: 550px;
  object-fit: contain;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glassmorphism Tags */
.tag {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.tag:hover {
  transform: scale(1.05);
}

.dot {
  width: 20px;
  height: 20px;
  background: conic-gradient(#3b82f6, #8b5cf6, #3b82f6);
  border-radius: 50%;
}

/* Precise Positioning to match image */
.tag-left-1 {
  top: 10%;
  left: 0%;
}
.tag-left-2 {
  top: 30%;
  left: -10%;
}
.tag-left-3 {
  top: 55%;
  left: 5%;
}
.tag-left-4 {
  top: 75%;
  left: -5%;
}

.tag-right-1 {
  top: 15%;
  right: 0%;
}
.tag-right-2 {
  top: 40%;
  right: -5%;
}
.tag-right-3 {
  top: 70%;
  right: 0%;
}

/* Mobile View */
@media (max-width: 768px) {
  .hub-wrapper {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .tag {
    position: static;
    width: fit-content;
    margin: 0 auto;
  }
  .center-image img {
    height: 350px;
  }
}

/* trust section */
.trust-section {
  padding: 80px 10%;
  background-color: #fff;
  font-family: "Inter", sans-serif;
}

.trust-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 50px;
  line-height: 1.2;
}

.stats-grid {
  display: flex;
  border: 1px solid #e0e7ff; /* हल्की बाहरी बॉर्डर */
}

.stat-box {
  flex: 1;
  padding: 40px 25px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #e0e7ff;
}

.stat-box:last-child {
  border-right: none;
}

/* इमेज की तरह अल्टरनेट कलर्स */
.blue-gradient {
  background: linear-gradient(180deg, #f0f4ff 0%, #d6e4ff 100%);
}

.white-bg {
  background-color: #ffffff;
}

.stat-number {
  font-size: 3rem;
  font-weight: 500;
  color: #000;
}
.stat-numbers {
  font-size: 3rem;
  font-weight: 500;
  color: #3b82f6;
}

.stat-label {
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
  line-height: 1.4;
}

/* मोबाइल के लिए रिस्पॉन्सिव */
@media (max-width: 992px) {
  .stats-grid {
    flex-wrap: wrap;
  }
  .stat-box {
    flex: unset;
    width: 50%;
    height: 200px;
    border-bottom: 1px solid #e0e7ff;
  }

  .stat-box:nth-child(2n) {
    border-right: 1px solid #e0e7ff;
  }
}
/* paster section */
.partners-section {
  background-color: #0d0221; /* गहरा पर्पल/ब्लैक बैकग्राउंड */
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
}

.partners-title {
  color: white;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 40px;
  font-family: "Inter", sans-serif;
}

/* स्लाइडर कंटेनर */
.logo-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

/* लोगो की लाइन (Track) */
.logo-track {
  display: flex;
  width: calc(250px * 16); /* लोगो की चौड़ाई * कुल लोगो (8+8) */
  animation: scroll 40s linear infinite;
}

/* सिंगल लोगो कार्ड */
.logo-item {
  width: 200px;
  height: 80px;
  background: white;
  margin: 0 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0; /* कार्ड छोटा न हो */
}

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

/* स्लाइडिंग एनीमेशन */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-230px * 8)); /* आधे लोगो के बाद रिसेट */
  }
}

/* होवर करने पर स्लाइडर रुक जाए (Optional) */
.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

/* Monetization section */
.monetization-section {
  padding: 100px 5%;
  /* background-color: #fff; */
  text-align: center;
  font-family: "Inter", sans-serif;
  background-image: url("/assets/images/b5.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 60px;
}

.model-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.model-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 15px;
  padding: 40px 20px;
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* लेफ्ट अलाइनमेंट के लिए */
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.model-card:hover {
  transform: translateY(-5px);
  border-color: #3b82f6;
  transition: all 0.3s ease;
}

.icon-circle {
  width: 40px;
  height: 40px;
  background-color: #1d63ff; /* ब्राइट ब्लू कलर */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.icon-circle i {
  color: white;
  font-size: 20px;
}

.model-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}

/* Product section */
.test-officials p {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}
.official-logos img {
  flex: 0 0 auto; /* prevent shrinking */
  width: 120px;
  height: 50px;
  object-fit: contain;

  background: #eff0f61c;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e0e7ff;
}
/* .official-logos img {
  width: 120px;
  height: 50px;
  object-fit: contain;

  background: #eff0f61c;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e0e7ff;
} */
/* .official-logos img {
  height: 50px;
  background: #eff0f61c;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e0e7ff;
} */
/* Products Table Styling */
.products-section {
  padding: 60px 10%;
  text-align: center;
}
.official-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;

  flex-wrap: wrap; /* allows wrapping */
}

/* .official-logos {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;

  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 10px;

  scroll-behavior: smooth;
} */
.official-logos::-webkit-scrollbar {
  display: none; /* hide scrollbar */
}
/* .official-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
} */

.table-container {
  background: white;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.market-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.market-table th,
.market-table td {
  padding: 14px;
  border: 1px solid #4b484857;
  text-align: left;
  font-size: 0.8rem;
  color: #000;
}
.blue-header {
  background-color: #b3ceff;
  color: white;
}
.blue-cell {
  background-color: #b3ceff;
  color: white;
}

/* मोबाइल रिस्पॉन्सिव */
@media (min-width: 2065px) {
  .section-title {
    font-size: 4rem;
  }
  .icon-box {
    width: 4rem;
    height: 4rem;
  }
  .container {
    max-width: inherit;
  }
  .text-card p {
    font-size: 2rem;
  }
  .text-card h3 {
    font-size: 3rem;
  }
  .slider-header h2 {
    font-size: 3.2rem;
  }
  .slider-track {
    height: 580px;
  }
  .slide-card h3 {
    font-size: 2.4rem;
  }
  .slide-card p {
    font-size: 1.6rem;
    line-height: 1.5;
    max-width: 800px;
  }
  .milestone-wrapper {
    max-width: inherit;
  }
  .milestone-main-title {
    font-size: 4.5rem;
  }
  .milestone-sub-text {
    font-size: 1.9rem;
    max-width: inherit;
  }
  .badge i {
    font-size: 1.5rem;
  }
  .badge {
    font-size: 1.6rem;
    padding: 20px 1.2rem;
  }
  .milestone-year {
    font-size: 2.3rem;
  }
  .event-title {
    font-size: 1.8rem;
  }
  .event-desc {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 1.9rem;
  }
  .trust-title {
    font-size: 3.2rem;
  }
  .icon-circle i {
    font-size: 2rem;
  }
  .icon-circle {
    width: 4rem;
    height: 4rem;
  }
  .model-text {
    font-size: 1.5rem;
  }
  .model-card {
    width: 290px;
  }
  .test-officials p {
    font-size: 3.2rem;
  }
  .official-logos img {
    height: 5rem;
  }
  .table-container h2 {
    font-size: 3rem;
  }
  .market-table th,
  .market-table td {
    font-size: 1.8rem;
  }
  .partners-title {
    font-size: 3.9rem;
  }
  .logo-item {
    width: 300px;
    height: 150px;
  }
  .ecosystem-title {
    font-size: 2.9rem;
  }
  .tag {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .model-card {
    width: 45%;
  }
  .section-title {
    font-size: 2rem;
  }
  .demotalk {
    margin: 0.3rem 0px;
    font-size: 1rem;
  }
  .products-section {
    padding: 0px !important;
    text-align: center;
  }
}
.investor-button {
  display: inline-block;
  background: linear-gradient(90deg, #5c67ff, #42a5f5);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 40px; /* pill shape for desktop */
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(92, 103, 255, 0.25);
  transition: all 0.3s ease;
  white-space: nowrap; /* keep in one line */
  width: auto; /* only required width */
  max-width: 100%; /* prevent overflow */
}
@media (max-width: 768px) {
  .investor-button {
    border-radius: 8px; /* small curve */
    padding: 10px 16px;
    font-size: 14px;
    white-space: normal; /* allow wrap if needed */
  }
}
.investor-button:hover {
  transform: translateY(-2px);
}
