:root {
--primary: #896AC4;
--light: #F3F6F8;
--dark: #0E2E50;
}


/*** Spinner ***/
#spinner {
opacity: 0;
visibility: hidden;
transition: opacity .5s ease-out, visibility 0s linear .5s;
z-index: 99999;
}

.bg-cr {
background-color: #6051AB !important;
}

#spinner.show {
transition: opacity .5s ease-out, visibility 0s linear 0s;
visibility: visible;
opacity: 1;
}

h6{
    color:#C4C2FB !important;
}

.back-to-top {
position: fixed;
display: none;
right: 45px;
bottom: 45px;
z-index: 99;
}

.my-6 {
margin-top: 6rem;
margin-bottom: 6rem;
}

.py-6 {
padding-top: 6rem;
padding-bottom: 6rem;
}


/*** Button ***/
.btn {
font-weight: 500;
transition: .5s;
background: #38B9F3;
color: white !important;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
color: #FFFFFF;
}

.btn-square {
width: 38px;
height: 38px;
}

.btn-sm-square {
width: 32px;
height: 32px;
}

.btn-lg-square {
width: 48px;
height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
padding: 0;
display: flex;
align-items: center;
justify-content: center;
font-weight: normal;
border-radius: 50px;
}


/*** Navbar ***/
/* Default navbar (top of page) */
#mainNavbar {
background: #fff; /* solid white */
box-shadow: none;
border-bottom: 1px solid rgba(0,0,0,.05);
transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

#mainNavbar .navbar-nav .nav-link {
position: relative;
margin-left: 25px;
padding: 35px 0;
color: black;
font-weight: 500;
outline: none;
transition: .5s;
}

#mainNavbar .navbar-nav .nav-link:hover,
#mainNavbar .navbar-nav .nav-link.active {
color: var(--primary);
}

#mainNavbar .navbar-brand img {
max-height: 60px;
transition: filter .3s, max-height .3s;
}

/* Scrolled state */
#mainNavbar.navbar--scrolled {
background: rgba(255,255,255,0.85);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

#mainNavbar.navbar--scrolled .navbar-brand img {
filter: drop-shadow(0 0 10px rgba(0, 200, 255, .35));
max-height: 45px;
}

@media (max-width: 991.98px) {
#mainNavbar {
    position: relative;
    background: #FFFFFF;
}

#mainNavbar .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #DDDDDD;
}

#mainNavbar .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: var(--dark);
}

#mainNavbar .navbar-nav .nav-link:hover,
#mainNavbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

#mainNavbar .navbar-brand img {
    max-height: 45px;
}
}

@media (min-width: 992px) {
#mainNavbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
border-bottom: 1px solid rgba(255, 255, 255, .2); /* fixed */
z-index: 999;
}

#mainNavbar.navbar--scrolled {
    position: fixed;
    width: 100%;
}

#mainNavbar .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    bottom: 10px;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

#mainNavbar .navbar-nav .nav-link:hover::before,
#mainNavbar .navbar-nav .nav-link.active::before {
    bottom: -1px;
    left: 0;
    opacity: 1;
}

#mainNavbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: .5s;
    opacity: 0;
}

#mainNavbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}
}


/*** Hero Header ***/
.hero-header {
margin-bottom: 6rem;
padding: 12rem 0 9rem 0;
background: url(../img/shape-bottom.png) center bottom no-repeat;
background-size: 100% auto;
}

.page-header {
margin-bottom: 6rem;
padding: 12rem 0 6rem 0;
}

@media (max-width: 991.98px) {
.hero-header {
    padding: 6rem 0 9rem 0;
}

.page-header {
    padding: 6rem 0;
}
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .5); 
    
}


/*** Service ***/
.service-item {
box-shadow: 0 0 45px rgba(0, 0, 0, .07);
border: 1px solid transparent;
transition: .5s;
}

.service-item:hover {
box-shadow: none;
border-color: var(--primary);
}

.service-item .service-icon,
.service-item .service-btn {
margin: -1px 0 0 -1px;
width: 65px;
height: 65px;
display: flex;
align-items: center;
justify-content: center;
color: #FFFFFF;
background: var(--primary);
border-radius: 5px 0;
transition: .5s;
}

.service-item .service-btn {
margin: -1px -1px 0 0;
border-radius: 0 5px;
opacity: 0;
}

.service-item:hover .service-btn {
opacity: 1;
}




/*** Footer ***/
/* CYBERPUNK GLOW FOOTER */
.footer-cyber {
background: #0a0c16;  /* deep dark base */
color: #dfe9ff;
position: relative;
padding: 60px 0 30px;
overflow: hidden;
}

/* Neon top border */
/* Animated neon top border */
.footer-cyber::before{
  content:"";
  position: absolute;
  top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, #00f5d4, #0099ff, #c043ff, #00f5d4);
  background-size: 300% 100%;
  box-shadow: 0 0 12px rgba(0,153,255,.5);
  animation: rizzShimmer 8s linear infinite;
  will-change: background-position;
  pointer-events:none;
}

/* Smooth, slow shimmer */
@keyframes rizzShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  .footer-cyber::before { animation: none; }
}


/* Ambient gradient glow */
.footer-cyber::after {
content:"";
position: absolute;
bottom:-120px; left:50%;
width:600px; height:300px;
transform:translateX(-50%);
background: radial-gradient(circle, rgba(0,153,255,.25), transparent 70%);
filter: blur(80px);
z-index:0;
}

/* Headings */
.footer-cyber h5 {
font-weight:700;
color:#fff;
text-shadow: 0 0 12px rgba(0,153,255,.4);
}

/* Links */
.footer-links a {
color:#bcd6ff;
text-decoration:none;
transition:.3s;
position:relative;
}
.footer-links a:hover {
color:#fff;
text-shadow:0 0 10px rgba(192,67,255,.6);
}
.footer-links a::after {
content:"";
position:absolute;
bottom:-4px; left:0; width:0; height:2px;
background: linear-gradient(90deg, #00f5d4, #0099ff, #c043ff);
box-shadow:0 0 8px rgba(0,153,255,.4);
transition:.3s;
}
.footer-links a:hover::after { width:100%; }

/* Social buttons */
.btn-social-neon {
width:40px; height:40px; border-radius:50%;
display:flex; align-items:center; justify-content:center;
margin-right:8px;
color:#eaf5ff;
border:1px solid rgba(0,153,255,.4);
background:#111425;
transition:.3s;
}
.btn-social-neon:hover {
color:#fff;
background:linear-gradient(90deg, #00f5d4, #0099ff, #c043ff);
box-shadow:0 0 14px rgba(0,153,255,.6);
}
.btn-social-neon i { font-size:14px; }


/* Cursor-follow glow */
.footer-cyber .cursor-glow {
position: absolute;
top: 0; left: 0;
width: 300px; height: 300px;
pointer-events: none;
border-radius: 50%;
background: radial-gradient(circle, rgba(0,153,255,0.25), transparent 70%);
filter: blur(80px);
transform: translate(-50%, -50%);
z-index: 1; /* glow sits above ::after but below text */
}



/*** Smooth Scroll Anchor Fix ***/
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
section { scroll-margin-top: 90px; }
