/* Hide scrollbars globally but keep scrollability */
html, body {
  /* For Firefox */
  scrollbar-width: none;
  /* For IE, Edge */
  -ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none;
}

/* Base styles */
:root {
    --primary-gradient: linear-gradient(135deg, #98ec2d, #17ad37);
    --scrollbar-track: #f8fff6;
    --scrollbar-thumb: #98ec2d;
    --scrollbar-thumb-hover: #17ad37;
}
 
/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
}
 
::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 6px;
}
 
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 6px;
    border: 3px solid var(--scrollbar-track);
}
 
::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}
 
/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}
 
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
 
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
 
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
 
@keyframes gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
 
 
@keyframes cardFadeIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}
 
@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}
 
@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
 
@keyframes barGrow {
    from { height: 0; }
    to { height: var(--bar-height); }
}
 
@keyframes gradientRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
 
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
 
@keyframes checkmarkDraw {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}
 
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
 
@keyframes dataFlow {
    0% {
        stroke-dasharray: 240;
        stroke-dashoffset: 240;
    }
    100% {
        stroke-dasharray: 240;
        stroke-dashoffset: 0;
    }
}
 
/* Utility classes */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
 
.holographic-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(240,240,240,0.7));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    perspective: 1000px;
}
 
.holographic-card:hover {
    transform: scale(1.05) rotateY(5deg) rotateX(2deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
 
.neural-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}
 
.neural-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(152, 236, 45, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(23, 173, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
 
.perspective-card {
    perspective: 1000px;
    transform-style: preserve-3d;
}
 
.cursor-magnetic {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
 
.cursor-magnetic:hover {
    transform: scale(1.05);
}
 
 
.animate-draw-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-out forwards;
}
 
.mobile-menu-slide {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}
 
.mobile-menu-slide.open {
    transform: translateX(0);
}
 
.scale-in {
    transform: scale(1);
    opacity: 1;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}
 
.scale-out {
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.2s ease-in, opacity 0.2s ease-in;
    pointer-events: none;
}
 
.hover-lift {
    transition: transform 0.2s ease-out;
}
 
.hover-lift:hover {
    transform: translateY(-2px);
}
 
#toast-container > div {
    animation: toastSlideIn 0.3s ease-out forwards;
}
 
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease-out forwards;
}
 
.card-animate {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: cardFadeIn 0.6s ease-out forwards;
}
 
.transition-scale {
    transform-origin: top;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
 
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
 
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
 
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
 
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
 
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
 
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
 
html {
    scroll-behavior: smooth;
}
 
/* SVG Animation Classes */
.bar-animate {
    animation: barGrow 1s ease-out forwards;
}
 
.gradient-animate {
    background: linear-gradient(45deg, #98ec2d, #17ad37);
    animation: gradientRotate 3s linear infinite;
}
 
/* .shield-pulse {
    animation: pulse 2s ease-in-out infinite;
} */
 
.checkmark-animate path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: checkmarkDraw 1s ease-out forwards;
    animation-delay: 0.5s;
}
 
/* Data Flow Line Animations */
/* .data-flow-line {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: dataFlow 1.5s ease-in-out infinite;
}
 
.data-flow-line:nth-child(3),
.data-flow-line:nth-child(4) {
    animation-delay: 0.2s;
}
 
.data-flow-line:nth-child(5),
.data-flow-line:nth-child(6) {
    animation-delay: 0.4s;
} */
 

.data-dot {
    /* filter: drop-shadow(0 0 8px #98ec2d) drop-shadow(0 0 16px #17ad37); */
    opacity: 0.85;
    transition: filter 0.2s;
}
 
.barchart-svg .bar-rect {
    /* filter: drop-shadow(0 0 8px #98ec2d) drop-shadow(0 0 16px #17ad37); */
    transition: filter 0.2s;
}

 
.accessibility-svg .access-line {
    /* filter: drop-shadow(0 0 8px #98ec2d) drop-shadow(0 0 16px #17ad37); */
    transition: x2 0.7s cubic-bezier(0.4,0,0.2,1), y2 0.7s cubic-bezier(0.4,0,0.2,1);
}
 
.accessibility-svg .access-icon {
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1);
}
 
.accessibility-svg .access-rect {
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
}
 
.accessibility-svg .access-text {
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
}
 
#animated-background {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}
#network-canvas {
    width: 100vw !important;
    height: 100vh !important;
    display: block;
}
 
#aisystems .slider-nav {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #98ec2d 0%, #17ad37 100%);
    box-shadow: 0 4px 16px rgba(23, 173, 55, 0.15);
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.5rem;
    position: absolute;
}
#aisystems .slider-nav i {
    font-size: 1.6rem;
    color: #fff;
    margin: 0;
    padding: 0;
}
#aisystems .slider-nav:hover, #aisystems .slider-nav:focus {
    background: linear-gradient(135deg, #17ad37 0%, #098a2f 100%);
    box-shadow: 0 6px 24px rgba(23, 173, 55, 0.22);
}
#aisystems .slider-nav:focus {
    box-shadow: 0 0 0 3px #98ec2d, 0 6px 24px rgba(23, 173, 55, 0.22);
}
#aisystems .slider-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #e5e7eb;
    color: #a1a1aa;
    box-shadow: none;
}
 
/* Contact section layout for desktop and mobile */
.contact-sections-wrapper {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
}
.contact-form-container, .contact-info-container {
  flex: 1 1 0;
  max-width: 480px;
}
 
@media (max-width: 1024px) {
  .contact-sections-wrapper {
    gap: 2rem;
  }
  .contact-form-container, .contact-info-container {
    max-width: 420px;
  }
}
 
@media (max-width: 768px) {
  .contact-sections-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
  }
  .contact-form-container {
    width: 100%;
    max-width: 95vw;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 3rem;
    padding-right: 1.5rem;
    background: #fff;
  }
  .contact-info-container {
    width: 100%;
    max-width: 95vw;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 1.5rem;
    padding-right: 3rem;
    background: #fff;
  }
  .contact-info-container p {
    word-break: break-all;
    white-space: normal;
  }
  .contact-info-container .contact-card-border {
    padding-left: 0;
    background: linear-gradient(90deg, #17ad37 0 12px, #98ec2d 12px 24px, transparent 24px 100%);
    border-radius: 1rem;
  }
  .contact-info-container .bg-white {
    padding-left: 1.5rem;
  }
}
 
/* Make the green border on the left side of contact info thicker and align content for mobile */
.contact-info-container .contact-card-border {
  position: relative;
  padding-left: 0;
  background: linear-gradient(90deg, #17ad37 0 16px, #98ec2d 16px 32px, transparent 32px 100%);
  border-radius: 1rem;
}
.contact-info-container .bg-white {
  position: relative;
  left: 0;
  padding-left: 2.5rem;
}