/* Custom Styles - Project Specific Overrides */
/* Add any custom styles specific to s.e.h.a.t here */

/* Glass-morphism effects */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 88, 147, 0.1);
}

/* Smooth scrolling enhancement */
html {
  scroll-padding-top: 80px;
}

/* Enhanced hero subtitle */
.hero-text p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-gray);
}

.hero-text h1 .highlight {
  background: var(--color-gradient-vibrant);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

/* Additional animations for hero illustration */
.hero-illustration rect,
.hero-illustration circle,
.hero-illustration path {
  animation: float 4s ease-in-out infinite;
}

.hero-illustration rect:nth-child(2) {
  animation-delay: 0.5s;
}

.hero-illustration circle {
  animation: float 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

.hero-illustration circle:nth-child(1) {
  animation-delay: 0s;
}

.hero-illustration circle:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-illustration circle:nth-child(3) {
  animation-delay: 0.6s;
}

.hero-illustration path {
  animation: dash 3s linear infinite;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.05);
  }
}

/* Custom hover effects for problem cards */
.problem-card:hover {
  border-left-width: 0;
}

/* Enhanced pulse animation for emergency cards */
.card-primary {
  position: relative;
  overflow: hidden;
}

.card-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Loading animation for sections */
@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: sectionFadeIn 0.6s ease-out;
}

/* Enhanced card title styling */
.card-title {
  transition: all var(--transition-normal);
}

.solution-card:hover .card-title {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff7ab5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section divider effect */
section:not(:last-of-type):not(.stats-section):not(#how-it-works)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-overlay) 50%, transparent 100%);
}

/* Stat suffix initial state for animation */
.stat-suffix {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.5s ease 0.3s;
}

/* Section tag animation */
.section-tag {
  animation: pulse 2s ease-in-out infinite, shimmerTag 3s ease-in-out infinite;
  background: var(--color-gradient-soft);
  box-shadow: 0 2px 10px rgba(255, 88, 147, 0.15);
}

@keyframes shimmerTag {
  0%, 100% {
    box-shadow: 0 2px 10px rgba(255, 88, 147, 0.15);
  }
  50% {
    box-shadow: 0 4px 20px rgba(255, 88, 147, 0.3);
  }
}

/* Enhanced section spacing on larger screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
}

/* Better mobile card spacing */
@media (max-width: 768px) {
  .card {
    margin-bottom: var(--spacing-sm);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    gap: var(--spacing-sm);
  }

  .hero-text p {
    font-size: 1.125rem;
  }

  .hero-illustration {
    max-width: 350px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .back-to-top,
  .btn {
    display: none !important;
  }

  section {
    page-break-inside: avoid;
  }
}

/* Ensure all content is visible */
body, html {
  overflow-x: hidden;
  width: 100%;
}

section, .card, .section-header {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Enhance CTA section buttons */
#cta .btn {
  position: relative;
  z-index: 2;
}

/* Better focus states for accessibility */
button:focus,
a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
button,
a,
.card,
.faq-item {
  transition: all var(--transition-normal);
}

/* Add gradient animation to gradient shift */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
