/* Custom styles for the website */
body {
    font-family: 'Inter', sans-serif;
}

/* Gradient Backgrounds */
.gradient-bg {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.8) 0%, rgba(249, 115, 22, 0.7) 100%);
}

.gradient-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
}

.gradient-hero {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.8) 0%, rgba(249, 115, 22, 0.7) 100%);
}

.gradient-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.gradient-button {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  transition: all 0.3s ease;
}

.gradient-button:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-overlay {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 100%);
}

.primary-bg { 
    background-color: #2d3194; 
}

.primary-text { 
    color: #2d3194; 
}

.primary-border { 
    border-color: #2d3194; 
}

/* Navbar styles */
#navbar {
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

#navbar.scrolled .nav-logo-text {
    color: #2d3194;
}

#navbar.scrolled .nav-subtitle {
    color: #6b7280;
}

#navbar.scrolled .nav-link {
    color: #374151;
}

#navbar.scrolled .nav-link:hover {
    color: #2d3194;
}

/* Mobile menu styles */
.mobile-menu {
    transition: all 0.3s ease;
}

.mobile-menu.hidden {
    transform: translateY(-1.25rem);
    opacity: 0;
    pointer-events: none;
}

.mobile-menu.translate-y-0 {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Animation classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Product card hover effects */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-card img {
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-primary:active {
    transform: scale(0.95);
}

/* Category filter sticky */
.category-filter {
    position: sticky;
    top: 72px;
    z-index: 30;
}

/* Form styles */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    background-color: white;
    box-shadow: 0 0 0 3px rgba(45, 49, 148, 0.1);
}

/* Success message animation */
.success-message {
    animation: fadeIn 0.6s ease-out;
}

/* Industry card hover effects */
.industry-card {
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.industry-card .industry-icon {
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1);
}

/* Bounce animation for scroll indicator */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Popup styles */
#popup-content {
  transform: scale(0.95);
  transition: transform 0.2s ease-out;
}

#popup-content.scale-100 {
  transform: scale(1);
}

#popup-content.scale-95 {
  transform: scale(0.95);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-filter {
        position: relative;
        top: 0;
    }
    
    /* Hero section mobile fixes */
    .hero-content {
        padding-top: 2rem;
    }
    
    /* Better mobile typography */
    h1 {
        line-height: 1.2;
    }
    
    h2 {
        line-height: 1.3;
    }
    
    /* Mobile button improvements */
    .btn-mobile {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Mobile navigation improvements */
    .mobile-menu {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* Mobile popup improvements */
    #popup-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
        max-height: 90vh;
    }
    
    /* Mobile footer improvements */
    footer {
        padding-top: 3rem;
    }
    
    /* Mobile grid improvements */
    .grid-responsive {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    /* Extra small mobile fixes */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Smaller text on very small screens */
    .text-responsive {
        font-size: 0.875rem;
    }
    
    /* Better touch targets */
    .touch-target {
        min-height: 48px;
        min-width: 48px;
    }
}

@media (max-width: 480px) {
    /* Ultra small mobile fixes */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* Compact buttons for very small screens */
    .btn-compact {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}
