/* Container spacing */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 20px;
  background-color: transparent;
  backdrop-filter: blur(2px);
}

/* Section headers */
.section-label {
  color: #0284c7;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 38px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
}

.paragraph {
  color: white;
  margin-bottom: 16px;
  font-size: 16px;
}

.highlight {
  color: #2563eb;
  font-weight: 700;
}

/* Grid layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Service box */
.service-box {
  background-color: #cffafe;
  color: #155e75;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}


.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-title {
  font-size: 3rem;
  color: white;
  margin-bottom: 10px;
  font-weight: 100;
}

.page-subtitle {
  color: #e2e8f0;
  font-size: 1.1rem;
}

.pyramid-animation,
.mini-cube-animation,
.dynamic-bar-graph-animation{
  width: 600px;
  height: 600px;
  margin: 0 auto;

}

.image-wrapper{
  margin: 0 auto;
}

.image-wrapper,
.text-wrapper {
  padding: 20px;
}

.about-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.about-image:hover{
    filter: drop-shadow(0 0 5px #0eeeeeff);
}

/*------------- sparkle divider-----------------*/

.sparkle-divider {
  height: 4px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8),
      rgba(180, 180, 180, 0.6),
      rgba(255, 255, 255, 0.8),
      rgba(50, 50, 50, 0.7),
      rgba(255, 255, 255, 0.8));
  background-size: 300% 100%;
  border-radius: 50px;
  margin: 80px auto 40px;
  width: 100%;
}


/* Choose Us Section */
.choose-us-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 60px 0;
}

.choose-point {
  color: #e0f2fe;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

.choose-point .icon {
  color: #38bdf8;
  font-weight: bold;
  margin-right: 8px;
}

.button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.funding-bar:hover {
  transform: translateY(-5px);
  box-shadow: 0 1px 10px #00f2ff, inset 0 1px 0 #00f2ff;
}

/* Mobile Responsive: Reduce heading and subtitle */
@media (max-width: 768px) {
  .page-header .page-title {
    font-size: 28px;
  }

  .page-header .page-subtitle {
    font-size: 17px;
  }

  /* Optional: adjust section titles too */
  .section-title {
    font-size: 28px;
  }

  /* Ensure the grid stacks vertically */
  .about-grid {
    grid-template-columns: 1fr;
  }

  /* Force image to appear first */
  .about-grid .image-wrapper {
    order: 1;
  }

  /* Force text to appear second */
  .about-grid .text-wrapper {
    order: 2;
  }
}