/*
Theme Name: Aprodigy
Theme URI: https://aprodigy.ma/
Author: Aprodigy
Author URI: https://aprodigy.ma/
Version: 0.1
Description: Placeholder theme for Aprodigy with multilingual support.
Text Domain: prdg
Domain Path: /languages
*/

@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700;900&display=swap");

* {
  font-family: "Titillium Web", sans-serif;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.gradient-text {
  background: linear-gradient(135deg, #00F0FF 0%, #00A99D 50%, #004D40 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient-move 5s linear infinite;
}

@keyframes gradient-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.glow-effect {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), 0 0 40px rgba(0, 240, 255, 0.2);
  transition: all 0.3s ease;
}

.glow-effect:hover {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6), 0 0 60px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.glow-effect-purple {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.glass-card {
  background: rgba(21, 21, 32, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.gradient-border {
  position: relative;
  background: rgba(21, 21, 32, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gradient-border:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, #00A99D, #00F0FF, #004D40);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
  opacity: 1;
}

/* Modern Grid Background */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* Animated Background Blob */
.blob {
  position: absolute;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
  animation: blob-bounce 10s infinite ease-in-out;
}

@keyframes blob-bounce {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Contact Form 7 Base Styles */
.wpcf7 {
  width: 100%;
}

/* Response Output (Success/Error global message) */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #00A99D;
  /* Neon Blue */
  color: #00A99D;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1.5rem;
  background: rgba(0, 240, 255, 0.1);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #ff3366;
  color: #ff3366;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1.5rem;
  background: rgba(255, 51, 102, 0.1);
}

/* Validation Errors (Field identification) */
span.wpcf7-not-valid-tip {
  color: #ff3366;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

/* Invalid Input Field Styling */
.wpcf7-not-valid {
  border-color: #ff3366 !important;
}

/* Loader */
.wpcf7-spinner {
  background-color: #00A99D;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
  will-change: opacity, transform;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
  will-change: opacity, transform;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }
