/* Base Styles - Removed the gradient background */
body {
    min-height: 100vh;
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
}

/* Typography Enhancements */
.text-gradient {
    background: linear-gradient(90deg, #d97706, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
}

/* Custom Shadow */
.shadow-soft {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
/* ========================================= */
/* Animations                                */
/* ========================================= */

/* ========================================= */
/* Orbit Animations                          */
/* ========================================= */

@keyframes orbit-spin {
    from { 
        transform: rotate(0deg); 
    }
    to { 
        transform: rotate(360deg); 
    }
}

@keyframes orbit-counter-spin {
    from { 
        transform: rotate(0deg); 
    }
    to { 
        transform: rotate(-360deg); 
    }
}

/* Floating Utility Classes */
.animate-float-1 { animation: float-gentle 5s ease-in-out infinite; }
.animate-float-2 { animation: float-gentle 6s ease-in-out infinite 1s; }
.animate-float-3 { animation: float-gentle 5.5s ease-in-out infinite 2s; }
.animate-float-4 { animation: float-gentle 6.5s ease-in-out infinite 0.5s; }
.animate-float-5 { animation: float-gentle 5s ease-in-out infinite 1.5s; }
.animate-float-6 { animation: float-gentle 7s ease-in-out infinite 2.5s; }

/* ========================================= */
/* Orbit Graphic Elements                    */
/* ========================================= */

.orbit-container {
    position: relative;
    /* Mobile-first: start small */
    width: 280px; 
    height: 280px;
    border-radius: 50%;
    border: 1px dashed rgba(0,0,0,0.1);
    animation: orbit-spin 40s linear infinite;
    margin: 0 auto; /* Keeps it centered */
}

/* On medium screens (tablets/desktops), grow to 450px */
@media (min-width: 768px) {
    .orbit-container {
        width: 450px;
        height: 450px;
    }
}

.orbit-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: orbit-counter-spin 40s linear infinite;
    
    /* CRITICAL FIXES FOR CENTERING */
    width: 70px;         /* Locks container width to exactly match the icon */
    margin-top: -35px;   /* Pulls exactly half the icon height upward */
    margin-left: -35px;  /* Pulls exactly half the icon width leftward */
}

.orbit-icon {
    width: 70px;
    height: 70px;
    border-radius: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.orbit-icon:hover {
    transform: translateY(-5px);
}

/* Pure percentages - the margin fixes above handle all the math now */
.item-1 { top: 0%; left: 50%; }
.item-2 { top: 34.5%; left: 97.5%; }
.item-3 { top: 90.5%; left: 79.4%; }
.item-4 { top: 90.5%; left: 20.6%; }
.item-5 { top: 34.5%; left: 2.5%; }

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    animation: orbit-counter-spin 40s linear infinite;
    
    /* CRITICAL FIX FOR LOGO CENTERING */
    margin-top: -60px;  /* Half of 120px */
    margin-left: -60px; /* Half of 120px */
}

/* ========================================= */
/* Dark Services Cards (Neon Edges)          */
/* ========================================= */

.card-base {
    background-color: #131b2f;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.03); 
}

.neon-edge-blue {
    box-shadow: inset 2px 2px 0 0 rgba(59, 130, 246, 0.8), -15px -15px 35px -15px rgba(59, 130, 246, 0.3);
}
.neon-edge-green {
    box-shadow: inset 2px 2px 0 0 rgba(16, 185, 129, 0.8), -15px -15px 35px -15px rgba(16, 185, 129, 0.3);
}
.neon-edge-purple {
    box-shadow: inset 2px 2px 0 0 rgba(168, 85, 247, 0.8), -15px -15px 35px -15px rgba(168, 85, 247, 0.3);
}
.neon-edge-red {
    box-shadow: inset 2px 2px 0 0 rgba(244, 63, 94, 0.8), -15px -15px 35px -15px rgba(244, 63, 94, 0.3);
}
.neon-edge-cyan {
    box-shadow: inset 2px 2px 0 0 rgba(34, 211, 238, 0.8), -15px -15px 35px -15px rgba(34, 211, 238, 0.3);
}
.neon-edge-yellow {
    box-shadow: inset 2px 2px 0 0 rgba(234, 179, 8, 0.8), -15px -15px 35px -15px rgba(234, 179, 8, 0.3);
}
