/* Custom Styles for Govpaycard Services */

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

/* Geometric Shape Animations */
.geometric-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: #d4a843;
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-square-1 {
    width: 150px;
    height: 150px;
    background: #d4a843;
    top: 60%;
    right: 5%;
    transform: rotate(45deg);
    animation-delay: -5s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid #d4a843;
    top: 30%;
    right: 15%;
    animation-delay: -10s;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: #1a3a6e;
    border-radius: 50%;
    bottom: 10%;
    left: 20%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(5deg);
    }
    66% {
        transform: translateY(20px) rotate(-5deg);
    }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Styles */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

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

::-webkit-scrollbar-track {
    background: #0f2140;
}

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

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

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

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 150px;
        height: 150px;
    }
    
    .shape-square-1 {
        width: 75px;
        height: 75px;
    }
    
    .shape-triangle-1 {
        border-left: 37px solid transparent;
        border-right: 37px solid transparent;
        border-bottom: 65px solid #d4a843;
    }
    
    .shape-circle-2 {
        width: 100px;
        height: 100px;
    }
}
