/* ========================================
   Caring Touch Professional Features Enhancement
   Quantique Minds - Healthcare Excellence
   ======================================== */

/* ========================================
   Sophisticated Caring Touch Footer with Glass Morphism
   Healthcare Green Theme from Hero Gradient
   ======================================== */

/* Color Variables for Caring Touch Footer */
.caring-touch-theme {
  --caring-primary-rgb: 5, 150, 105;      /* #059669 - Emerald */
  --caring-secondary-rgb: 6, 78, 59;       /* #064e3b - Dark Green */
  --caring-accent-rgb: 16, 185, 129;       /* #10B981 - Light Green */
}

/* Caring Touch Footer Layout */
.caring-touch-theme .footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Glass Morphism Footer Sections with Healthcare Green Tint */
.caring-touch-theme .footer-section {
  background: rgba(var(--caring-primary-rgb), 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(var(--caring-primary-rgb), 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.caring-touch-theme .footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #059669, #10B981);
  border-radius: 18px 18px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.caring-touch-theme .footer-section:hover {
  background: rgba(var(--caring-primary-rgb), 0.08);
  border-color: rgba(var(--caring-primary-rgb), 0.25);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(var(--caring-primary-rgb), 0.12), 0 6px 15px rgba(0, 0, 0, 0.1);
}

.caring-touch-theme .footer-section:hover::before {
  opacity: 1;
}

/* Enhanced Footer Typography with Gradient Text */
.caring-touch-theme .footer-section h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.caring-touch-theme .footer-section h4 {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.caring-touch-theme .footer-section h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 35px;
  height: 2px;
  background: linear-gradient(90deg, #059669, #10B981);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.caring-touch-theme .footer-section:hover h4::after {
  width: 50px;
}

.caring-touch-theme .footer-section p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.caring-touch-theme .footer-section:hover p {
  color: rgba(255, 255, 255, 0.95);
}

/* Professional List Styling */
.caring-touch-theme .footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.caring-touch-theme .footer-section ul li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.2rem;
  transition: transform 0.2s ease;
}

.caring-touch-theme .footer-section ul li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  color: #059669;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.caring-touch-theme .footer-section ul li:hover {
  transform: translateX(4px);
}

.caring-touch-theme .footer-section ul li:hover::before {
  transform: translateX(4px);
  color: #10B981;
}

/* Enhanced Footer Links with Hover Effects */
.caring-touch-theme .footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.25rem 0;
}

.caring-touch-theme .footer-section a:hover {
  color: white;
  background: rgba(var(--caring-primary-rgb), 0.15);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  margin: -0.4rem -0.8rem;
  box-shadow: 0 4px 12px rgba(var(--caring-primary-rgb), 0.2);
}

.caring-touch-theme .footer-section a:hover::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, #059669, #10B981);
  border-radius: 1px;
}

/* Enhanced Contact Info */
.caring-touch-theme .contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.caring-touch-theme .contact-info p:hover {
  background: rgba(var(--caring-primary-rgb), 0.1);
  color: white;
  transform: translateX(4px);
}

/* Sophisticated Tech Badge */
.caring-touch-theme .footer-tech-badge {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(var(--caring-primary-rgb), 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--caring-primary-rgb), 0.3);
  border-radius: 25px;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.caring-touch-theme .footer-tech-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.caring-touch-theme .footer-tech-badge:hover::before {
  left: 100%;
}

.caring-touch-theme .footer-tech-badge:hover {
  background: rgba(var(--caring-primary-rgb), 0.2);
  border-color: rgba(var(--caring-primary-rgb), 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--caring-primary-rgb), 0.15);
}

.caring-touch-theme .footer-tech-badge span {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

/* Refined Footer Bottom */
.caring-touch-theme .footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--caring-primary-rgb), 0.2);
  text-align: center;
  margin-top: 2rem;
}

.caring-touch-theme .footer-bottom p {
  margin: 0.75rem 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.caring-touch-theme .footer-bottom p:hover {
  color: rgba(255, 255, 255, 0.95);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .caring-touch-theme .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .caring-touch-theme .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .caring-touch-theme .footer-section {
    padding: 2rem 1.5rem;
  }
}

/* Professional Feature Cards for Healthcare */
.caring-touch-theme .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding: 0 1rem;
}

.caring-touch-theme .feature-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(16, 185, 129, 0.15);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(16, 185, 129, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.caring-touch-theme .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #059669, #047857);
  border-radius: 24px 24px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.caring-touch-theme .feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.02) 0%,
    rgba(5, 150, 105, 0.04) 50%,
    rgba(4, 120, 87, 0.02) 100%
  );
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.caring-touch-theme .feature-card:hover {
  transform: translateY(-12px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 
    0 20px 64px rgba(0, 0, 0, 0.12),
    0 8px 32px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.caring-touch-theme .feature-card:hover::before {
  opacity: 1;
}

.caring-touch-theme .feature-card:hover::after {
  opacity: 1;
}

/* Professional Icon Container */
.caring-touch-theme .feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10B981, #059669);
  border-radius: 20px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.caring-touch-theme .feature-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.caring-touch-theme .feature-card:hover .feature-icon {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.caring-touch-theme .feature-card:hover .feature-icon::before {
  opacity: 1;
}

/* Professional Icon Symbols */
.caring-touch-theme .feature-icon .icon-symbol {
  font-size: 2rem;
  color: white;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Enhanced Typography */
.caring-touch-theme .feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.caring-touch-theme .feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--neutral-700);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* Professional Feature List */
.caring-touch-theme .feature-list {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0 0;
  border-top: 1px solid rgba(16, 185, 129, 0.1);
}

.caring-touch-theme .feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--neutral-600);
  font-weight: 500;
  transition: all 0.2s ease;
}

.caring-touch-theme .feature-list li::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #10B981, #059669);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.caring-touch-theme .feature-list li::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: -20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.caring-touch-theme .feature-list li:hover {
  color: var(--neutral-700);
  transform: translateX(4px);
}

/* Animated Decorative Elements */
.caring-touch-theme .feature-card .decoration {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.caring-touch-theme .feature-card:hover .decoration {
  opacity: 1;
  transform: scale(1);
  animation: medicalPulse 2s ease-in-out infinite;
}


/* Specific Icon Styling */
.caring-touch-theme .feature-card:nth-child(1) .feature-icon {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.caring-touch-theme .feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #06B6D4, #0891B2);
}

.caring-touch-theme .feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.caring-touch-theme .feature-card:nth-child(4) .feature-icon {
  background: linear-gradient(135deg, #EF4444, #DC2626);
}

.caring-touch-theme .feature-card:nth-child(5) .feature-icon {
  background: linear-gradient(135deg, #10B981, #059669);
}

.caring-touch-theme .feature-card:nth-child(6) .feature-icon {
  background: linear-gradient(135deg, #6366F1, #4F46E5);
}

/* Staggered Animation */
.caring-touch-theme .feature-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.caring-touch-theme .feature-card:nth-child(1) { animation-delay: 0.1s; }
.caring-touch-theme .feature-card:nth-child(2) { animation-delay: 0.2s; }
.caring-touch-theme .feature-card:nth-child(3) { animation-delay: 0.3s; }
.caring-touch-theme .feature-card:nth-child(4) { animation-delay: 0.4s; }
.caring-touch-theme .feature-card:nth-child(5) { animation-delay: 0.5s; }
.caring-touch-theme .feature-card:nth-child(6) { animation-delay: 0.6s; }

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

/* Responsive Design */
@media (max-width: 768px) {
  .caring-touch-theme .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .caring-touch-theme .feature-card {
    padding: 2rem;
  }
  
  .caring-touch-theme .feature-icon {
    width: 70px;
    height: 70px;
  }
  
  .caring-touch-theme .feature-icon .icon-symbol {
    font-size: 1.75rem;
  }
  
  .caring-touch-theme .feature-card h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .caring-touch-theme .feature-card {
    padding: 1.5rem;
  }
  
  .caring-touch-theme .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .caring-touch-theme .feature-icon .icon-symbol {
    font-size: 1.5rem;
  }
  
  .caring-touch-theme .feature-card:hover {
    transform: translateY(-8px);
  }
}

/* High Contrast and Accessibility */
@media (prefers-contrast: high) {
  .caring-touch-theme .feature-card {
    background: white;
    border: 2px solid var(--color-primary);
  }
  
  .caring-touch-theme .feature-icon {
    background: var(--color-primary);
  }
}

@media (prefers-reduced-motion: reduce) {
  .caring-touch-theme .feature-card,
  .caring-touch-theme .feature-icon,
  .caring-touch-theme .decoration {
    animation: none;
    transition: none;
  }
  
  .caring-touch-theme .feature-card:hover {
    transform: none;
  }
}

