/*
 * Index (Homepage) - Bootstrap Custom Styles
 * Page-specific styles only (common styles in common-bootstrap.css)
 */

/* ========================================
   SECTIONS
   ======================================== */

section {
  position: relative;
}

/* Compliance Section */
.compliance-section h3 {
  color: var(--primary-dark);
}

/* Innovation Section */
.innovation-section {
  position: relative;
}

.innovation-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Semi-transparent gradient overlay - adjust the last number (0.85) to change opacity:
     0.0 = fully transparent (background fully visible)
     0.5 = 50% transparent
     0.85 = 85% opaque (current setting)
     1.0 = fully opaque (background completely hidden) */
  background: linear-gradient(135deg, rgba(45, 63, 127, 0.6) 0%, rgba(27, 36, 75, 0.5) 100%);
  z-index: 1;
}

.innovation-section .container {
  position: relative;
  z-index: 2;
}

.innovation-section h3,
.innovation-section h6 {
  color: #FFFFFF !important;
}

/* ========================================
   TRANSFORM CX SECTION
   ======================================== */

.transform-cx-section h3,
.transform-cx-section h6 {
  color: #FFFFFF !important;
}

.transform-cx-section h3 {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.transform-cx-section h6 {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
}

.features-list {
  background: rgba(45, 63, 127, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.feature-item {
  text-align: left;
  padding: 0.1rem;
}

.feature-item p {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  text-align: left;
}

.feature-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 0.75rem 0;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .transform-cx-section h3 {
    font-size: 2rem;
  }

  .transform-cx-section h6 {
    font-size: 1rem;
  }

  .features-list {
    padding: 2rem 1.5rem;
  }

  .feature-item p {
    font-size: 1rem;
  }
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
  background: linear-gradient(135deg, var(--accent-900) 0%, var(--accent-950) 100%);
  padding: 6rem 0;
  overflow: hidden;
}

.stats-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(71, 102, 229, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.stats-section .container {
  z-index: 2;
}

.stats-section h1 {
  color: #FFFFFF;
  font-weight: 700;
}

.stats-section h5,
.stats-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* Animated spheres */
.stats-sphere {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-hover) 0%, var(--accent-400) 100%);
  filter: blur(80px);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.stats-sphere-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.stats-sphere-2 {
  width: 250px;
  height: 250px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.stats-sphere-3 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* ========================================
   IMPACT SECTION
   ======================================== */

.impact-header {
  position: relative;
}

.impact-stat h1 {
  color: #FFFFFF;
  font-weight: 700;
}

.impact-stat h3,
.impact-stat h6 {
  color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {

  .impact-section h1 {
    font-size: 3rem;
  }

  .stats-section h1 {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  .impact-section h1,
  .stats-section h1 {
    font-size: 2.5rem;
  }
}
