/* === RESET & VARIABLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ff4757;        /* Engitech Coral/Red */
  --primary-dark: #e04050;
  --dark: #0f1014;           /* Deep Dark Background */
  --dark-light: #1a1c23;     /* Slightly Lighter Dark */
  --text: #ffffff;
  --text-gray: #b0b0b0;
  --gray: #2a2d35;
  --light: #f8f9fa;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.btn-light {
  background: white;
  color: var(--primary);
}

.btn-light:hover {
  background: var(--dark);
  color: white;
  transform: translateY(-3px);
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 16, 20, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  padding: 15px 0;
  background: rgba(15, 16, 20, 0.98);
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--primary);
}

.logo span {
  color: var(--primary);
}

.nav-menu ul {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-menu li a {
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 5px 0;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

.nav-menu li a:hover {
  color: var(--primary);
}

.header-actions {
  margin-left: 30px;
}

.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* === HERO SECTION === */
.hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ff4757" stroke-width="0.5" opacity="0.3"/></svg>') repeat;
  background-size: 100px;
  opacity: 0.1;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 71, 87, 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.1;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 550px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 50px;
}

.stat-item h3 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-item p {
  color: var(--text-gray);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image {
  flex: 1;
  position: relative;
  z-index: 1;
}

.img-placeholder {
  width: 100%;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  color: var(--primary);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.c1 { width: 200px; height: 200px; top: -50px; left: -50px; }
.c2 { width: 150px; height: 150px; bottom: -50px; right: -50px; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* === SERVICES SECTION === */
.services {
  padding: 100px 0;
  background: var(--dark-light);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  display: inline-block;
  background: rgba(255, 71, 87, 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--dark);
  padding: 40px 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 71, 87, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 30px;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: white;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link i {
  transition: transform 0.3s;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* === ABOUT SECTION === */
.about {
  padding: 100px 0;
  background: var(--dark);
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 1;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 42px;
  margin-bottom: 25px;
}

.about-content p {
  color: var(--text-gray);
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-item i {
  color: var(--primary);
  font-size: 20px;
}

.feature-item span {
  font-weight: 500;
}

/* === CTA SECTION === */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: white;
}

.cta h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === FOOTER === */
.footer {
  background: var(--dark-light);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-about p {
  color: var(--text-gray);
  margin: 20px 0;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer h4 {
  font-size: 18px;
  margin-bottom: 25px;
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-gray);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  color: var(--text-gray);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-gray);
  font-size: 14px;
}

/* === ANIMATION CLASSES === */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background: rgba(15, 16, 20, 0.98);
    padding: 40px;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .header-actions {
    display: none;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    flex-direction: column;
  }

  .about-image, .about-content {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* ===== HERO SECTION ENHANCEMENTS ===== */

/* Hero Canvas Background */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

/* Particle Styles */
.hero-canvas {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

/* Video Showcase Button */
.video-showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: rgba(102, 51, 238, 0.15);
  border: 2px solid #6633ee;
  border-radius: 50px;
  color: #6633ee;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.video-showcase-btn .play-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(102, 51, 238, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.video-showcase-btn:hover {
  background: rgba(102, 51, 238, 0.25);
  border-color: #8040ff;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(102, 51, 238, 0.3);
}

.video-showcase-btn:active {
  transform: translateY(-1px);
}

/* Pulse Animation for Video Button */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 51, 238, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(102, 51, 238, 0);
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(102, 51, 238, 0);
    transform: scale(1);
  }
}

/* Geometric Shapes */
.geometric-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #6633ee, #00d4ff);
  top: -50px;
  right: -50px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #00d4ff, #6633ee);
  bottom: 100px;
  left: -30px;
  animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(5deg);
  }
  66% {
    transform: translateY(10px) rotate(-5deg);
  }
}

/* Floating Service Cards */
.floating-cards {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 10;
  pointer-events: none;
}

.floating-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 25px 35px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  text-align: center;
  animation: float-card 4s ease-in-out infinite;
  pointer-events: auto;
  border: 1px solid rgba(102, 51, 238, 0.2);
  max-width: 280px;
}

.floating-card .card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.floating-card h3 {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.floating-card.card-1 {
  animation-delay: 0s;
}

.floating-card.card-2 {
  animation-delay: 1.5s;
}

.floating-card.card-3 {
  animation-delay: 3s;
}

@keyframes float-card {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-cards {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .floating-card {
    max-width: 90%;
  }
}/* =========================================
   VISUAL EFFECTS PACK FOR HERO SECTION
   ========================================= */

/* 1. Purple/Blue Gradient Overlays */
.hero {
  position: relative;
  overflow: hidden;
}

/* Main Gradient Overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(102, 51, 238, 0.15) 0%, 
    rgba(0, 212, 255, 0.1) 50%, 
    rgba(102, 51, 238, 0.05) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Secondary Gradient Angle */
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(
    circle, 
    rgba(102, 51, 238, 0.08) 0%, 
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
  animation: gradientFloat 15s ease-in-out infinite;
}

@keyframes gradientFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 30px) scale(1.1); }
}

/* 2. Geometric Shape Overlays (Hexagons & Circles) */
.hero-geometric-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.shape-hexagon {
  position: absolute;
  width: 100px;
  height: 115px;
  background: rgba(102, 51, 238, 0.03);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation: floatShape 10s ease-in-out infinite;
}

.shape-hexagon:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.shape-hexagon:nth-child(2) { top: 60%; right: 15%; animation-delay: 2s; width: 150px; height: 172px; }
.shape-hexagon:nth-child(3) { bottom: 20%; left: 25%; animation-delay: 4s; width: 80px; height: 92px; }

.shape-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid rgba(0, 212, 255, 0.1);
  animation: floatShape 12s ease-in-out infinite reverse;
}

.shape-circle:nth-child(4) { top: 30%; right: 5%; width: 200px; height: 200px; animation-delay: 1s; }
.shape-circle:nth-child(5) { bottom: 10%; left: 5%; width: 120px; height: 120px; animation-delay: 3s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-20px) rotate(5deg); opacity: 0.6; }
}

/* 3. Subtle Animated Background Patterns */
.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  opacity: 0.4;
  animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

/* 4. Glassmorphism Effects on Cards */
.floating-card, 
.video-showcase-btn {
  background: rgba(255, 255, 255, 0.05); /* Low opacity for glass effect */
  backdrop-filter: blur(12px); /* The blur magic */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
  box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05); /* Inner highlight */
}

/* Enhanced Glassmorphism for Video Button */
.video-showcase-btn {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(102, 51, 238, 0.3);
  transition: all 0.4s ease;
}

.video-showcase-btn:hover {
  background: linear-gradient(
    135deg, 
    rgba(102, 51, 238, 0.2) 0%, 
    rgba(0, 212, 255, 0.15) 100%
  );
  border-color: rgba(102, 51, 238, 0.6);
  box-shadow: 
    0 15px 40px rgba(102, 51, 238, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Glassmorphism for Floating Cards */
.floating-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 25px 30px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.floating-card:hover {
  transform: translateY(-10px) !important; /* Override float animation on hover */
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* 5. Content Layer Adjustment */
.hero-content {
  position: relative;
  z-index: 10; /* Ensure content sits above effects */
}

.floating-cards {
  z-index: 15; /* Cards sit above everything */
}