/* Custom Colors */
:root {
  --recruiter-50: #f0f9ff;
  --recruiter-100: #e0f2fe;
  --recruiter-200: #bae6fd;
  --recruiter-300: #7dd3fc;
  --recruiter-400: #38bdf8;
  --recruiter-500: #0ea5e9;
  --recruiter-600: #0284c7;
  --recruiter-700: #0369a1;
  --recruiter-800: #075985;
  --recruiter-900: #0c4a6e;
}

/* Glass Card Effect */
.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-radius: 1rem;
}

/* Reveal Animation */
.reveal-element {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.reveal-element.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: var(--recruiter-500);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--recruiter-600);
}

/* Form Input Focus Styles */
input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--recruiter-500);
}

/* Button Hover Effects */
button {
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-1px);
}

/* Mobile Menu Animation */
#mobile-menu {
  transition: all 0.3s ease-in-out;
}

#mobile-menu.hidden {
  display: none;
}

/* Feature Card Hover Effect */
.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Pricing Card Hover Effect */
.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonial Card Hover Effect */
.testimonial-card {
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Typography */
@media (max-width: 640px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  p {
    font-size: 1rem;
  }
}

/* Custom Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

/* Loading Spinner */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--recruiter-100);
  border-top: 4px solid var(--recruiter-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Custom Form Validation Styles */
input:invalid,
textarea:invalid {
  border-color: #ef4444;
}

/* input:valid, textarea:valid {
    border-color: #10b981;
} */

/* Custom Focus Ring */
.focus-ring {
  position: relative;
}

.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.5);
}

/* Custom Tooltip */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  background-color: var(--recruiter-900);
  color: white;
  text-align: center;
  padding: 5px 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Custom Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

.text-recruiter-500 {
  --tw-text-opacity: 1;
  color: rgb(12 135 232 / var(--tw-text-opacity, 1));
}

.text-recruiter-900 {
  --tw-text-opacity: 1;
  color: rgb(10 63 118 / var(--tw-text-opacity, 1));
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Custom Toast Notification */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 8px;
  background-color: var(--recruiter-500);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  animation: toastSlideIn 0.3s ease-out;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

/* Process Flow Styles */
.dots-bg {
  background-image: radial-gradient(#e0effe 1px, transparent 1px);
  background-size: 20px 20px;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: rgba(14, 165, 233, 0.2);
}

/* Process Flow SVG Animation */
.path {
  animation: dash 30s linear infinite;
}

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

@media (min-width: 768px) {
  .md\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Demo/CTA Section Styles */
.bg-recruiter-900 {
  background-color: rgb(10 63 118);
}

.bg-recruiter-800\/50 {
  background-color: rgba(7, 89, 133, 0.5);
}

.bg-recruiter-700\/50 {
  background-color: rgba(3, 105, 161, 0.5);
}

.border-recruiter-700 {
  border-color: rgb(3, 105, 161);
}

.border-recruiter-600 {
  border-color: rgb(2, 132, 199);
}

.text-recruiter-100 {
  color: rgb(224, 242, 254);
}

.focus\:ring-recruiter-500:focus {
  --tw-ring-color: rgb(14, 165, 233);
}

.hover\:bg-recruiter-400:hover {
  background-color: rgb(56, 189, 248);
}

/* Animated SVG Path */
.animated-path {
  animation: dash 30s linear infinite;
}

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

/* Feature card icon container */
.bg-recruiter-50 {
  background-color: rgba(14, 165, 233, 0.1);
}

/* Feature card text colors */
.text-recruiter-700 {
  color: rgb(14, 165, 233);
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 2rem;
  padding-left: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card-glass {
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .card-glass {
    padding: 1.25rem;
  }

  .card-glass h3 {
    font-size: 1.125rem;
  }

  .card-glass p {
    font-size: 0.875rem;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}
