/* About Page Specific Styles */

/* Page Title Animation */
main h1 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  text-align: center;
}

/* Section Styling with Scroll Animations */
section {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
}

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

section:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

section.visible:hover {
  transform: translateY(-4px);
}

section:last-child {
  margin-bottom: 0;
}

/* Enhanced Section Cards */
section.bg-white {
  position: relative;
  overflow: hidden;
}

section.bg-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

section:hover::before {
  transform: scaleX(1);
}

/* List Styling */
ul.list-none {
  padding-left: 0;
  list-style: none;
}

ul.list-none li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.7;
  transition: transform 0.2s ease;
}

ul.list-none li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

section:hover ul.list-none li::before {
  transform: scale(1.2);
}

ul.list-none li strong {
  color: var(--accent);
  font-weight: 600;
}

[data-theme="dark"] ul.list-none li strong {
  color: var(--accent);
}

/* Paragraph Spacing */
section p {
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
}

section p:last-child {
  margin-bottom: 0;
}

/* Heading Styles */
section h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.4s ease;
}

section:hover h2::after {
  width: 100%;
}

/* CTA Section at Bottom */














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

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Dark Mode Adjustments */
[data-theme="dark"] section h2 {
  color: #ffffff;
}

[data-theme="dark"] section p {
  color: #e5e5e5;
}

[data-theme="dark"] section.bg-white {
  background: var(--primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
}




/* Mobile Responsive */
@media (max-width: 768px) {
  section {
    margin-bottom: 1.5rem;
  }
  
  section h2 {
    font-size: 1.5rem;
  }
  

/* Small Mobile Responsive */
@media (max-width: 480px) {
  main h1 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }
  
  section {
    margin-bottom: 1.25rem;
    padding: 1.25rem;
  }
  
  section h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  section p,
  ul.list-none li {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
