/* ===== HEALTH STATISTICS SECTION ===== */
.health-statistics { 
  background: linear-gradient(135deg, #0f172a, #1e293b);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

/* Challenge Cards Grid Layout */
.challenges-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
  visibility: visible !important;
  opacity: 1 !important;
}

.challenges-container {
  padding: 2rem 0;
}

.challenges-header {
  text-align: center;
  margin-bottom: 2rem;
  border: none; 
  background: none; 
  box-shadow: none;
}

.challenges-title {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  border: none; 
  background: none; 
  box-shadow: none;
}

.challenges-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

@media (max-width: 992px) {
  .challenges-wrapper, .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .challenges-wrapper, .card-grid {
    grid-template-columns: 1fr;
  }
}

.challenge-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.challenge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(99, 102, 241, 0) 100%);
  transition: all 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.challenge-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.challenge-card:hover::before {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
}

.challenge-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.challenge-icon {
  background: rgba(99, 102, 241, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: all 0.4s ease;
}

.challenge-card:hover .challenge-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
  background: rgba(99, 102, 241, 0.3);
}

.challenge-icon i {
  color: #6366f1;
  font-size: 1.25rem;
}

.challenge-header h4 {
  color: #fff;
  margin: 0;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  transform-origin: left;
}

.challenge-card:hover .challenge-header h4 {
  color: #6366f1;
  transform: translateX(5px) scale(1.05);
  text-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.challenge-content {
  flex: 1;
}

.challenge-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  transition: all 0.4s ease;
  opacity: 0.7;
}

.challenge-card:hover .challenge-content p {
  color: rgba(255, 255, 255, 0.95);
  opacity: 1;
  transform: translateX(3px);
}

.challenge-progress {
  margin-top: auto;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
}

.progress-bar[data-percentage="78"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 78%;
  background: #6366f1;
  border-radius: 3px;
}

.progress-bar[data-percentage="65"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 65%;
  background: #6366f1;
  border-radius: 3px;
}

.progress-bar[data-percentage="82"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 82%;
  background: #6366f1;
  border-radius: 3px;
}

.progress-bar[data-percentage="71"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 71%;
  background: #6366f1;
  border-radius: 3px;
}

.progress-bar[data-percentage="89"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 89%;
  background: #6366f1;
  border-radius: 3px;
}

.progress-bar[data-percentage="62"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 62%;
  background: #6366f1;
  border-radius: 3px;
}

.progress-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Legend colors for charts */
.legend-color {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  border-radius: 2px;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #6366f1;
  border-radius: 3px;
}

.progress-bar[data-percentage="62"]::before {
  width: 62%;
}

.progress-bar[data-percentage="65"]::before {
  width: 65%;
}

.progress-bar[data-percentage="71"]::before {
  width: 71%;
}

.progress-bar[data-percentage="78"]::before {
  width: 78%;
}

.progress-bar[data-percentage="82"]::before {
  width: 82%;
}

.progress-bar[data-percentage="89"]::before {
  width: 89%;
}

.progress-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.health-statistics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='https://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: 0;
  animation: backgroundShift 30s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.pulse-badge {
  position: relative;
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

.pulse-icon {
  display: inline-block;
  animation: pulse-icon 1.5s ease-in-out infinite;
}

@keyframes pulse-icon {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.visual-container {
  height: 100%;
}

.statistics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
  margin-top: 3rem;
}

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

/* Left side - Visual representation */
.statistics-visual {
  position: relative;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.chart-header h3 {
  color: #fff;
  font-size: 1.25rem;
  margin: 0;
}

.chart-legend {
  display: flex;
  align-items: center;
}

.legend-item {
  display: flex;
  align-items: center;
  color: #cbd5e1;
  font-size: 0.875rem;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  display: inline-block;
}

.legend-color.primary {
  background-color: #6366f1;
}

.chart-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  height: 400px;
  position: relative;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.chart-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.chart-container:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, rgba(15, 23, 42, 0.7));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.chart-container:hover:after {
  opacity: 1;
}

.chart-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  transition: all 0.3s ease;
}

.stat-highlight {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-label {
  font-size: 1.5rem;
  margin-left: 0.5rem;
  opacity: 0.8;
}

.stat-description {
  color: #cbd5e1;
  font-size: 1rem;
  max-width: 240px;
  margin: 0 auto;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #6366f1;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  background: rgba(99, 102, 241, 0.3);
  transform: scale(1.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
}

.stat-card p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0;
}

/* Right side - Challenges */
.challenges-container {
  display: flex;
  flex-direction: column;
}

.challenges-header {
  margin-bottom: 1.5rem;
}

.challenges-title {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.challenges-subtitle {
  color: #cbd5e1;
  font-size: 1rem;
  margin: 0;
}

.challenges-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

@media (max-width: 576px) {
  .challenges-wrapper {
    grid-template-columns: 1fr;
  }
}

.challenge-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.challenge-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.challenge-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.challenge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  color: #6366f1;
  font-size: 1rem;
  flex-shrink: 0;
}

.challenge-header h4 {
  color: #fff;
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}

.challenge-content {
  color: #cbd5e1;
  flex: 1;
}

.challenge-content p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #94a3b8;
}

.challenge-progress {
  margin-top: 0.75rem;
}

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
}

.progress-text {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6366f1, #818cf8);
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.progress-bar[data-percentage="62"]::before {
  width: 62%;
}

.progress-bar[data-percentage="65"]::before {
  width: 65%;
}

.progress-bar[data-percentage="71"]::before {
  width: 71%;
}

.progress-bar[data-percentage="78"]::before {
  width: 78%;
}

.progress-bar[data-percentage="82"]::before {
  width: 82%;
}

.progress-bar[data-percentage="89"]::before {
  width: 89%;
}

.progress-text {
  font-size: 0.8rem;
  color: #cbd5e1;
 /* Responsive adjustments */
@media (min-width: 768px) {
  .challenges-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .chart-container {
    height: 300px;
  }
  
  .stat-highlight {
    font-size: 3rem;
  }
  
  .counter-label {
    font-size: 1.2rem;
  }
  
  .challenges-title {
    font-size: 1.5rem;
  }
  
  .challenge-header h4 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .health-statistics {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .chart-container {
    padding: 1.5rem;
    height: 250px;
  }
  
  .stat-cards {
    grid-template-columns: 1fr;
  }
  
  .challenges-wrapper {
    grid-template-columns: 1fr;
  }
  
  .stat-highlight {
    font-size: 2.5rem;
  }
}
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  font-size: 2rem;
  color: #6366f1;
  margin-bottom: 1rem;
}

.pulse-icon {
  animation: pulse-icon 1.5s infinite;
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

/* Right side - Challenges */
.challenges-container {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.challenges-title {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.challenges-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #6366f1;
  border-radius: 3px;
}

.challenges-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.challenge-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.challenge-icon {
  font-size: 1.5rem;
  color: #6366f1;
  margin-bottom: 1rem;
}

.challenge-content h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.challenge-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.challenge-progress {
  margin-top: auto;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
}

.progress-bar:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 3px;
  width: 0;
  transition: width 1.5s ease-in-out;
}

.progress-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Counter Animation */
.counter {
  display: inline-block;
}

/* Responsive Styles */
@media (min-width: 992px) {
  .statistics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .challenges-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .statistics-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .chart-container {
    height: 380px;
    padding: 1.5rem;
  }
  
  #heartAttackChart {
    max-height: 300px;
  }
  
  .challenges-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .health-statistics {
    padding: 4rem 0;
  }
  
  .chart-container {
    height: 340px;
    padding: 1.25rem;
  }
  
  #heartAttackChart {
    max-height: 250px;
  }
  
  .stat-cards {
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1.25rem;
  }
  
  .stat-icon {
    font-size: 1.75rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .challenges-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .health-statistics {
    padding: 3rem 0;
  }
  
  .chart-container {
    height: 300px;
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  #heartAttackChart {
    max-height: 220px;
  }
  
  .stat-highlight {
    font-size: 3rem;
  }
  
  .counter-label {
    font-size: 1.25rem;
  }
  
  .stat-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .challenges-container {
    padding: 1.5rem;
  }
  
  .challenge-card {
    padding: 1.25rem;
  }
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  height: 100%;
}

.image-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-item:hover img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  padding: 1.5rem 1rem;
  color: white;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.image-item:hover .image-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Right side - Data visualization */
.statistics-data {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.chart-container {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  height: 500px;
  max-height: 500px;
  position: relative;
  width: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.chart-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
}

#heartAttackChart {
  flex: 1;
  width: 100% !important;
  height: auto !important;
  max-height: 350px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  justify-content: center;
  align-items: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.5rem;
  background: rgba(15, 23, 42, 0.3);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.legend-item:hover {
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-1px);
}

.legend-color {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-text {
  font-size: 0.75rem;
  color: #e2e8f0;
  white-space: nowrap;
  font-weight: 500;
}

/* Responsive legend */
@media (max-width: 768px) {
  .chart-legend {
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
  
  .legend-item {
    padding: 0.2rem 0.4rem;
    gap: 0.3rem;
  }
  
  .legend-color {
    width: 6px;
    height: 6px;
  }
  
  .legend-text {
    font-size: 0.7rem;
  }
}

@media (max-width: 576px) {
  .chart-legend {
    gap: 0.4rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
  }
  
  .chart-legend::-webkit-scrollbar {
    height: 4px;
  }
  
  .chart-legend::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 2px;
  }
  
  .chart-legend::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 2px;
  }
  
  .legend-item {
    flex-shrink: 0;
    padding: 0.2rem 0.4rem;
    min-width: fit-content;
  }
  
  .legend-text {
    font-size: 0.7rem;
  }
}



/* ===== HOW IT WORKS ===== */
.how-it-works {        
  background: linear-gradient(135deg, #0f172a, #1e293b);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='https://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: 0;
}

.how-it-works::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0));
  z-index: 0;
}

.hiw-workflow {
  position: relative;
  z-index: 1;
}

.hiw-timeline {
  position: relative;
  margin: 3rem 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 8px;
  opacity: 0.8;
  box-shadow: 0 0 20px rgba(99,102,241,0.6);
}

.timeline-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(139,92,246,0.8);
  /* width is controlled via scroll-linked animation */
}


.hiw-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

@media (min-width: 992px) {
  .hiw-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.hiw-step {
  position: relative;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  z-index: 1;
  height: auto;
  min-height: 0;
  /* Ensure cards are visible on mobile by default */
  opacity: 1;
  transform: translateY(0);
}

.hiw-step::before {
  content: '';
  position: absolute;
}
  /* Apply hover effects only on devices that support hover */
@media (hover: hover) and (min-width: 992px) {
  .hiw-step {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}
}

.hiw-step:hover {
  transform: none;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  border-color: rgba(148, 163, 184, 0.2);
  
}

.hiw-step:hover::before {
  opacity: 1;
}

.hiw-icon-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.3), rgba(99,102,241,0.1));
  animation: pulse-bg 3s infinite ease-in-out;
  filter: blur(5px);
}

.hiw-icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a5b4fc;
  background: rgba(99,102,241,0.2);
  border: 2px solid rgba(139,92,246,0.4);
  font-size: 1.5rem;
  z-index: 2;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(99,102,241,0.4);
}

.hiw-step:hover .hiw-icon {
  background: rgba(139,92,246,0.3);
  color: #fff;
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 0 30px rgba(139,92,246,0.6);
}

.hiw-step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3), 0 0 15px rgba(139,92,246,0.5);
  z-index: 3;
  transition: all 0.4s ease;
  animation: float 3s ease-in-out infinite;
}

.hiw-step:hover .hiw-step-number {
  transform: scale(1.2);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4), 0 0 20px rgba(139,92,246,0.7);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes pulse-bg {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 15px rgba(139,92,246,0.5); }
  50% { box-shadow: 0 0 25px rgba(139,92,246,0.8); }
}

.hiw-content {
  position: relative;
  transition: transform 0.4s ease;
}

.hiw-step:hover .hiw-content { transform: none; }

.hiw-content h4 {
  color: var(--text-primary);
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  position: relative;
  display: inline-block;
  transition: all 0.4s ease;
}

.hiw-content h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6);
  transition: width 0.4s ease;
}

.hiw-step:hover .hiw-content h4::after {
  width: 100%;
}

.hiw-content p {
  color: #94a3b8;
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.hiw-step:hover .hiw-content p {
  color: #cbd5e1;
}

.hiw-hover-info {
  margin-top: 0.75rem;
  /* Default state for mobile */
  opacity: 1; 
  transform: translateY(0);
  overflow: visible;
}


.hiw-hover-info ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style-type: none;
}

.hiw-hover-info li {
  position: relative;
  padding-left: 0.75rem;
  margin-bottom: 0.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
  /* Default state for mobile */
  opacity: 1; 
  transform: translateX(0); 
  transition: all 0.3s ease; 
}

/* Apply hover effects only on devices that support hover */
@media (hover: hover) and (min-width: 992px) {
  .hiw-hover-info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
  }
  .hiw-step:hover .hiw-hover-info {
    opacity: 1;
    transform: translateY(0);
  }
}

.hiw-step:hover .hiw-hover-info li {
  opacity: 1;
  transform: translateX(0);
}

.hiw-hover-info li:nth-child(1) {
  transition-delay: 0.1s;
}

.hiw-hover-info li:nth-child(2) {
  transition-delay: 0.2s;
}

.hiw-hover-info li:nth-child(3) {
  transition-delay: 0.3s;
}

.hiw-hover-info li::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 8px rgba(139,92,246,0.8);
}

.hiw-connector { display: none !important; }

@media (min-width: 992px) { }

.connector-pulse { display: none; }

.hiw-svg-icon {
  width: 28px;
  height: 28px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.4s ease;
}

.hiw-step:hover .hiw-svg-icon {
  transform: scale(1.1);
  stroke: #fff;
  filter: drop-shadow(0 0 8px rgba(139,92,246,0.6));
}

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

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

/* Add a glowing effect to the connectors */
.hiw-connector::before,
.hiw-connector::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 15px rgba(139,92,246,0.8);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hiw-connector:hover::before,
.hiw-connector:hover::after {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hiw-step {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hiw-connector { display: none; }
}

.connector-pulse::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: connector-pulse 2s infinite;
}

@keyframes connector-pulse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
}

.reveal-slide {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-slide.active {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 992px) {
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Prevent overflow in HIW text */
.hiw-content h4, .hiw-content p, .hiw-hover-info li { 
  word-wrap: break-word; 
  overflow-wrap: anywhere; 
  hyphens: auto; 
}

/* Scale padding on small screens for HIW */
@media (max-width: 600px) {
  .hiw-step { padding: 1.25rem; }
}

/* SVG path that connects steps */
.hiw-flow-svg { display: none !important; }

.hiw-flow-path { display: none; }

@keyframes iconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.icon-pulse {
  animation: iconPulse 2s infinite ease-in-out;
}

@keyframes pulse-bg {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(0.95); opacity: 0.7; }
}
/* Mobile spacing and overflow guards for challenge/approach */
@media (max-width: 600px) {
  .problem-statement .ps-grid,
  .solution-overview .so-grid {
    gap: 1rem;
  }
  .ps-card, .so-item, .so-intro {
    padding: 1rem;
  }
  .section-title {
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
}

/* 
  Force "How It Works" cards to be visible on mobile devices by default.
  This prevents the "tap to show" issue where scroll animations don't fire,
  without affecting animations in other sections.
*/
@media (max-width: 991px) {
  .how-it-works .reveal-slide,
  .how-it-works [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ===== SECTION 3: PROBLEM STATEMENT ===== */
.problem-statement {
  background: var(--bg-secondary);
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

/* Additional small-screen hardening to prevent overflow */
@media (max-width: 600px) {
  .ps-card {
    padding: 1.1rem;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
}

.ps-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.ps-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
}
.reveal-up { opacity: 0; transform: translateY(12px); }
.icon-pulse { animation: iconPulse 2.2s ease-in-out infinite; }

@keyframes iconPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}


.ps-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.ps-icon.alt {
  color: var(--accent-color);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}

.ps-title { color: var(--text-primary); font-family: var(--font-display); margin-bottom: 0.5rem; }
.ps-text { color: var(--gray-500); }

/* ===== SECTION 4: SOLUTION OVERVIEW ===== */
.solution-overview { background: var(--bg-tertiary); }

.so-intro {
  color: var(--text-secondary);
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-primary));
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.so-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.so-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-primary));
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.so-item:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0,0,0,0.35); }

.so-icon { 
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; 
  color: var(--primary-light); background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25);
}

.so-content h4 { color: var(--text-primary); font-family: var(--font-display); margin: 0 0 0.4rem; }
.so-content p { color: var(--gray-500); margin: 0; }
/* ===== BASE STYLES & RESET ===== */
/* Malnutrition Statistics Section Styles */
.malnutrition-stats {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.malnutrition-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 70%);
  pointer-events: none;
}

/* Challenge Card Styles */
.challenge-card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.challenge-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(99, 102, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border-color: rgba(99, 102, 241, 0.4);
}

.challenge-title {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
}

.challenge-title:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

.challenge-list-container {
  position: relative;
}

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

/* Landscape layout for challenges */
.landscape-challenges {
  width: 100%;
}

.landscape-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
  margin-top: 1rem;
}

/* Two-column challenges layout */      
.two-column-challenges {
  width: 100%;
}

.challenges-wrapper {
  display: flex;
  gap: 2rem;
}

.challenges-left,
.challenges-right {
  flex: 1;
}

.challenges-left .challenge-item:last-child,
.challenges-right .challenge-item:last-child {
  margin-bottom: 0;
}

/* Responsive design for two-column layout */
@media (max-width: 768px) {
  .challenges-wrapper {
    flex-direction: column;
    gap: 1rem;
  }
  
  .challenges-left,
  .challenges-right {
    width: 100%;
  }
}

.challenge-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Adjust margin for landscape layout */
.landscape-list .challenge-item {
  margin-bottom: 0;
  height: 100%;
}

.challenge-item:hover {
  background: rgba(99, 102, 241, 0.08);
  transform: translateX(5px);
  border-color: rgba(99, 102, 241, 0.2);
}

.challenge-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.challenge-item:hover:before {
  opacity: 1;
}

.challenge-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary-light);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.challenge-item:hover .challenge-icon {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.challenge-content {
  flex: 1;
}

.challenge-content .highlight {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.challenge-content p {
  color: var(--text-tertiary);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

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

.stats-column {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.stats-card {
  background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(99, 102, 241, 0.3);
}

.stats-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  background: rgba(99, 102, 241, 0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-content h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

.stats-list {
  list-style: none;
}

.stats-list li {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.stats-list li::before {
  content: "•";
  color: var(--primary-light);
  font-weight: bold;
  font-size: 1.5rem;
}

.highlight {
  color: var(--primary-light);
  font-weight: 700;
  font-size: 1.1rem;
}

.chart-container {
  background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.chart-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.chart-container h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  text-align: center;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.chart {
  width: 100%;
  height: 300px;
  position: relative;
}

.chart-container.full-row {
  grid-column: 1 / -1;
  margin-top: 2.5rem;
}

.map-container {
  background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-container h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  text-align: center;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
}

.india-map {
  width: 100%;
  height: 100%;
}

.map-overlay {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: rgba(15, 23, 42, 0.85);
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  backdrop-filter: blur(5px);
}

.map-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.color-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

/* Responsive legend for small screens */
@media (max-width: 768px) {
  .map-overlay {
    position: static;
    bottom: auto;
    right: auto;
    margin-top: 12px;
    width: 100%;
    border-radius: 12px;
  }
/* .scroll-indicator{
  display: none;
} */
  .map-legend {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
  }

  .legend-item {
    font-size: 0.8rem;
  }

  .color-box {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .legend-item {
    font-size: 0.75rem;
  }
.map-container{
  height: 30rem;

}
  .color-box {
    width: 12px;
    height: 12px;
  }
}

.color-box.severe {
  background-color: #ef4444;
}

.color-box.high {
  background-color: #f59e0b;
}

.color-box.moderate {
  background-color: #facc15;
}

.color-box.low {
  background-color: #10b981;
}

.map-note {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 1.25rem;
  font-style: italic;
}

/* Did You Know Section - Improved from flip card */
.info-card {
  background: linear-gradient(145deg, var(--primary-dark), var(--bg-tertiary));
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.info-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.info-card::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-card-icon {
  font-size: 2rem;
  color: var(--accent-color);
  background: rgba(245, 158, 11, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card h3 {
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
}

.info-card-content {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  display: grid;
  gap: 0.5rem;
}

.info-card-content p {
  margin-bottom: 1rem;
}

.info-card-content p:last-child {
  margin-bottom: 0;
}

.info-card-content p {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.info-card:hover .info-card-content p {
  opacity: 1;
  transform: translateY(0);
}

.info-highlight {
  color: var(--accent-color);
  font-weight: 600;
}

/* SVG Chart Styles */
#mortality-chart rect {
  fill: var(--primary-color);
  transition: transform 0.25s ease, fill 0.25s ease, filter 0.25s ease;
}

#mortality-chart rect.bar {
  transform-origin: bottom;
}

#mortality-chart rect:hover {
  fill: var(--accent-color);
  transform: translateY(-6px);
  filter: drop-shadow(0 6px 10px rgba(99, 102, 241, 0.35));
}

#mortality-chart text {
  fill: var(--text-secondary);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
}

#mortality-chart .axis-title {
  fill: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

#nutrition-pie path {
  transition: all 0.4s ease;
  stroke: rgba(15, 23, 42, 0.6);
  stroke-width: 1.5;
}

#nutrition-pie path {
  transform: scale(0.98);
  transform-origin: 50% 50%;
}

#nutrition-pie path:hover {
  transform: translateX(6px) scale(1.03);
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
}

#nutrition-pie text {
  fill: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* Strengthen visual polish for approach/challenge cards */
.ps-card, .so-item {
  backdrop-filter: saturate(120%) blur(6px);
  border-color: rgba(148,163,184,0.18);
}
.so-intro { box-shadow: 0 10px 24px rgba(0,0,0,0.2); }

/* SVG Map Styles */
#india-map path {
  stroke: var(--bg-primary);
  stroke-width: 1;
  transition: all 0.4s ease;
}

#india-map path:hover {
  transform: scale(1.03);
  filter: brightness(1.2) drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
  cursor: pointer;
}

#india-map text {
  fill: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 10px;
}

.tooltip {
  position: absolute;
  background: linear-gradient(145deg, var(--bg-primary), var(--bg-secondary));
  color: var(--text-primary);
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
  max-width: 220px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-family: 'Inter', sans-serif;
  transform: translateY(10px);
  backdrop-filter: blur(5px);
}

.tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.tooltip strong {
  color: var(--primary-light);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .tooltip {
    padding: 6px 8px;
    max-width: 180px;
    font-size: 0.85rem;
  }
  .tooltip strong {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .tooltip {
    padding: 5px 7px;
    max-width: 160px;
    font-size: 0.8rem;
  }
  .tooltip strong {
    font-size: 0.9rem;
  }
}

/* Enhanced Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.pulse-animation {
  animation: pulse 3s infinite ease-in-out;
}

.float-animation {
  animation: float 6s infinite ease-in-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .malnutrition-stats {
    padding: 70px 0;
  }
  
  .stats-grid {
    gap: 2rem;
    margin-top: 2.5rem;
  }
  
  .stats-column {
    gap: 2rem;
  }
  
  .stats-card, .map-container, .info-card {
    padding: 1.5rem;
  }
  .chart-container {
    padding: 1rem;
  }
  
  .stats-icon, .info-card-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .stats-content h3, .info-card h3 {
    font-size: 1.5rem;
  }
  
  .chart {
    height: 250px;
  }
  
  .map-wrapper {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .malnutrition-stats {
    padding: 50px 0;
  }
  
  .stats-grid {
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .stats-column {
    gap: 1.5rem;
  }
  
  .stats-card, .chart-container, .map-container, .info-card {
    padding: 1rem;
  }
  
  .stats-icon, .info-card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .stats-content h3, .info-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }
  
  .stats-list li {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
  
  .highlight {
    font-size: 1rem;
  }
  
  .chart {
    height: 200px;
  }
  
  .map-wrapper {
    height: 250px;
  }
}

/* ===== BASE STYLES & RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #06b6d4;
  --accent-color: #f59e0b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;

  /* Dark Theme Colors (Default) */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-tertiary: #94a3b8;
  --border-color: #334155;
  --border-light: #475569;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --nav-bg: rgba(15, 23, 42, 0.95);
  --nav-border: rgba(51, 65, 85, 0.8);

  /* Neutrals (kept for compatibility) */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #000000;

  /* Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-dark: linear-gradient(
    135deg,
    var(--gray-900) 0%,
    var(--gray-800) 100%
  );

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 120px 0;
  --element-spacing: 2rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Dark Theme styles are now the default */
  --gray-400: #94a3b8;
  --gray-500: #cbd5e1;
  --gray-600: #e2e8f0;
  --gray-700: #f1f5f9;
  --gray-800: #f8fafc;
  --gray-900: #ffffff;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color var(--transition-normal),
    color var(--transition-normal);
}

/* ===== UTILITY CLASSES ===== */
.logo {
  height: 50px;
}
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: var(--section-padding);
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: var(--white);
}

.loading-logo h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress {
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-sm);
  width: 0%;
  animation: loadingProgress 2s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadingProgress {
  to {
    width: 100%;
  }
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1000px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--nav-border);
  border-radius: 50px;
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 32px var(--shadow-color);
}

.navbar.scrolled {
  background: var(--nav-bg);
  box-shadow: 0 12px 40px var(--shadow-color);
  border-color: var(--nav-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  height: 70px;
}

.nav-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-tertiary);
  padding: 8px;
  border-radius: 40px;
  border: 1px solid var(--border-light);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 30px;
  transition: all var(--transition-normal);
  position: relative;
  font-size: 0.8rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-primary);
  box-shadow: 0 2px 8px var(--shadow-color);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme toggle removed - only dark theme now */

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.nav-toggle:hover {
  background: var(--primary-color);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.nav-toggle:hover span {
  background: var(--white);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-tertiary);
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.title-word {
  display: inline-block;
  margin-right: 0.5rem;
}

.title-word.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.cta-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.cta-secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}

.cta-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .navbar {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 25px;
  }

  .nav-container {
    padding: 0 1.5rem;
    height: 60px;
  }

  .nav-logo .logo-text {
    font-size: 1.3rem;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    width: calc(100% - 40px);
    max-width: 400px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--nav-border);
    border-radius: 20px;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    box-shadow: 0 8px 32px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .nav-menu.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border-radius: 15px;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active {
    background: var(--primary-color);
  }

  .nav-toggle.active span {
    background: var(--white);
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .container {
    padding: 0 1rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  opacity: 0.1;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 20%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  overflow: hidden;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 500px;
}

.fade-in-animation {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}  

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
} 

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
 margin-bottom: 5rem;
}

.heart-shield-container {
  width: 380px;
  height: 380px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform var(--transition-slow);
}

.heart-shield-image {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 15px 30px rgba(0, 200, 255, 0.4));
  transition: transform 0.5s ease, filter 0.5s ease;
}

.heart-shield-container:hover .heart-shield-image {
  transform: scale(1.05);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}

.app-interface {
  padding: 1.5rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.interface-header {
  text-align: center;
  margin-bottom: 2rem;
}

.status-bar {
  width: 60px;
  height: 4px;
  background: var(--gray-300);
  border-radius: var(--radius-sm);
  margin: 0 auto 1rem;
}

.interface-header h3 {
  font-family: var(--font-display);
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 700;
}

.scan-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}

.scan-frame {
  width: 150px;
  height: 150px;
  border: 3px solid var(--primary-color);
  border-radius: var(--radius-lg);
  position: relative;
  animation: scanPulse 2s ease-in-out infinite;
}

@keyframes scanPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

.scan-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: dotPulse 1.5s ease-in-out infinite;
}

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

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.results-preview {
  background: var(--success-color);
  color: var(--white);
  padding: 1rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--gray-500);
}

.scroll-text {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gray-400);
  border-bottom: 2px solid var(--gray-400);
  transform: rotate(45deg);
  margin: 0 auto;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(10px);
  }
}

/* Hero Responsive */
@media (max-width: 768px) {
    .heart-shield-container {
        width: 299px;
    height: 250px;
    }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .phone-mockup {
    width: 70vw;
    max-width: 280px;
    aspect-ratio: 1 / 2;
    height: auto;
    transform: none;
    margin: 0 auto;
    margin-bottom: 8rem;
  }
  .phone-mockup:hover {
    transform: none;
  }

  .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .phone-mockup {
    width: 78vw;
    max-width: 260px;
    transform: none;
   
  }
  .phone-mockup:hover {
    transform: none;
  }
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--gray-600);
  line-height: 1.6;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 300px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-normal);
}

.tech-item:hover {
  transform: translateY(-5px);
}

.tech-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}

.tech-icon.ai {
  background: var(--gradient-primary);
}

.tech-icon.iot {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
}

.tech-icon.mobile {
  background: linear-gradient(
    135deg,
    var(--success-color) 0%,
    var(--secondary-color) 100%
  );
}

.tech-icon.cloud {
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--warning-color) 100%
  );
}

.tech-icon::before {
  content: "🤖";
}

.tech-icon.iot::before {
  content: "📡";
}

.tech-icon.mobile::before {
  content: "📱";
}

.tech-icon.cloud::before {
  content: "☁️";
}

.tech-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: var(--section-padding);
}

.audience-section {
  margin-bottom: 6rem;
}

.audience-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.audience-content.reverse {
  direction: rtl;
}

.audience-content.reverse > * {
  direction: ltr;
}

.audience-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
}

.audience-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.audience-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.point-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.point-content h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.point-content p {
  color: var(--gray-600);
  line-height: 1.6;
}

.audience-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-preview {
  width: 320px;
  background: var(--bg-primary);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.app-header {
  padding: 1.5rem 1.5rem 1rem;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-header h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.notification-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--error-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.profile-pic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.9;
}

.dashboard-stats,
.child-profile {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.child-profile {
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
}

.child-info h5 {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.age {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.health-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
}

.health-status.good {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.health-status .status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.stat-card {
  flex: 1;
  text-align: center;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

.stat-card.alert {
  background: rgba(239, 68, 68, 0.1);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.stat-card.alert .stat-value {
  color: var(--error-color);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 500;
}

.quick-actions,
.growth-chart,
.recommendations {
  padding: 1.5rem;
}

.quick-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 0;
}

.action-btn {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.action-btn.primary {
  background: var(--primary-color);
  color: var(--white);
}

.action-btn.secondary {
  background: var(--gray-100);
  color: var(--gray-700);
}

.growth-chart {
  border-bottom: 1px solid var(--gray-200);
}

.chart-header {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.chart-visual {
  height: 60px;
  position: relative;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.chart-line {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--success-color);
  transform: translateY(-50%);
}

.chart-points {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
}

.point {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-color);
}

.point.current {
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.recommendations h6 {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.rec-item {
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.rec-item:last-child {
  margin-bottom: 0;
}

/* Responsive for About and Features */
@media (max-width: 768px) {
  .about-content,
  .audience-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .audience-content.reverse {
    direction: ltr;
  }

  .tech-stack {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  .audience-title {
    font-size: 2rem;
  }

  .app-preview {
    width: 100%;
    max-width: 320px;
  }
}

/* ===== SHOWCASE SECTION ===== */
.showcase {
  padding: var(--section-padding);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-top: 1px solid var(--border-color);
}

.showcase .section-badge {
  background: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
}

.showcase .section-title {
  color: var(--text-primary);
}

.showcase-content {
  margin-top: 3rem;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 1rem 2rem;
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.showcase-panels {
  position: relative;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.model-container {
  text-align: center;
}

#three-container {
  width: 100%;
  height: 500px;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 1.125rem;
  box-shadow: inset 0 2px 8px var(--shadow-color);
}

.model-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.control-btn {
  padding: 0.75rem 1.5rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.control-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.model-info h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.model-info p {
  color: var(--gray-400);
}

.gallery-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item,
.video-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.gallery-item:hover,
.video-item:hover {
  transform: translateY(-5px);
}

.gallery-image,
.video-thumbnail {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.image-placeholder,
.video-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-weight: 600;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(99, 102, 241, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.play-button:hover {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.gallery-caption,
.video-info {
  padding: 1.5rem;
}

.gallery-caption h4,
.video-info h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery-caption p,
.video-info p {
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-info p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-text span {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

.contact-text a {
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.contact-text a:hover {
  color: var(--primary-color);
}

.contact-form {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-400);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-group h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.link-group a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.link-group a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--gray-400);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: var(--white);
}

/* Final Responsive Styles */
@media (max-width: 768px) {
  .showcase-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tab-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  #three-container {
    height: 300px;
  }

  .gallery-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}




 .challenges-title::after,
            .challenges-header::after,
            .challenges-container::after {
              display: none !important;
              content: none !important;
              border: none !important;
              background: none !important;
            }
            
            .card-grid {
              display: grid;
              grid-template-columns: repeat(3, 1fr);
              gap: 20px;
              margin-bottom: 20px;
              width: 100%;
              visibility: visible !important;
              opacity: 1 !important;
            }
            
            .challenge-card {
              background: rgba(255, 255, 255, 0.05);
              border-radius: 12px;
              padding: 1.5rem;
              border: 1px solid rgba(255, 255, 255, 0.1);
              transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
              height: 100%;
              display: block !important;
              visibility: visible !important;
              opacity: 1 !important;
              position: relative;
              z-index: 10;
              overflow: hidden;
            }
            
            .challenge-card::before {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              background: linear-gradient(135deg, transparent 0%, rgba(99, 102, 241, 0) 100%);
              transition: all 0.4s ease;
              z-index: -1;
              pointer-events: none;
            }
            
            .challenge-card:hover {
              transform: translateY(-8px) scale(1.02);
              box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
              border-color: rgba(99, 102, 241, 0.5);
              background: rgba(255, 255, 255, 0.08);
            }
            
            .challenge-card:hover::before {
              background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
            }
            
            .challenge-header {
              display: flex;
              align-items: center;
              margin-bottom: 1rem;
            }
            
            .challenge-icon {
              background: rgba(99, 102, 241, 0.2);
              width: 40px;
              height: 40px;
              border-radius: 50%;
              display: flex;
              align-items: center;
              justify-content: center;
              margin-right: 1rem;
              transition: all 0.4s ease;
            }
            
            .challenge-card:hover .challenge-icon {
              transform: scale(1.1);
              filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
              background: rgba(99, 102, 241, 0.3);
            }
            
            .challenge-icon i {
              color: #6366f1;
              font-size: 1.25rem;
            }
            
            .challenge-header h4 {
              color: #fff;
              margin: 0;
              font-size: 1.1rem;
              transition: all 0.4s ease;
              transform-origin: left;
            }
            
            .challenge-card:hover .challenge-header h4 {
              color: #6366f1;
              transform: translateX(5px) scale(1.05);
              text-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
            }
            
            .challenge-content p {
              color: rgba(255, 255, 255, 0.7);
              margin-bottom: 1rem;
              transition: all 0.4s ease;
              opacity: 0.7;
            }
            
            .challenge-card:hover .challenge-content p {
              color: rgba(255, 255, 255, 0.95);
              opacity: 1;
              transform: translateX(3px);
            }
            
            .challenge-progress {
              margin-top: auto;
            }
            
            .progress-bar {
              height: 6px;
              background: rgba(255, 255, 255, 0.1);
              border-radius: 3px;
              overflow: hidden;
              position: relative;
              margin-bottom: 0.5rem;
            }
            
            .progress-bar[data-percentage="78"]::before {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              height: 100%;
              width: 78%;
              background: #6366f1;
              border-radius: 3px;
            }
            
            .progress-bar[data-percentage="65"]::before {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              height: 100%;
              width: 65%;
              background: #6366f1;
              border-radius: 3px;
            }
            
            .progress-bar[data-percentage="82"]::before {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              height: 100%;
              width: 82%;
              background: #6366f1;
              border-radius: 3px;
            }
            
            .progress-bar[data-percentage="71"]::before {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              height: 100%;
              width: 71%;
              background: #6366f1;
              border-radius: 3px;
            }
            
            .progress-bar[data-percentage="89"]::before {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              height: 100%;
              width: 89%;
              background: #6366f1;
              border-radius: 3px;
            }
            
            .progress-bar[data-percentage="62"]::before {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              height: 100%;
              width: 62%;
              background: #6366f1;
              border-radius: 3px;
            }
            
            .progress-text {
              color: rgba(255, 255, 255, 0.6);
              font-size: 0.85rem;
            }
            
            @media (max-width: 992px) {
              .card-grid {
                grid-template-columns: repeat(2, 1fr);
              }
            }
            
            @media (max-width: 576px) {
              .card-grid {
                grid-template-columns: 1fr;
              }
            }




             /* Solution Overview styling to match site theme */
          .solution-overview {
            background: #0a1128;
            position: relative;
            overflow: hidden;
            padding: 6rem 0;
          }
          
          .solution-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin-top: 40px;
          }
          
          .solution-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 0;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            position: relative;
          }
          
          .solution-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
            border-color: rgba(99, 102, 241, 0.5);
            background: rgba(255, 255, 255, 0.08);
          }
          
          .solution-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, transparent 0%, rgba(99, 102, 241, 0) 100%);
            transition: all 0.4s ease;
            z-index: 1;
            pointer-events: none;
          }
          
          .solution-card:hover::before {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
          }
          
          .solution-card:hover .solution-content h3 {
            color: #6366f1;
            transform: translateX(5px) scale(1.05);
            text-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
          }
          
          .solution-card:hover .solution-content p {
            color: rgba(255, 255, 255, 0.95);
            opacity: 1;
            transform: translateX(3px);
          }
          
          .solution-icon {
            width: 100px;
            min-width: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            transition: all 0.4s ease;
            position: relative;
            z-index: 2;
          }
          
          .solution-card:hover .solution-icon {
            transform: scale(1.1);
            filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
          }
          
          .solution-content {
            padding: 25px 20px;
            transition: all 0.4s ease;
            flex: 1;
            position: relative;
            z-index: 2;
          }
          
          .solution-content h3 {
            transition: all 0.4s ease;
            margin-bottom: 10px;
            transform-origin: left;
          }
          
          .solution-content p {
            transition: all 0.4s ease;
            opacity: 0.7;
          }
          
          .solution-number {
            font-size: 1.25rem;
            font-weight: 700;
            margin-right: 10px;
            color: #ff4d4d;
          }
          
          .solution-title {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            color: #fff;
            font-size: 1.2rem;
            font-weight: 600;
          }
          
          .solution-list {
            list-style-type: none;
            padding: 0;
            margin: 0;
          }
          
          .solution-list li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 8px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.95rem;
            line-height: 1.5;
          }
          
          .solution-list li:before {
            content: "•";
            position: absolute;
            left: 0;
            color: #ff4d4d;
            font-weight: bold;
          }
          
          /* Card specific styling */
          .solution-card:nth-child(1) {
            border-left: 4px solid #FF4D4D;
          }
          
          .solution-card:nth-child(2) {
            border-left: 4px solid #6366f1;
          }
          
          .solution-card:nth-child(3) {
            border-left: 4px solid #0096FF;
          }
          
          .solution-card:nth-child(4) {
            border-left: 4px solid #FFC800;
          }
          
          .solution-card:nth-child(5) {
            border-left: 4px solid #FFD700;
          }
          
          .solution-card:nth-child(6) {
            border-left: 4px solid #64C896;
          }
          
          /* Responsive */
          @media (max-width: 992px) {
            .solution-grid {
              grid-template-columns: 1fr;
            }
          }
          
          @media (max-width: 768px) {
            .solution-card {
              flex-direction: column;
            }
            
            .solution-icon {
              width: 100%;
              padding: 20px;
            }
          }



          