/*
Theme Name:   InfiniCore DataWorks
Theme URI:    https://www.mdjamrulmia.com/
Author:       Md Jamrul Mia
Author URI:   https://www.mdjamrulmia.com/
Description:  A custom, high-performance hybrid theme for InfiniCore DataWorks.
Version:      1.2.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  infinicore-dataworks
Tags:         custom-theme, elementor
*/

/* Custom non-Tailwind styles from your original HTML <style> tag */
.font-outfit {
  font-family: 'Outfit', sans-serif;
}
.font-alata {
  font-family: 'Alata', sans-serif;
}
.scroll-smooth {
  scroll-behavior: smooth;
}

/* STICKY HEADER STYLES (THE FIX) */
.sticky-header {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* This targets "InfiniCore" and the nav links, making them dark */
.sticky-header .text-white {
  color: #1f2937 !important; /* text-gray-800 */
}

/* This targets the "DataWorks" box and the "Get Started" button */
.sticky-header .bg-white {
  background-color: #2563eb !important; /* bg-primary */
  color: #ffffff !important; /* text-white */
}

/* This targets the nav link hover effect when sticky */
.sticky-header .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05) !important; /* light gray hover */
}

/* Animation for service cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fadeInUp {
  animation: fadeInUp 0.5s ease forwards;
}

/* Typewriter Cursor */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  background-color: currentColor;
  margin-left: 2px;
  animation: blink 1s infinite;
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .typewriter-cursor {
    animation: none;
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}