
/* Custom CSS for Cipher Global */

/* Color variables */
:root {
  --cyber-blue: #0555b5;
  --cyber-teal: #0555b5;
  --cyber-accent: #0555b5;
  --cyber-purple: #0555b5;
  --cyber-dark: #0f172a;
  --cyber-dark-blue: #081130;
  --cyber-light: #e2e8f0;
}

/* Hero section */
.bg-hero-pattern {
  background-color: var(--cyber-dark);
  position: relative;
}

.bg-cyber-grid {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.hero-text-gradient {
  background: linear-gradient(to right, white, white, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Button styles */
.btn-teal {
  background-color: var(--cyber-teal);
  color: white;
}

.btn-teal:hover {
  background-color: rgba(15, 213, 198, 0.9);
}

.btn-blue {
  background-color: var(--cyber-blue);
  color: white;
}

.btn-blue:hover {
  background-color: rgba(26, 117, 255, 0.9);
}

.btn-white {
  background-color: white;
  color: var(--cyber-blue);
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.btn-outline-white {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline-blue {
  background-color: transparent;
  border: 1px solid var(--cyber-blue);
  color: var(--cyber-blue);
}

.dark .btn-outline-blue {
  border-color: var(--cyber-accent);
  color: var(--cyber-accent);
}

.btn-outline-blue:hover {
  background-color: rgba(26, 117, 255, 0.1);
}

.dark .btn-outline-blue:hover {
  background-color: rgba(56, 191, 248, 0.1);
}

/* Card styles */
.animated-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  transition: all 0.5s;
  padding: 1.5rem;
  height: 100%;
}

.animated-card.light {
  background-color: white;
  color: var(--cyber-dark);
}

.animated-card.dark {
  background-color: var(--cyber-dark-blue);
  color: white;
}

.animated-card:hover {
  box-shadow: 0 0 25px rgba(56, 191, 248, 0.3);
}

.animated-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  padding: 2px;
  background: linear-gradient(to right, rgba(56, 191, 248, 0.3), rgba(15, 213, 198, 0.3), rgba(56, 191, 248, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.animated-card:hover::before {
  opacity: 1;
}

/* Testimonial card */
.testimonial-card {
  background-color: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.dark .testimonial-card {
  background-color: rgba(8, 17, 48, 0.7);
}

/* Navigation styles */
#main-header {
  color: #fff;
  transition: all 0.3s ease;
}

#main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #000;

}

#main-header .text-white {
  color: #000000 !important;
}

#main-header .dark\:text-white:is(.dark *) {
    --tw-text-opacity: 1;
    color: #000000;
}

.dark #main-header.scrolled {
  /* background-color: rgba(8, 17, 48, 0.95);
  color: #fff; */
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--cyber-accent);
  transition: all 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu */
#mobile-menu-button {
  width: 24px;
  height: 24px;
  position: relative;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  background-color: currentColor;
  position: absolute;
  height: 2px;
  width: 24px;
  transition: transform 0.3s;
}

.menu-icon {
  top: 11px;
}

.menu-icon::before {
  content: '';
  top: -8px;
}

.menu-icon::after {
  content: '';
  top: 8px;
}

#mobile-menu-button.active .menu-icon {
  transform: rotate(45deg);
}

#mobile-menu-button.active .menu-icon::before {
  transform: rotate(90deg) translate(8px, 0);
}

#mobile-menu-button.active .menu-icon::after {
  transform: rotate(90deg) translate(-8px, 0);
}

#mobile-menu .container{
  background-color: white;
    height: 95vh;
    overflow: auto;
}
 
/* Icons */
.icon-shield,
.icon-cloud,
.icon-server,
.icon-smartphone,
.icon-network,
.icon-lock,
.icon-eye,
.icon-rocket,
.icon-file-search,
.icon-pencil,
.icon-settings,
.icon-map-pin,
.icon-mail,
.icon-phone,
.icon-arrow-right,
.chevron-right-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: none;
  vertical-align: middle;
}

.chevron-right-icon::before {
  content: '';
  display: block;
  width: 0.5em;
  height: 0.5em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.check-icon::before {
  content: '';
  display: block;
  width: 0.5em;
  height: 0.3em;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  position: relative;
  top: 0.1em;
  left: 0.1em;
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s forwards;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 20s linear infinite;
}

/* Carousel indicators */
.carousel-indicator {
  height: 0.5rem;
  border-radius: 9999px;
  transition: all 0.3s;
  background-color: rgba(255, 255, 255, 0.3);
  width: 0.5rem;
}

.carousel-indicator.active {
  width: 2rem;
  background-color: var(--cyber-accent);
}

/* Dark mode compatibility */
@media (prefers-color-scheme: dark) {
  body {
    background-color: var(--cyber-dark);
    color: var(--cyber-light);
  }
}


.head-banner .hero-video{
  height: 400px;
}

.bg-theme{
  background-color: #f3f8ff;
}