/* 
 * Consistent Icons and Graphic Transitions
 * Unified visual language and smooth transitions between sections
 */

/* Icon consistency */
.icon-primary {
  color: var(--primary-color);
}

.icon-accent {
  color: var(--accent-color);
}

.icon-light {
  color: var(--text-light);
}

/* Icon sizes */
.icon-sm {
  font-size: 1rem;
}

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

.icon-lg {
  font-size: 2rem;
}

.icon-xl {
  font-size: 3rem;
}

/* Icon containers */
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.icon-circle-primary {
  background-color: rgba(26, 54, 93, 0.1);
}

.icon-circle-accent {
  background-color: rgba(214, 158, 46, 0.1);
}

/* Icon hover effects */
.icon-hover-grow:hover {
  transform: scale(1.1);
}

.icon-hover-rotate:hover {
  transform: rotate(10deg);
}

.icon-hover-color:hover {
  color: var(--accent-color);
}

/* Section transitions */
.section-divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.section-divider.top {
  top: -1px;
  transform: rotate(180deg);
}

.section-divider.bottom {
  bottom: -1px;
}

/* Wave divider */
.divider-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.divider-wave .shape-fill {
  fill: #FFFFFF;
}

/* Curved divider */
.divider-curve svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.divider-curve .shape-fill {
  fill: #FFFFFF;
}

/* Triangle divider */
.divider-triangle svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

.divider-triangle .shape-fill {
  fill: #FFFFFF;
}

/* Diagonal divider */
.divider-diagonal svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}

.divider-diagonal .shape-fill {
  fill: #FFFFFF;
}

/* Section transitions with animations */
.section-transition {
  position: relative;
  overflow: hidden;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in-left animation */
.fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade-in-right animation */
.fade-in-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animation for lists */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
}

.stagger-item.visible {
  animation: staggerFade 0.5s ease forwards;
}

.stagger-item:nth-child(1).visible {
  animation-delay: 0.1s;
}

.stagger-item:nth-child(2).visible {
  animation-delay: 0.2s;
}

.stagger-item:nth-child(3).visible {
  animation-delay: 0.3s;
}

.stagger-item:nth-child(4).visible {
  animation-delay: 0.4s;
}

.stagger-item:nth-child(5).visible {
  animation-delay: 0.5s;
}

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

/* Decorative elements */
.section-decoration {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.dots-pattern {
  width: 200px;
  height: 200px;
  background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.1;
}

.dots-top-right {
  top: 50px;
  right: 50px;
}

.dots-bottom-left {
  bottom: 50px;
  left: 50px;
}

.lines-pattern {
  width: 150px;
  height: 150px;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(26, 54, 93, 0.1),
    rgba(26, 54, 93, 0.1) 1px,
    transparent 1px,
    transparent 10px
  );
}

.lines-top-left {
  top: 50px;
  left: 50px;
}

.lines-bottom-right {
  bottom: 50px;
  right: 50px;
}

.gold-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 158, 46, 0.1) 0%, rgba(214, 158, 46, 0) 70%);
}

.gold-circle-top-right {
  top: -150px;
  right: -150px;
}

.gold-circle-bottom-left {
  bottom: -150px;
  left: -150px;
}

.blue-circle {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 54, 93, 0.1) 0%, rgba(26, 54, 93, 0) 70%);
}

.blue-circle-top-left {
  top: -100px;
  left: -100px;
}

.blue-circle-bottom-right {
  bottom: -100px;
  right: -100px;
}

/* Consistent hover transitions */
.hover-transition {
  transition: all 0.3s ease;
}

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

.hover-shadow:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Consistent focus styles for accessibility */
.focus-visible:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .stagger-item {
    transition: none !important;
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  
  .section-divider {
    transition: none !important;
  }
}
