/* Section Styles */
#index-stats {
    padding: 40px 20px;
    /* background-color: #ffffff; */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

/* Header Styling */
.sub-header {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: #e4e0e0;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.4;
}

/* Gradient Text */
.bg-gradient-to-r {
    background: linear-gradient(to right, #6154c5, #7167b9);
    -webkit-background-clip: text;
    color: transparent;
}

/* Stats Section */
.stat {
    background-color: #000000;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-6px);
}

/* Stat Title */
.text-gray-400 {
    font-size: 1rem;
    color: #9ca3af;
    margin-bottom: 8px;
    text-align: center;
}

/* Stat Value */
.font-bold {
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: #1e3a8a;
    text-align: center;
}

.text-blue-200 {
   --tw-text-opacity: 1;
    color: rgb(191 219 254 / var(--tw-text-opacity, 1))
}

/* Grid Setup */
.grid {
    display: grid;
    gap: 20px;
}

/* Responsive Columns */
.grid-cols-1 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Flexbox Layouts */
.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

/* Utility Classes */
img {
    max-width: 100%;
    height: auto;
}

a {
    display: inline-block;
    margin-left: 10px;
}

/* Spacing */
.mt-16 {
    margin-top: 4rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.md\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.gap-16 {
    gap: 4rem;
}

/* Responsive Grid Wrapper */
.max-w-7xl {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

/* Fix long numbers wrap */
.text-wrap {
    word-break: break-word;
    text-align: center;
}

/* Responsive Typography Fixes */
.text-2xl {
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.text-3xl {
    font-size: clamp(2rem, 3vw, 2.5rem);
}
/* Container styling */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-16 {
  margin-top: 4rem; /* 64px */
}

.mb-6 {
  margin-bottom: 1.5rem; /* 24px */
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.sm\:px-4 {
  /* For small screens and up */
}

.md\:px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.lg\:px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.max-w-7xl {
  max-width: 80rem; /* 1280px */
}

/* Glassmorphism Background */
.glassmorphism-background {
  background: rgba(10, 49, 77, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem; /* Rounded corners */
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  color: #222; /* Text color */
  transition: background 0.3s ease;
}

/* Text Content */
.content-section h1 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.content-section p {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Tag styles */
.inline-flex.items-center.font-medium {
  background: linear-gradient(to right, #bf0eb9, #0467e3); /* purple-600 */
  color: white;
  padding: 0.375rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  user-select: none;
}

/* Buttons */
button {
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

button:first-child {
  background: linear-gradient(to right, #3b82f6, #7c3aed); /* blue-500 to purple-500 */
  color: white;
  border: none;
}

button:first-child:hover {
  background-color: #4c51bf;
}

button:last-child {
  background: transparent;
  color: #ccc;
  border: 1px solid currentColor;
}

button:last-child:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Image container */
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  transition: opacity 0.5s ease-in-out;
}

/* Responsive grid */
.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lg\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

/* Flex alignment */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

.justify-start {
  justify-content: flex-start;
}

.items-start {
  align-items: flex-start;
}

/* Spacing */
.mb-6 {
  margin-bottom: 1.5rem;
}

.mt-16 {
  margin-top: 4rem;
}

.p-8 {
  padding: 2rem;
}

.overflow-hidden {
  overflow: hidden;
}
/* Container */
.nexa-container {
  max-width: 1280px;
  margin: 4rem auto 1.5rem;
  padding: 0 1rem;
}

/* Section */
.nexa-section {
  position: relative;
  text-align: center;
  z-index: 10;
}

/* Heading */
.nexa-heading {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  background: linear-gradient(to right, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

@media (min-width: 1024px) {
  .nexa-heading {
    font-size: 3.5rem;
  }
}

/* Background Glow */
.nexa-glow-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
}

.nexa-glow {
  width: 24rem;
  height: 24rem;
  background: linear-gradient(to bottom, rgba(168, 85, 247, 0.1), rgba(34, 197, 94, 0.1));
  border-radius: 9999px;
  filter: blur(96px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Button Container */
.nexa-buttons {
  margin-top: 4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.nexa-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  border-radius: 0.375rem;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.nexa-button:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Specific Button Gradients */
.button-eco {
  background: linear-gradient(to right, #2563eb, #10b981); /* Blue to Green */
}

.button-build {
  background: linear-gradient(to right, #10b981, #2563eb); /* Green to Blue */
}
