/* Numerology Statistics Section Styling */
:root {
  --primary-color: #0a1f44;
  --accent-color: #5e72e4;
  --accent-gradient: linear-gradient(135deg, #5e72e4, #825ee4);
  --light-color: #ffffff;
  --bg-dark: #0a1f44;
  --bg-light: #f8f9fe;
  --shadow: 0 8px 20px rgba(94, 114, 228, 0.15);
  --transition: all 0.3s ease;
}

/* Main statistics heading section */
.thansohoc-heading {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--light-color);
  line-height: 1.4;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.thansohoc-heading:after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  height: 4px;
  width: 80px;
  background: var(--accent-gradient);
  border-radius: 2px;
  animation: expandWidth 1.5s ease-in-out;
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

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

/* Statistics grid container */
.list-statistical {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1.5rem;
}

/* Statistics card styling */
.statistical-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInStagger 0.8s ease-out forwards;
}

.statistical-card:nth-child(1) { animation-delay: 0.2s; }
.statistical-card:nth-child(2) { animation-delay: 0.4s; }
.statistical-card:nth-child(3) { animation-delay: 0.6s; }
.statistical-card:nth-child(4) { animation-delay: 0.8s; }

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

.statistical-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.statistical-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.statistical-card:hover:before {
  opacity: 0.05;
}

/* Icon container */
.statistical-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.statistical-icon:after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  animation: ping 2s infinite cubic-bezier(0, 0, 0.2, 1);
}

@keyframes ping {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  75%, 100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.statistical-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(94, 114, 228, 0.3));
  transition: var(--transition);
}

.statistical-card:hover .statistical-icon img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px rgba(94, 114, 228, 0.5));
}

/* Statistics number */
.statistical-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-color);
  margin: 0.5rem 0;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  opacity: 0;
  animation: countUp 2s forwards 1s;
}

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

.statistical-number:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 40px;
  background: var(--accent-gradient);
  border-radius: 1px;
  opacity: 0.5;
  animation: expandWidth 1.5s ease-in-out 1.2s;
}

/* Statistics label */
.statistical-label {
  font-size: 1.1rem;
  color: var(--light-color);
  opacity: 0.9;
  font-weight: 500;
  animation: fadeIn 1s ease-in-out 1.5s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.9;
  }
}

/* Features section styling */
.features-section {
  position: relative;
}

.feature-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-bottom: 0.5rem;
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.feature-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--light-color);
  margin-bottom: 1.5rem;
  animation: fadeInRight 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.feature-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 1.05rem;
  animation: fadeInRight 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.feature-card {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.6s; }
.feature-card:nth-child(2) { animation-delay: 0.8s; }

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
}

.feature-icon:after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover .feature-icon:after {
  opacity: 1;
  animation: spin 8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.feature-card:hover .feature-icon {
  transform: translateY(-5px);
  background-color: rgba(94, 114, 228, 0.1);
  border-color: rgba(94, 114, 228, 0.3);
  box-shadow: 0 8px 20px rgba(94, 114, 228, 0.2);
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.feature-card:hover .feature-icon img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.feature-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--light-color);
  margin-bottom: 0.8rem;
  position: relative;
  display: inline-block;
  transition: var(--transition);
}

.feature-content h3:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition);
}

.feature-card:hover .feature-content h3:after {
  width: 100%;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 1rem;
  transition: var(--transition);
}

.feature-card:hover .feature-content p {
  color: rgba(255, 255, 255, 0.9);
}

/* Floating elements for enhanced visuals */
.section-content {
  position: relative;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  background: var(--accent-gradient);
  opacity: 0.03;
  border-radius: 50%;
  z-index: 0;
  animation: float 15s ease-in-out infinite alternate;
}

.floating-element:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -5%;
  animation-duration: 20s;
}

.floating-element:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: 5%;
  right: -2%;
  animation-duration: 15s;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 15%;
  animation-duration: 18s;
  animation-delay: 5s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(30px, 20px) rotate(5deg);
  }
  100% {
    transform: translate(-20px, 40px) rotate(-5deg);
  }
}

/* Responsive styles */
@media (max-width: 1200px) {
  .list-statistical {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .thansohoc-heading {
    font-size: 2.2rem;
    max-width: 95%;
  }
  
  .floating-element {
    display: none;
  }
}

@media (max-width: 768px) {
  .thansohoc-heading {
    font-size: 1.8rem;
  }
  
  .list-statistical {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .feature-heading {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .feature-title {
    text-align: center;
  }
  
  .feature-description {
    text-align: center;
  }
  
  .feature-content h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .feature-card:hover .feature-content h3:after {
    width: 80%;
  }
} 