/* ========================================================================= */
/* QUAD TECHNOLOGY AND INFOTECH LIMITED — MAIN STYLESHEET                     */
/* ========================================================================= */

/* Root Variables for Brand Consistency */
:root {
  --brand-primary: #071F2C;
  --brand-secondary: #0E2C3D;
  --brand-deep: #031118;
  --brand-emerald: #00AE85;
  --brand-leaf-green: #63BC46;
  --brand-cyan: #00A9BE;
  --brand-mint: #65BBAE;
  --brand-soft-bg: #F3F8F6;
  --brand-muted: #8097A2;
}

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

::-webkit-scrollbar-track {
  background: var(--brand-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-emerald);
  border-radius: 4px;
  border: 1px solid rgba(98, 189, 58, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-leaf-green);
}

.ct-color {
  color: white;
}

/* Custom Desktop Trailing Cursor */
@media (min-width: 1024px) {
  body {
    cursor: default;
  }
  .custom-cursor {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: var(--brand-leaf-green);
    border-radius: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.2s ease, height 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    mix-blend-mode: normal;
    box-shadow: 0 0 10px rgba(98, 189, 58, 0.8);
  }
  .custom-cursor.hovered {
    width: 42px;
    height: 42px;
    background-color: rgba(0, 167, 111, 0.2);
    border: 1.5px solid var(--brand-leaf-green);
    box-shadow: 0 0 20px rgba(0, 167, 111, 0.4);
  }
}

/* Glassmorphism Styles */
.glass-header {
  background: rgba(7, 31, 44, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 167, 111, 0.2);
}

.glass-card {
  background: rgba(14, 44, 61, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-dropdown {
  background: rgba(7, 31, 44, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 167, 111, 0.3);
}
/* card-2 Image */
.card-2 img{
	height:auto;
}
/* card-3 Image */
.card-3 img{
	object-fit: fill;
}
/* Scroll Reveal Initial States */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Node Orbit Animation */
@keyframes orbitPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 0 0 30px rgba(0, 167, 111, 0.5);
  }
}

.node-active {
  animation: orbitPulse 3s infinite ease-in-out;
  border-color: var(--brand-emerald) !important;
}

/* Custom Hide Scrollbar for Horizontal Sliders */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  canvas {
    display: none !important;
  }
}
