/* Custom Glow for the CTA */
.btn-glow {
    box-shadow: 0 0 15px rgba(0, 116, 217, 0.4);
    transition: 0.3s;
}
.btn-glow:hover {
    box-shadow: 0 0 25px rgba(0, 116, 217, 0.7);
}

/* Navbar Blur on Scroll */
.nav-scrolled {
    background: rgba(0, 31, 63, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem !important;
}

/* Floating Animation for Icons */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-anim {
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

/* Hover Pop for Cards */
.service-card:hover {
    transform: translateY(-5px);
    background: #00264d;
}
.service-card:hover .icon-box {
    color: #fff;
    transform: scale(1.1);
}
/* Tech Orbit Core Logic */
.orbit-container {
    animation: orbit-rotation 25s linear infinite;
    width: 100%;
    height: 100%;
}

.tech-orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px;
}

.tech-icon-circle {
    width: 50px;
    height: 50px;
    background: #001f3f;
    border: 1px solid rgba(0, 116, 217, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0074D9;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 116, 217, 0.2);
    /* Counter-rotation to keep icons upright */
    animation: counter-rotation 25s linear infinite;
}

/* Individual Tech Positions - 180px radius */
.item-1 { transform: rotate(0deg) translateX(180px); }
.item-2 { transform: rotate(60deg) translateX(180px); }
.item-3 { transform: rotate(120deg) translateX(180px); }
.item-4 { transform: rotate(180deg) translateX(180px); }
.item-5 { transform: rotate(240deg) translateX(180px); }
.item-6 { transform: rotate(300deg) translateX(180px); }

/* Animation Keyframes */
@keyframes orbit-rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counter-rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.animate-spin-slow {
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Right Side Cards */
.process-card:hover {
    transform: translateX(10px);
}

/* Responsive Radius */
@media (max-width: 768px) {
    .item-1 { transform: rotate(0deg) translateX(120px); }
    .item-2 { transform: rotate(60deg) translateX(120px); }
    .item-3 { transform: rotate(120deg) translateX(120px); }
    .item-4 { transform: rotate(180deg) translateX(120px); }
    .item-5 { transform: rotate(240deg) translateX(120px); }
    .item-6 { transform: rotate(300deg) translateX(120px); }
}


/* Bento Grid Enhancements */
#services-grid .bg-[#001b36] {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border 0.3s ease;
}

#services-grid .bg-[#001b36]:hover {
    transform: translateY(-8px);
    background: #002244;
}

/* Shimmer effect for the large ERP card */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.featured-card {
    background: linear-gradient(90deg, #001b36 25%, #00264d 50%, #001b36 75%);
    background-size: 200% 100%;
    animation: shimmer 5s infinite linear;
}

/* Icon Pulse */
.group:hover .text-[#0074D9] {
    animation: icon-pulse 1s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px #0074D9); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 8px #0074D9); }
}

/* Marquee Container Styles */
.marquee-container {
    display: flex;
    user-select: none;
    gap: 2rem;
    position: relative;
    width: 100vw;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 2rem;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    animation: scroll-left 30s linear infinite;
}

/* Pause animation on hover for better UX */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    white-space: nowrap;
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.marquee-item i {
    color: #0074D9;
    font-size: 1.1rem;
}

.marquee-item:hover {
    background: rgba(0, 116, 217, 0.1);
    border-color: #0074D9;
    color: white;
    transform: translateY(-2px);
}

/* The Animation */
@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 2rem)); }
}

/* Fade Edges for Professional Look */
.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #001b36, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #001b36, transparent);
}

/* Navigation Links */
.nav-link {
    @apply text-gray-300 hover:text-white transition-colors duration-300;
}

/* Mega Menu Item Styling */
.service-pop-item {
    @apply flex items-center gap-4 p-3 rounded-xl hover:bg-white/5 transition-all duration-300 cursor-pointer;
}

.service-pop-item i {
    @apply text-xl text-[#0074D9] w-8 text-center;
}

.service-pop-item span {
    @apply block text-sm font-bold text-white;
}

.service-pop-item small {
    @apply block text-[10px] text-gray-500 uppercase tracking-tighter;
}

/* Mobile Link Animation */
.mobile-nav-link {
    @apply hover:text-[#0074D9] transition-colors;
}

/* Background Blur on Scroll */
.navbar-glass {
    background: rgba(0, 31, 63, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem !important;
}

/* Build Process Animations */
.step-icon-wrap {
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 rgba(0, 116, 217, 0);
}

/* Active State for Icons */
.process-step.aos-animate .step-icon-wrap {
    border-color: #0074D9;
    color: #fff;
    background: #0074D9;
    box-shadow: 0 0 25px rgba(0, 116, 217, 0.6);
    transform: scale(1.1);
}

/* Specific Icon Animations */
.process-step.aos-animate i.fa-rocket {
    animation: rocket-shake 0.5s ease-in-out infinite;
}

.process-step.aos-animate i.fa-lightbulb {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes rocket-shake {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-1px, -2px); }
    75% { transform: translate(1px, -1px); }
}

@keyframes pulse-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.5) drop-shadow(0 0 10px #fff); }
}

/* --- Custom Colors for OSH Theme --- */
:root {
    --osh-navy: #001f3f;
    --osh-dark-blue: #001b36;
    --osh-electric-blue: #0074D9;
    --osh-border: rgba(255, 255, 255, 0.1);
}

/* Contact Card Styling */
.contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem; /* gap-5 */
    padding: 1.5rem; /* p-6 */
    background-color: var(--osh-dark-blue);
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    border-color: rgba(0, 116, 217, 0.3);
    transform: translateY(-3px);
}

.contact-icon {
    width: 3rem; /* w-12 */
    height: 3rem; /* h-12 */
    background-color: var(--osh-navy);
    border-radius: 0.75rem; /* rounded-xl */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--osh-electric-blue);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background-color: var(--osh-electric-blue);
    color: #ffffff;
}

/* Form Elements */
.input-group label {
    display: block;
    font-size: 0.75rem; /* text-xs */
    font-weight: 700;
    color: #456b8d; /* text-gray-500 */
    text-transform: uppercase;
    letter-spacing: 0.1em; /* tracking-widest */
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}

/* Overriding Bootstrap .form-control */
.osh-form-control {
    width: 100%;
    background-color: var(--osh-navy) !important;
    border: 1px solid var(--osh-border) !important;
    padding: 1rem !important; /* p-4 */
    border-radius: 0.75rem !important;
    color: #ffffff !important;
    outline: none;
    transition: all 0.3s ease;
}

.osh-form-control::placeholder {
    color: #495057;
}

.osh-form-control:focus {
    border-color: var(--osh-electric-blue) !important;
    box-shadow: 0 0 15px rgba(0, 116, 217, 0.1), inset 0 0 0 1px rgba(0, 116, 217, 0.2) !important;
}

/* Cyber Button */
.cyber-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--osh-electric-blue);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(0, 116, 217, 0.2);
    transition: all 0.3s ease;
}

.cyber-btn:hover {
    background-color: #0063b8;
    box-shadow: 0 6px 20px rgba(0, 116, 217, 0.4);
    transform: translateY(-2px);
}

.cyber-btn:active {
    transform: scale(0.95);
}

.cyber-btn span {
    position: relative;
    z-index: 10;
}

/* --- PREMIUM FOOTER OVERHAUL --- */
.osh-footer-premium {
    background-color: #00050a;
    background-image: radial-gradient(circle at 50% 0%, rgba(0, 116, 217, 0.08) 0%, transparent 50%);
    border-top: 1px solid rgba(0, 116, 217, 0.2);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Brand Styling */
.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #0074D9;
    margin-bottom: 0.5rem;
}
.footer-logo span { color: #ffffff; }

.brand-line {
    width: 40px;
    height: 3px;
    background: #0074D9;
    border-radius: 2px;
}

.footer-bio {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

/* Navigation Links */
.footer-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 1.8rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav a:hover {
    color: #0074D9;
    transform: translateX(5px);
    display: inline-block;
}

/* Social Boxes */
.social-grid {
    display: flex;
    gap: 12px;
}

.social-box {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: 0.4s;
    text-decoration: none;
}

.social-box:hover {
    background: #0074D9;
    color: white;
    border-color: #0074D9;
    box-shadow: 0 0 15px rgba(0, 116, 217, 0.4);
    transform: translateY(-5px);
}

/* Newsletter Custom Input */
.newsletter-box {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 5px;
    transition: 0.3s;
}

.newsletter-box:focus-within {
    border-color: #0074D9;
    box-shadow: 0 0 15px rgba(0, 116, 217, 0.1);
}

.cyber-input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 15px;
    flex-grow: 1;
    outline: none;
    font-size: 0.9rem;
}

.cyber-send-btn {
    background: #0074D9;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: 0.3s;
}

.cyber-send-btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* Bottom Bar */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.copyright-text {
    color: #475569;
    font-size: 0.85rem;
}

.system-status {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.status-label { color: #334155; }
.status-value { color: #10b981; font-weight: bold; }

.pulse-dot {
    height: 8px;
    width: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    box-shadow: 0 0 10px #10b981;
    animation: status-blink 2s infinite;
}

@keyframes status-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
}

/* Responsive Fix for small screens */
@media (max-width: 768px) {
    .footer-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}