/* Custom CSS Styles for Viên Nén Bã Điều Website */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --primary-green: #15803d;
  --primary-dark-green: #166534;
  --cashew-brown: #92400e;
  --cashew-amber: #b45309;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', 'Inter', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #15803d;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #166534;
}

/* Pulse Wave animation for Hotline floating button */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 101, 52, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 15px rgba(22, 101, 52, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 101, 52, 0);
  }
}

@keyframes pulse-ring-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 15px rgba(225, 29, 72, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}

.animate-pulse-hotline {
  animation: pulse-ring-red 2s infinite;
}

.animate-pulse-zalo {
  animation: pulse-ring 2s infinite 0.5s;
}

/* Glassmorphism & Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient text */
.text-gradient-green {
  background: linear-gradient(135deg, #166534 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #92400e 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-hero {
  background: linear-gradient(135deg, #ffffff 30%, #86efac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Table Hover styling */
.tech-table tr:hover {
  background-color: rgba(21, 128, 61, 0.04);
}

/* Custom Modal transitions */
.modal-backdrop {
  transition: opacity 0.3s ease-in-out;
}

.modal-content {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Active Nav link */
.nav-link.active {
  color: #15803d;
  font-weight: 700;
  border-bottom: 2px solid #15803d;
}

/* Floating Action Buttons Container */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
