/* Enhanced CSS for Indian Export Company Landing Page */

/* Enhanced color variables inspired by Indian flag and modern design */
:root {
    --indian-saffron: #FF9933;
    --indian-white: #FFFFFF;
    --indian-green: #138808;
    --navy-blue: #000080;
    --warm-gray: #6B7280;
    --gradient-orange: linear-gradient(135deg, #ff9a56, #ff6b35);
    --gradient-green: linear-gradient(135deg, #4ade80, #16a34a);
    --gradient-blue: linear-gradient(135deg, #60a5fa, #3b82f6);
    --gradient-purple: linear-gradient(135deg, #a855f7, #9333ea);
    --gradient-rainbow: linear-gradient(135deg, #ff9a56, #ff6b35, #ec4899, #a855f7, #3b82f6, #10b981);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-3xl: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom gradient backgrounds */
.hero-gradient {
    background: linear-gradient(135deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
}

/* Enhanced animations and effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* New stunning product animations */
@keyframes floatUp {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 153, 51, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 153, 51, 0.6);
    }
}

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

.scale-in {
    animation: scaleIn 0.8s ease-out;
}

.glow-effect:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Enhanced hover effects for product cards */
.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.product-image-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    transition: all 0.4s ease;
}

/* Enhanced glass morphism effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Modern gradient borders */
.gradient-border {
    position: relative;
    background: white;
    border-radius: 24px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(45deg, var(--indian-saffron), var(--indian-green));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

.shimmer-effect {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Enhanced hover effects for cards and elements */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-3xl);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.gradient-hover {
    position: relative;
    overflow: hidden;
}

.gradient-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.gradient-hover:hover::before {
    left: 100%;
}

.interactive-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-icon:hover {
    transform: rotate(10deg) scale(1.1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(45deg, var(--indian-saffron), var(--indian-green));
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--warm-gray);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--indian-saffron);
    background: var(--indian-saffron);
    color: white;
    transform: translateY(-2px);
}

/* Loading animation for contact form */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--indian-saffron), var(--indian-green));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e68a00, #0f5f06);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Focus states for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--indian-saffron);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .page-break {
        page-break-before: always;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --indian-saffron: #FF6600;
        --indian-green: #006600;
        --warm-gray: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* Uncomment if you want to add dark mode support
    .bg-white {
        background-color: #1a1a1a !important;
        color: white !important;
    }
    
    .text-gray-800 {
        color: #e5e5e5 !important;
    }
    
    .text-gray-600 {
        color: #b0b0b0 !important;
    }
    */
}

/* Additional utility classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom spacing for Indian flag colors */
.indian-flag-spacing {
    background: linear-gradient(to bottom, 
        var(--indian-saffron) 0%, 
        var(--indian-saffron) 33.33%, 
        var(--indian-white) 33.33%, 
        var(--indian-white) 66.66%, 
        var(--indian-green) 66.66%, 
        var(--indian-green) 100%
    );
    height: 6px;
    width: 100%;
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(255, 153, 51, 0.3);
    border-radius: 50%;
    border-top: 3px solid var(--indian-saffron);
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

/* 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: var(--indian-green) !important;
    box-shadow: 0 0 0 3px rgba(19, 136, 8, 0.1) !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    color: var(--indian-green);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Counter animation styles */
.counter {
    transition: transform 0.3s ease;
    display: inline-block;
}

.counter:hover {
    transform: scale(1.05);
}
