/* Custom Styles for Punarchakar Recycling Website */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  scroll-behavior: smooth;
}

/* Enhanced form inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

button:active {
  transform: scale(0.98);
}

/* Smooth transitions for hidden elements */
.hidden {
  display: none !important;
}

/* Card hover effects */
.bg-white,
.bg-gray-50,
.bg-emerald-50 {
  transition: all 0.3s ease;
}

section:hover .bg-white,
section:hover .bg-gray-50 {
  transform: translateY(-2px);
}

/* Modal animations */
#successModal {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Gradient text effect */
.gradient-text {
  background: linear-gradient(90deg, #10b981, #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive navigation */
@media (max-width: 768px) {
  nav .flex {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  nav a {
    padding: 0.5rem;
    width: 100%;
    text-align: center;
  }
}

/* Loading spinner */
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 3px solid white;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 8px;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: #10b981;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #059669;
}

/* Section spacing */
section {
  scroll-margin-top: 70px;
}

/* Text justification for professional look */
.text-justify {
  text-align: justify;
  text-justify: inter-word;
}

p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* World-class gradient backgrounds */
.gradient-bg-primary {
  background: linear-gradient(135deg, #10b981 0%, #14b8a6 50%, #06b6d4 100%);
}

.gradient-bg-secondary {
  background: linear-gradient(135deg, #059669 0%, #0d9488 50%, #0891b2 100%);
}

/* Professional color bands */
.color-band {
  height: 4px;
  background: linear-gradient(90deg, #10b981 0%, #14b8a6 50%, #06b6d4 100%);
  margin: 2rem 0;
}

