/* 3D Title Effects Styling */

/* 3D title effect wrapper */
.title-3d-wrapper {
  display: inline-block;
  transition: transform 0.15s ease-out, text-shadow 0.15s ease-out;
  transform-style: preserve-3d;
  transform-origin: center center;
  padding: 0.5rem 0;
  width: 100%;
  will-change: transform, text-shadow;
}

/* Style for main titles with 3D effect */
.title-3d-effect {
  position: relative;
  perspective: 1000px;
  cursor: default;
  overflow: visible;
}

/* Highlight text */
.highlight-text {
  position: relative;
  color: #0ea5e9;
  font-weight: 700;
  transition: color 0.3s ease;
}

.highlight-text:hover {
  color: #10b981;
}

/* 3D Charts Styling */
.charts-3d-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem 0;
  width: 100%;
}

.chart-3d-canvas {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: move;
}

.chart-label {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: 600;
  transition: color 0.3s ease;
}

.chart-label:hover {
  color: #0ea5e9;
}

/* Make charts responsive */
@media (min-width: 768px) {
  .chart-3d-canvas {
    width: calc(50% - 1rem);
    height: 250px;
  }
  
  .chart-label {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 767px) {
  .charts-3d-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .chart-3d-canvas {
    height: 220px;
  }
}
