/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric Background Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.triangle-1 {
    top: 15%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #F5A623;
    animation: floatSlow 8s ease-in-out infinite;
}

.circle-1 {
    top: 25%;
    right: 10%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #a855f7;
    animation: floatSlow 6s ease-in-out infinite reverse;
}

.square-1 {
    bottom: 20%;
    left: 15%;
    width: 100px;
    height: 100px;
    background: #F5A623;
    transform: rotate(45deg);
    animation: floatSlow 7s ease-in-out infinite;
}

.triangle-2 {
    top: 40%;
    right: 5%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #c084fc;
    animation: floatSlow 9s ease-in-out infinite reverse;
}

.circle-2 {
    bottom: 10%;
    right: 25%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #a855f7;
    animation: floatSlow 5s ease-in-out infinite;
}

.diamond-1 {
    top: 60%;
    left: 8%;
    width: 60px;
    height: 60px;
    background: #F5A623;
    transform: rotate(45deg);
    animation: floatSlow 6s ease-in-out infinite reverse;
}

.ring-1 {
    top: 10%;
    left: 40%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 8px solid #F5A623;
    animation: floatSlow 7s ease-in-out infinite;
}

.triangle-3 {
    bottom: 35%;
    right: 30%;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 87px solid #7c3aed;
    animation: floatSlow 8s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* Floating Stat Cards */
.floating-card {
    position: absolute;
    z-index: 20;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-top-right {
    top: -20px;
    right: -15px;
    animation: floatCard 4s ease-in-out infinite;
}

.card-bottom-left {
    bottom: -15px;
    left: -10px;
    animation: floatCard 5s ease-in-out infinite reverse;
}

.card-mid-right {
    top: 45%;
    right: -25px;
    animation: floatCard 4.5s ease-in-out infinite;
}

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

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

.reveal.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Service Cards Hover */
.service-card {
    will-change: transform;
}

/* Mobile Menu */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .floating-card,
    .animate-bounce {
        animation: none !important;
    }
}

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

::-webkit-scrollbar-track {
    background: #1a0533;
}

::-webkit-scrollbar-thumb {
    background: #6B3FA0;
    border-radius: 4px;
}

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