/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A custom child theme for Hello Elementor.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-elementor-child
Template: hello-elementor
*/

/* Custom CSS for animations and styles with updated Flint colors */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  33% {
    transform: translateY(-15px) translateX(5px);
  }
  66% {
    transform: translateY(-5px) translateX(-5px);
  }
}

@keyframes float-medium {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-12px) translateX(8px);
  }
  }

@keyframes float-fast {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  25% {
    transform: translateY(-8px) translateX(4px);
  }
  75% {
    transform: translateY(-4px) translateX(-4px);
  }
}

@keyframes pulse-gentle {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom button hover effects */
.btn-hover-scale {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hover-scale:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(74, 0, 51, 0.15);
}

/* Navigation underline animation */
.nav-link {
  position: relative;
}

/* .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff674d;
  transition: width 0.3s ease;
} */

/* .nav-link:hover::after {
  width: 100%;
} */

/* Progress bar styling */
.progress-bar {
  background: linear-gradient(to right, #ff674d, #4a0033);
  height: 4px;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Card hover effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(74, 0, 51, 0.15);
}

/* Form input focus styles */
.form-input:focus {
  outline: none;
  border-color: #ff674d;
  box-shadow: 0 0 0 3px rgba(255, 103, 77, 0.1);
}

/* Gradient text animation */
.gradient-text {
  background: linear-gradient(45deg, #ff674d, #4a0033);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-text 3s ease-in-out infinite;
}

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

.ticker-track img:hover {
  transform: scale(1.1);
  opacity: 1;
}
.ticker-left .ticker-track {
  animation-name: scroll-left;
  animation-duration: 20s;
}
.ticker-right .ticker-track {
  animation-name: scroll-right;
  animation-duration: 20s;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #faede6;
}

::-webkit-scrollbar-thumb {
  background: #84345b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4a0033;
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in {
  animation: fade-in 0.5s ease-in-out;
}

/* Custom CSS for newsletter toast positioning */
#newsletter-toast-message-container {
    /* Make this container act as the positioning context for its children */
    position: relative;
    width: 100%; /* Ensure it takes full width to allow centering */
    min-height: 2rem; /* Give it some height even when empty */
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically if needed */
    overflow: hidden; /* Hide overflow if toast is too wide */
}

/* Ensure the toast message itself is styled correctly within this container */
#newsletter-toast-message-container .toast-message {
    /* Override any fixed positioning from the JS class */
    position: relative !important; /* Make it relative to its new container */
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important; /* Remove any transform that might offset it */
    width: auto !important; /* Allow width to be natural based on content */
    max-width: 100% !important; /* Prevent overflow */
    box-sizing: border-box; /* Include padding/border in width */
    margin: 0 auto !important; /* Ensure it's centered within the flex container */
}

/* General toast message styling (for fixed toasts, if they still exist) */
.toast-message {
    /* General styles for all toasts, can be overridden by specific containers */
    transition: opacity 0.3s ease-in-out;
}