/* Custom CSS for WEBFORWARD Website */

/* Root Variables */
:root {
  --gradient-main: linear-gradient(135deg, #9333ea 0%, #10b981 100%);
  --gradient-purple: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
  --gradient-green: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

/* Global Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

/* Backdrop Blur Effect */
.backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient Buttons */
.btn-gradient {
  background: var(--gradient-main);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #059669 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Service Cards */
.service-card {
  transition: all 0.3s ease;
  border-color: transparent !important;
}

.service-card:hover {
  border-color: rgba(147, 51, 234, 0.2) !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 48px;
  height: 48px;
}

.bg-gradient-purple {
  background: var(--gradient-purple);
}

.bg-gradient-green {
  background: var(--gradient-green);
}

.bg-gradient-blue {
  background: var(--gradient-blue);
}

.bg-gradient-main {
  background: var(--gradient-main);
}

/* Feature Icons */
.feature-icon {
  width: 24px;
  height: 24px;
}

.dot {
  width: 8px;
  height: 8px;
}

/* Contact Icons */
.contact-icon {
  width: 48px;
  height: 48px;
}

/* Testimonial Card */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

/* Filter Invert for Logo */
.filter-invert {
  filter: brightness(0) invert(1);
}

/* Form Styles */
.form-control:focus {
  border-color: #9333ea;
  box-shadow: 0 0 0 0.2rem rgba(147, 51, 234, 0.25);
}

/* Parallax Background */
#parallax-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Circuit Elements */
.circuit-trace {
  background: rgba(16, 185, 129, 0.4);
  position: absolute;
}

.circuit-component {
  position: absolute;
  opacity: 0.7;
}

.resistor {
  background: rgba(16, 185, 129, 0.6);
  border: 1px solid rgba(16, 185, 129, 0.8);
  border-radius: 2px;
}

.capacitor-plate {
  background: rgba(16, 185, 129, 0.7);
  border-radius: 1px;
}

.ic-chip {
  background: rgba(5, 150, 105, 0.7);
  border: 2px solid rgba(16, 185, 129, 0.8);
  border-radius: 2px;
  color: rgba(16, 185, 129, 0.6);
  font-family: "Courier New", monospace;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ic-pin {
  background: rgba(16, 185, 129, 0.7);
}

.connection-node {
  background: rgba(16, 185, 129, 0.8);
  border-radius: 50%;
}

.circuit-pulse {
  background: #10b981;
  border-radius: 50px;
}

/* Animations */
@keyframes slideRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(200px);
    opacity: 0;
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(100px);
    opacity: 0;
  }
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
  }

  .display-3 {
    font-size: 2.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Section Spacing */
section {
  position: relative;
  z-index: 1;
}
