body {
  font-family: "Inter", sans-serif;
}

select option {
    color: black;
    background-color: white;
}

.font-display {
  font-family: "Space Grotesk", sans-serif;
}

.gradient-primary {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
}

.gradient-secondary {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.slide-in {
  animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.blob {
  background: linear-gradient(45deg, #3b82f6, #06b6d4, #8b5cf6);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: blob 7s ease-in-out infinite;
}

@keyframes blob {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }

  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }

  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
}

.nav-active {
  color: #3b82f6 !important;
  border-bottom: 2px solid #3b82f6;
}

.page-content {
  display: none;
}

.page-content.active {
  display: block;
}

.chatbot-bubble {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.company-logo {
  transition: all 0.3s ease;
  filter: grayscale(100%) opacity(0.7);
}

.company-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

.process-step {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  transition: all 0.3s ease;
}

.process-step:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.process-step:hover .process-icon {
  background: white;
  color: #3b82f6;
}

.process-icon {
  transition: all 0.3s ease;
}

.grid-pattern {
  background-image: radial-gradient(circle, #e5e7eb 1px, transparent 1px);
  background-size: 30px 30px;
}

.text-glow {
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.stats-counter {
  animation: countUp 2s ease-in-out;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  #chatbot {
    right: 1rem !important;
    width: calc(100vw - 2rem) !important;
    max-width: 350px !important;
  }
}

#chatbot-trigger {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#chatbot-trigger:hover {
  transform: scale(1.05);
}

/* Add these styles to your existing styles.css file */

/* Form validation styles */
.form-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-success {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Loading button styles */
.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading .btn-text {
    opacity: 0;
}

/* Notification styles */
.notification {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.notification.show {
    transform: translateX(0);
}

/* Chatbot form styles */
.chatbot-form-field {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 4px 0;
    font-size: 0.875rem;
}

.chatbot-form-field:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Enhanced chatbot messages */
.chatbot-message-form {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #3b82f6;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
}

.chatbot-message-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #10b981;
    color: #166534;
}

.chatbot-message-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 4px solid #ef4444;
    color: #dc2626;
}

/* Form input focus states */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2) !important;
}

/* Required field indicator */
.required-field::after {
    content: ' *';
    color: #f87171;
    font-weight: bold;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .notification {
        right: 1rem !important;
        left: 1rem !important;
        max-width: none !important;
    }
    
    .chatbot-form-field {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Enhanced hover effects for form elements */
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Submit button enhanced states */
.submit-btn {
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

/* Chatbot typing indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}