/* HERO SECTION */
#hero {
  position: relative;
  height: 100%;
  color: white;
  background: black;
  overflow: hidden;
}
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: auto;
  text-align: center;
  padding-top: 120px;
}
.hero-content h1 {
  font-size: 3rem;
  color: #00f0ff;
  margin-bottom: 20px;
}
.typewriter-text {
  font-size: 3rem;
  color: #00f0ff;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #00f0ff;
  display: inline-block;
  animation: blink-caret 0.7s step-end infinite;
}
@keyframes blink-caret {
  0%, 100% { border-color: transparent; }
  50% { border-color: #00f0ff; }
}
.fade-in-delay {
  transform: translateY(30px);
  opacity: 0;
  transition: all 1s ease-out;
}

@keyframes typing {
  0% { width: 0; }
  100% { width: 100%; }
}

.hero-sub {
  font-size: 1.2rem;
  margin: 15px 0;
}
.hero-highlights {
  list-style: none;
  margin: 20px auto;
  padding: 0;
}
.hero-highlights li {
  font-size: 1rem;
  margin: 10px 0;
}
.hero-buttons {
  margin-top: 30px;
}
.btn {
  padding: 12px 25px;
  margin: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background-color: #00f0ff;
  color: #000;
}
.btn-secondary {
  background-color: #001d3d;
  color: #fff;
  border: 2px solid #00f0ff;
}

/* SERVICES */
#services {
  background: #0d0d0d;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
}
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}
.service-card {
  perspective: 1000px;
}
.card-inner {
  transition: transform 0.8s;
  transform-style: preserve-3d;
  position: relative;
  height: 260px;
}
.service-card:hover .card-inner {
  transform: rotateY(180deg);
}
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: #001d3d;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card-back {
  transform: rotateY(180deg);
}
.service-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #00f0ff;
}

/* Animations */
.animate-in {
  animation: fadeInUp 1.3s ease-in-out forwards;
}
.animate-card {
  animation: zoomIn 1s ease-in-out forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}



/* === Section Titles === */
.section-heading {
  font-size: 2.8rem;
  text-align: center;
  color: #00f0ff;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.section-heading.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === WHY CHOOSE Cube === */
#why-absolve {
  background: #000;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}
.cube-container {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  position: relative;
}
.cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(30deg) rotateY(30deg);
  animation: rotateCube 15s infinite linear;
}
.cube-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,240,255,0.3), transparent);
  border-radius: 50%;
  z-index: 0;
}
.face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: #001d3d;
  color: #fff;
  border: 2px solid #00f0ff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
}
.front  { transform: translateZ(100px); }
.back   { transform: rotateY(180deg) translateZ(100px); }
.right  { transform: rotateY(90deg) translateZ(100px); }
.left   { transform: rotateY(-90deg) translateZ(100px); }
.top    { transform: rotateX(90deg) translateZ(100px); }
.bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes rotateCube {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* === Testimonials Section === */
#testimonials {
  background: linear-gradient(to right, #000, #001d3d);
  padding: 100px 20px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.testimonial-slider {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}
.testimonial {
  background: #0e0e0e;
  border: 1px solid #00f0ff;
  padding: 30px 25px;
  width: 300px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  opacity: 0;
  transform: scale(0.9);
  transition: all 1s ease;
}
.testimonial.visible {
  opacity: 1;
  transform: scale(1);
}
.client-info {
  margin-top: 15px;
  font-style: italic;
  color: #00f0ff;
}

/* === Scroll Reveal Animations === */
.animate-title, .animate-cube, .animate-panel {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}
.animate-title.visible,
.animate-cube.visible,
.animate-panel.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============ SECTION 5 ============ */
#edge {
  background: linear-gradient(145deg, #0a0a0a, #000000);
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-heading {
  font-size: 2.8rem;
  color: #00f0ff;
  margin-bottom: 60px;
  animation: slideInDown 1.2s ease forwards;
}
.pyramid-container {
  perspective: 1200px;
}
.pyramid {
  width: 200px;
  height: 200px;
  margin: auto;
  position: relative;
  transform-style: preserve-3d;
  animation: spin 10s linear infinite;
}
.face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(0, 240, 255, 0.12);
  border: 2px solid #00f0ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  backdrop-filter: blur(5px);
}
.front  { transform: rotateY(0deg) translateZ(100px); }
.back   { transform: rotateY(180deg) translateZ(100px); }
.left   { transform: rotateY(-90deg) translateZ(100px); }
.right  { transform: rotateY(90deg) translateZ(100px); }
.bottom { transform: rotateX(90deg) translateZ(100px); }

@keyframes spin {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to { transform: rotateX(360deg) rotateY(360deg); }
}

/* ============ SECTION 6 ============ */
#industries {
  background: #050505;
  padding: 100px 20px;
  text-align: center;
}
.industries-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 10px;
  scroll-snap-type: x mandatory;
}
.industry-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  padding: 30px;
  background: #001d3d;
  color: #00f0ff;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,240,255,0.4);
  transition: transform 0.3s ease;
  min-width: 200px;
}
.industry-card:hover {
  transform: scale(1.05);
}
.glow {
  animation: pulse-glow 2s infinite ease-in-out;
}
@keyframes pulse-glow {
  0% { box-shadow: 0 0 10px rgba(0,240,255,0.3); }
  50% { box-shadow: 0 0 25px rgba(0,240,255,0.6); }
  100% { box-shadow: 0 0 10px rgba(0,240,255,0.3); }
}

/* ============ SECTION 7 ============ */
#cta {
  background: #000;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-heading {
  font-size: 3rem;
  color: #00f0ff;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
}
#cta p {
  color: #ccc;
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.btn-cta {
  padding: 12px 30px;
  background: #00f0ff;
  color: #000;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  animation: bounceIn 1.5s ease forwards;
}
.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #00f0ff11 0%, #000 80%);
  z-index: 1;
  pointer-events: none;
  animation: waveBackground 6s ease-in-out infinite;
}
@keyframes waveBackground {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
}
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounceIn {
  0%   { transform: scale(0.8); opacity: 0; }
  50%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}
