/* Custom CSS for additional styling and animations */

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    transition: all 0.3s ease;
}

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

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

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

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

/* Focus styles for accessibility */
*:focus-visible {
    outline: 3px solid #e84f26;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #e84f26;
    color: white;
}

/* Geometric pattern overlay */
.geo-pattern {
    background-image: 
        linear-gradient(45deg, rgba(232, 79, 38, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(232, 79, 38, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(232, 79, 38, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(232, 79, 38, 0.03) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #e84f26 0%, #dc3a12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow effect for cards */
.glow {
    box-shadow: 0 0 40px rgba(232, 79, 38, 0.1);
}

.glow:hover {
    box-shadow: 0 0 60px rgba(232, 79, 38, 0.2);
}

/* Animated border */
.animated-border {
    position: relative;
}

.animated-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #e84f26, #e8d5b7, #e84f26);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.animated-border:hover::after {
    opacity: 1;
}

/* Shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

/* Pulse ring animation */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    border: 2px solid #e84f26;
    animation: pulse-ring 1.5s ease-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .circle-2 {
        width: 100px;
        height: 100px;
    }
    
    .triangle {
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        border-bottom: 87px solid rgba(232, 79, 38, 0.12);
    }
    
    .rect-1 {
        width: 150px;
        height: 60px;
    }
    
    .blob {
        width: 48px;
        height: 48px;
    }
}

/* Print styles */
@media print {
    nav, button, .animate-float, .animate-float-reverse, .animate-pulse-slow {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
